AWS SDK for C++  1.9.154
AWS SDK for C++
Template.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SESV2
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
49  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
50 
56  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
57 
63  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
64 
70  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
71 
77  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
78 
84  inline Template& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
85 
91  inline Template& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
92 
98  inline Template& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
99 
100 
104  inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
105 
109  inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
110 
114  inline void SetTemplateArn(const Aws::String& value) { m_templateArnHasBeenSet = true; m_templateArn = value; }
115 
119  inline void SetTemplateArn(Aws::String&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::move(value); }
120 
124  inline void SetTemplateArn(const char* value) { m_templateArnHasBeenSet = true; m_templateArn.assign(value); }
125 
129  inline Template& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
130 
134  inline Template& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
135 
139  inline Template& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
140 
141 
148  inline const Aws::String& GetTemplateData() const{ return m_templateData; }
149 
156  inline bool TemplateDataHasBeenSet() const { return m_templateDataHasBeenSet; }
157 
164  inline void SetTemplateData(const Aws::String& value) { m_templateDataHasBeenSet = true; m_templateData = value; }
165 
172  inline void SetTemplateData(Aws::String&& value) { m_templateDataHasBeenSet = true; m_templateData = std::move(value); }
173 
180  inline void SetTemplateData(const char* value) { m_templateDataHasBeenSet = true; m_templateData.assign(value); }
181 
188  inline Template& WithTemplateData(const Aws::String& value) { SetTemplateData(value); return *this;}
189 
196  inline Template& WithTemplateData(Aws::String&& value) { SetTemplateData(std::move(value)); return *this;}
197 
204  inline Template& WithTemplateData(const char* value) { SetTemplateData(value); return *this;}
205 
206  private:
207 
208  Aws::String m_templateName;
209  bool m_templateNameHasBeenSet;
210 
211  Aws::String m_templateArn;
212  bool m_templateArnHasBeenSet;
213 
214  Aws::String m_templateData;
215  bool m_templateDataHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace SESV2
220 } // namespace Aws
Aws::SESV2::Model::Template::WithTemplateName
Template & WithTemplateName(const char *value)
Definition: Template.h:98
Aws::SESV2::Model::Template::SetTemplateData
void SetTemplateData(const Aws::String &value)
Definition: Template.h:164
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::Template::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: Template.h:56
Aws::SESV2::Model::Template::SetTemplateArn
void SetTemplateArn(Aws::String &&value)
Definition: Template.h:119
Aws::SESV2::Model::Template::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: Template.h:49
Aws::SESV2::Model::Template::Template
Template(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::Template::GetTemplateArn
const Aws::String & GetTemplateArn() const
Definition: Template.h:104
Aws::SESV2::Model::Template::SetTemplateArn
void SetTemplateArn(const char *value)
Definition: Template.h:124
Aws::SESV2::Model::Template::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::Template::Template
Template()
Aws::SESV2::Model::Template::GetTemplateData
const Aws::String & GetTemplateData() const
Definition: Template.h:148
Aws::SESV2::Model::Template::SetTemplateArn
void SetTemplateArn(const Aws::String &value)
Definition: Template.h:114
Aws::SESV2::Model::Template::WithTemplateName
Template & WithTemplateName(Aws::String &&value)
Definition: Template.h:91
Aws::SESV2::Model::Template::TemplateDataHasBeenSet
bool TemplateDataHasBeenSet() const
Definition: Template.h:156
Aws::SESV2::Model::Template::SetTemplateName
void SetTemplateName(const char *value)
Definition: Template.h:77
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::Template
Definition: Template.h:36
SESV2_EXPORTS.h
Aws::SESV2::Model::Template::WithTemplateArn
Template & WithTemplateArn(Aws::String &&value)
Definition: Template.h:134
Aws::SESV2::Model::Template::WithTemplateName
Template & WithTemplateName(const Aws::String &value)
Definition: Template.h:84
Aws::SESV2::Model::Template::WithTemplateData
Template & WithTemplateData(const char *value)
Definition: Template.h:204
Aws::SESV2::Model::Template::TemplateArnHasBeenSet
bool TemplateArnHasBeenSet() const
Definition: Template.h:109
Aws::SESV2::Model::Template::SetTemplateData
void SetTemplateData(const char *value)
Definition: Template.h:180
Aws::SESV2::Model::Template::SetTemplateData
void SetTemplateData(Aws::String &&value)
Definition: Template.h:172
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::Template::WithTemplateData
Template & WithTemplateData(const Aws::String &value)
Definition: Template.h:188
Aws::SESV2::Model::Template::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: Template.h:63
Aws::SESV2::Model::Template::WithTemplateData
Template & WithTemplateData(Aws::String &&value)
Definition: Template.h:196
Aws::SESV2::Model::Template::WithTemplateArn
Template & WithTemplateArn(const Aws::String &value)
Definition: Template.h:129
Aws::SESV2::Model::Template::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: Template.h:70
Aws::SESV2::Model::Template::operator=
Template & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::Template::WithTemplateArn
Template & WithTemplateArn(const char *value)
Definition: Template.h:139