AWS SDK for C++  1.8.129
AWS SDK for C++
TestRenderTemplateResult.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 
40  inline const Aws::String& GetRenderedTemplate() const{ return m_renderedTemplate; }
41 
46  inline void SetRenderedTemplate(const Aws::String& value) { m_renderedTemplate = value; }
47 
52  inline void SetRenderedTemplate(Aws::String&& value) { m_renderedTemplate = std::move(value); }
53 
58  inline void SetRenderedTemplate(const char* value) { m_renderedTemplate.assign(value); }
59 
64  inline TestRenderTemplateResult& WithRenderedTemplate(const Aws::String& value) { SetRenderedTemplate(value); return *this;}
65 
70  inline TestRenderTemplateResult& WithRenderedTemplate(Aws::String&& value) { SetRenderedTemplate(std::move(value)); return *this;}
71 
76  inline TestRenderTemplateResult& WithRenderedTemplate(const char* value) { SetRenderedTemplate(value); return *this;}
77 
78 
79 
80  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
81 
82 
83  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
84 
85 
86  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
87 
88 
89  inline TestRenderTemplateResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
90 
91 
92  inline TestRenderTemplateResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
93 
94  private:
95 
96  Aws::String m_renderedTemplate;
97 
98  ResponseMetadata m_responseMetadata;
99  };
100 
101 } // namespace Model
102 } // namespace SES
103 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::TestRenderTemplateResult::operator=
TestRenderTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SES::Model::TestRenderTemplateResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: TestRenderTemplateResult.h:80
Aws::SES::Model::TestRenderTemplateResult::WithResponseMetadata
TestRenderTemplateResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: TestRenderTemplateResult.h:89
Aws::SES::Model::TestRenderTemplateResult::TestRenderTemplateResult
TestRenderTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::TestRenderTemplateResult::WithRenderedTemplate
TestRenderTemplateResult & WithRenderedTemplate(const char *value)
Definition: TestRenderTemplateResult.h:76
Aws::SES::Model::TestRenderTemplateResult::GetRenderedTemplate
const Aws::String & GetRenderedTemplate() const
Definition: TestRenderTemplateResult.h:40
Aws::SES::Model::TestRenderTemplateResult::SetRenderedTemplate
void SetRenderedTemplate(Aws::String &&value)
Definition: TestRenderTemplateResult.h:52
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::TestRenderTemplateResult::WithRenderedTemplate
TestRenderTemplateResult & WithRenderedTemplate(Aws::String &&value)
Definition: TestRenderTemplateResult.h:70
Aws::SES::Model::TestRenderTemplateResult::SetRenderedTemplate
void SetRenderedTemplate(const Aws::String &value)
Definition: TestRenderTemplateResult.h:46
Aws::SES::Model::TestRenderTemplateResult::WithResponseMetadata
TestRenderTemplateResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: TestRenderTemplateResult.h:92
Aws::SES::Model::TestRenderTemplateResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: TestRenderTemplateResult.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::TestRenderTemplateResult::SetRenderedTemplate
void SetRenderedTemplate(const char *value)
Definition: TestRenderTemplateResult.h:58
Aws::SES::Model::TestRenderTemplateResult::TestRenderTemplateResult
TestRenderTemplateResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::SES::Model::TestRenderTemplateResult
Definition: TestRenderTemplateResult.h:29
Aws::SES::Model::TestRenderTemplateResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: TestRenderTemplateResult.h:83
Aws::SES::Model::TestRenderTemplateResult::WithRenderedTemplate
TestRenderTemplateResult & WithRenderedTemplate(const Aws::String &value)
Definition: TestRenderTemplateResult.h:64