AWS SDK for C++  1.9.155
AWS SDK for C++
GetEmailTemplateResult.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 Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace SESV2
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
46 
50  inline void SetTemplateName(const Aws::String& value) { m_templateName = value; }
51 
55  inline void SetTemplateName(Aws::String&& value) { m_templateName = std::move(value); }
56 
60  inline void SetTemplateName(const char* value) { m_templateName.assign(value); }
61 
65  inline GetEmailTemplateResult& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
66 
70  inline GetEmailTemplateResult& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
71 
75  inline GetEmailTemplateResult& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
76 
77 
82  inline const EmailTemplateContent& GetTemplateContent() const{ return m_templateContent; }
83 
88  inline void SetTemplateContent(const EmailTemplateContent& value) { m_templateContent = value; }
89 
94  inline void SetTemplateContent(EmailTemplateContent&& value) { m_templateContent = std::move(value); }
95 
100  inline GetEmailTemplateResult& WithTemplateContent(const EmailTemplateContent& value) { SetTemplateContent(value); return *this;}
101 
106  inline GetEmailTemplateResult& WithTemplateContent(EmailTemplateContent&& value) { SetTemplateContent(std::move(value)); return *this;}
107 
108  private:
109 
110  Aws::String m_templateName;
111 
112  EmailTemplateContent m_templateContent;
113  };
114 
115 } // namespace Model
116 } // namespace SESV2
117 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::EmailTemplateContent
Definition: EmailTemplateContent.h:33
Aws::SESV2::Model::GetEmailTemplateResult::WithTemplateName
GetEmailTemplateResult & WithTemplateName(const char *value)
Definition: GetEmailTemplateResult.h:75
Aws::SESV2::Model::GetEmailTemplateResult::WithTemplateName
GetEmailTemplateResult & WithTemplateName(Aws::String &&value)
Definition: GetEmailTemplateResult.h:70
Aws::SESV2::Model::GetEmailTemplateResult::GetEmailTemplateResult
GetEmailTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::GetEmailTemplateResult::WithTemplateContent
GetEmailTemplateResult & WithTemplateContent(const EmailTemplateContent &value)
Definition: GetEmailTemplateResult.h:100
Aws::SESV2::Model::GetEmailTemplateResult::SetTemplateName
void SetTemplateName(const char *value)
Definition: GetEmailTemplateResult.h:60
Aws::SESV2::Model::GetEmailTemplateResult::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: GetEmailTemplateResult.h:50
Aws::SESV2::Model::GetEmailTemplateResult::SetTemplateContent
void SetTemplateContent(const EmailTemplateContent &value)
Definition: GetEmailTemplateResult.h:88
Aws::SESV2::Model::GetEmailTemplateResult::WithTemplateName
GetEmailTemplateResult & WithTemplateName(const Aws::String &value)
Definition: GetEmailTemplateResult.h:65
Aws::SESV2::Model::GetEmailTemplateResult::GetTemplateContent
const EmailTemplateContent & GetTemplateContent() const
Definition: GetEmailTemplateResult.h:82
Aws::SESV2::Model::GetEmailTemplateResult::SetTemplateContent
void SetTemplateContent(EmailTemplateContent &&value)
Definition: GetEmailTemplateResult.h:94
EmailTemplateContent.h
AWSString.h
SESV2_EXPORTS.h
Aws::SESV2::Model::GetEmailTemplateResult
Definition: GetEmailTemplateResult.h:35
Aws::SESV2::Model::GetEmailTemplateResult::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: GetEmailTemplateResult.h:45
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::GetEmailTemplateResult::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: GetEmailTemplateResult.h:55
Aws::SESV2::Model::GetEmailTemplateResult::operator=
GetEmailTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::GetEmailTemplateResult::WithTemplateContent
GetEmailTemplateResult & WithTemplateContent(EmailTemplateContent &&value)
Definition: GetEmailTemplateResult.h:106
Aws::SESV2::Model::GetEmailTemplateResult::GetEmailTemplateResult
GetEmailTemplateResult()