AWS SDK for C++  1.9.156
AWS SDK for C++
EmailTemplateMetadata.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SESV2
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
45 
49  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
50 
54  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
55 
59  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
60 
64  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
65 
69  inline EmailTemplateMetadata& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
70 
74  inline EmailTemplateMetadata& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
75 
79  inline EmailTemplateMetadata& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
80 
81 
85  inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
86 
90  inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
91 
95  inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
96 
100  inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
101 
105  inline EmailTemplateMetadata& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
106 
110  inline EmailTemplateMetadata& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
111 
112  private:
113 
114  Aws::String m_templateName;
115  bool m_templateNameHasBeenSet;
116 
117  Aws::Utils::DateTime m_createdTimestamp;
118  bool m_createdTimestampHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace SESV2
123 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SESV2::Model::EmailTemplateMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::EmailTemplateMetadata::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: EmailTemplateMetadata.h:44
Aws::SESV2::Model::EmailTemplateMetadata::WithCreatedTimestamp
EmailTemplateMetadata & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition: EmailTemplateMetadata.h:105
Aws::SESV2::Model::EmailTemplateMetadata::SetCreatedTimestamp
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition: EmailTemplateMetadata.h:100
Aws::SESV2::Model::EmailTemplateMetadata::EmailTemplateMetadata
EmailTemplateMetadata()
DateTime.h
Aws::SESV2::Model::EmailTemplateMetadata
Definition: EmailTemplateMetadata.h:33
Aws::SESV2::Model::EmailTemplateMetadata::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: EmailTemplateMetadata.h:49
Aws::SESV2::Model::EmailTemplateMetadata::EmailTemplateMetadata
EmailTemplateMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::EmailTemplateMetadata::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: EmailTemplateMetadata.h:59
Aws::SESV2::Model::EmailTemplateMetadata::WithTemplateName
EmailTemplateMetadata & WithTemplateName(Aws::String &&value)
Definition: EmailTemplateMetadata.h:74
Aws::SESV2::Model::EmailTemplateMetadata::SetCreatedTimestamp
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition: EmailTemplateMetadata.h:95
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::EmailTemplateMetadata::operator=
EmailTemplateMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
SESV2_EXPORTS.h
Aws::SESV2::Model::EmailTemplateMetadata::WithCreatedTimestamp
EmailTemplateMetadata & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition: EmailTemplateMetadata.h:110
Aws::SESV2::Model::EmailTemplateMetadata::WithTemplateName
EmailTemplateMetadata & WithTemplateName(const char *value)
Definition: EmailTemplateMetadata.h:79
Aws::SESV2::Model::EmailTemplateMetadata::SetTemplateName
void SetTemplateName(const char *value)
Definition: EmailTemplateMetadata.h:64
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::EmailTemplateMetadata::WithTemplateName
EmailTemplateMetadata & WithTemplateName(const Aws::String &value)
Definition: EmailTemplateMetadata.h:69
Aws::SESV2::Model::EmailTemplateMetadata::GetCreatedTimestamp
const Aws::Utils::DateTime & GetCreatedTimestamp() const
Definition: EmailTemplateMetadata.h:85
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::EmailTemplateMetadata::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: EmailTemplateMetadata.h:54
Aws::SESV2::Model::EmailTemplateMetadata::CreatedTimestampHasBeenSet
bool CreatedTimestampHasBeenSet() const
Definition: EmailTemplateMetadata.h:90