1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/email/SES_EXPORTS.h> 8 #include <aws/email/model/ResponseMetadata.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Xml 19 { 20 class XmlDocument; 21 } // namespace Xml 22 } // namespace Utils 23 namespace SES 24 { 25 namespace Model 26 { 27 class AWS_SES_API UpdateTemplateResult 28 { 29 public: 30 UpdateTemplateResult(); 31 UpdateTemplateResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 32 UpdateTemplateResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 33 34 35 GetResponseMetadata()36 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } 37 38 SetResponseMetadata(const ResponseMetadata & value)39 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } 40 41 SetResponseMetadata(ResponseMetadata && value)42 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } 43 44 WithResponseMetadata(const ResponseMetadata & value)45 inline UpdateTemplateResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} 46 47 WithResponseMetadata(ResponseMetadata && value)48 inline UpdateTemplateResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} 49 50 private: 51 52 ResponseMetadata m_responseMetadata; 53 }; 54 55 } // namespace Model 56 } // namespace SES 57 } // namespace Aws 58