AWS SDK for C++  1.9.159
AWS SDK for C++
BulkEmailContent.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 
33  {
34  public:
39 
40 
44  inline const Template& GetTemplate() const{ return m_template; }
45 
49  inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
50 
54  inline void SetTemplate(const Template& value) { m_templateHasBeenSet = true; m_template = value; }
55 
59  inline void SetTemplate(Template&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
60 
64  inline BulkEmailContent& WithTemplate(const Template& value) { SetTemplate(value); return *this;}
65 
69  inline BulkEmailContent& WithTemplate(Template&& value) { SetTemplate(std::move(value)); return *this;}
70 
71  private:
72 
73  Template m_template;
74  bool m_templateHasBeenSet;
75  };
76 
77 } // namespace Model
78 } // namespace SESV2
79 } // namespace Aws
Aws::SESV2::Model::BulkEmailContent::GetTemplate
const Template & GetTemplate() const
Definition: BulkEmailContent.h:44
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::BulkEmailContent
Definition: BulkEmailContent.h:33
Aws::SESV2::Model::BulkEmailContent::WithTemplate
BulkEmailContent & WithTemplate(Template &&value)
Definition: BulkEmailContent.h:69
Aws::SESV2::Model::BulkEmailContent::operator=
BulkEmailContent & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::BulkEmailContent::SetTemplate
void SetTemplate(const Template &value)
Definition: BulkEmailContent.h:54
Aws::SESV2::Model::BulkEmailContent::BulkEmailContent
BulkEmailContent()
Aws::SESV2::Model::BulkEmailContent::TemplateHasBeenSet
bool TemplateHasBeenSet() const
Definition: BulkEmailContent.h:49
Aws::SESV2::Model::BulkEmailContent::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::Template
Definition: Template.h:36
SESV2_EXPORTS.h
Template.h
Aws::SESV2::Model::BulkEmailContent::SetTemplate
void SetTemplate(Template &&value)
Definition: BulkEmailContent.h:59
Aws::SESV2::Model::BulkEmailContent::WithTemplate
BulkEmailContent & WithTemplate(const Template &value)
Definition: BulkEmailContent.h:64
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::BulkEmailContent::BulkEmailContent
BulkEmailContent(Aws::Utils::Json::JsonView jsonValue)