AWS SDK for C++  1.8.128
AWS SDK for C++
GetTemplateResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace SES
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
36 
37  inline const Template& GetTemplate() const{ return m_template; }
38 
39 
40  inline void SetTemplate(const Template& value) { m_template = value; }
41 
42 
43  inline void SetTemplate(Template&& value) { m_template = std::move(value); }
44 
45 
46  inline GetTemplateResult& WithTemplate(const Template& value) { SetTemplate(value); return *this;}
47 
48 
49  inline GetTemplateResult& WithTemplate(Template&& value) { SetTemplate(std::move(value)); return *this;}
50 
51 
52 
53  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
54 
55 
56  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
57 
58 
59  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
60 
61 
62  inline GetTemplateResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
63 
64 
65  inline GetTemplateResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
66 
67  private:
68 
69  Template m_template;
70 
71  ResponseMetadata m_responseMetadata;
72  };
73 
74 } // namespace Model
75 } // namespace SES
76 } // namespace Aws
Aws::SES::Model::GetTemplateResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetTemplateResult.h:59
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::Template
Definition: Template.h:33
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SES::Model::GetTemplateResult::WithTemplate
GetTemplateResult & WithTemplate(const Template &value)
Definition: GetTemplateResult.h:46
Aws::SES::Model::GetTemplateResult::WithResponseMetadata
GetTemplateResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetTemplateResult.h:65
Aws::SES::Model::GetTemplateResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetTemplateResult.h:56
Aws::SES::Model::GetTemplateResult::GetTemplateResult
GetTemplateResult()
Aws::SES::Model::GetTemplateResult
Definition: GetTemplateResult.h:29
Aws::SES::Model::GetTemplateResult::WithTemplate
GetTemplateResult & WithTemplate(Template &&value)
Definition: GetTemplateResult.h:49
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::GetTemplateResult::SetTemplate
void SetTemplate(Template &&value)
Definition: GetTemplateResult.h:43
Aws::SES::Model::GetTemplateResult::GetTemplate
const Template & GetTemplate() const
Definition: GetTemplateResult.h:37
Aws::SES::Model::GetTemplateResult::operator=
GetTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Template.h
Aws::SES::Model::GetTemplateResult::SetTemplate
void SetTemplate(const Template &value)
Definition: GetTemplateResult.h:40
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::SES::Model::GetTemplateResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetTemplateResult.h:53
Aws::SES::Model::GetTemplateResult::WithResponseMetadata
GetTemplateResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetTemplateResult.h:62
Aws::SES::Model::GetTemplateResult::GetTemplateResult
GetTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)