AWS SDK for C++  1.8.129
AWS SDK for C++
TemplateMetadata.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace SES
23 {
24 namespace Model
25 {
26 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetName() const{ return m_name; }
47 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
56  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 
61  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 
66  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 
71  inline TemplateMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
76  inline TemplateMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 
81  inline TemplateMetadata& WithName(const char* value) { SetName(value); return *this;}
82 
83 
87  inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
88 
92  inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
93 
97  inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
98 
102  inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
103 
107  inline TemplateMetadata& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
108 
112  inline TemplateMetadata& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
113 
114  private:
115 
116  Aws::String m_name;
117  bool m_nameHasBeenSet;
118 
119  Aws::Utils::DateTime m_createdTimestamp;
120  bool m_createdTimestampHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace SES
125 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
DateTime.h
Aws::SES::Model::TemplateMetadata::GetCreatedTimestamp
const Aws::Utils::DateTime & GetCreatedTimestamp() const
Definition: TemplateMetadata.h:87
Aws::SES::Model::TemplateMetadata::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWSStreamFwd.h
Aws::SES::Model::TemplateMetadata::operator=
TemplateMetadata & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::TemplateMetadata::TemplateMetadata
TemplateMetadata()
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::TemplateMetadata
Definition: TemplateMetadata.h:33
Aws::SES::Model::TemplateMetadata::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::TemplateMetadata::WithName
TemplateMetadata & WithName(const Aws::String &value)
Definition: TemplateMetadata.h:71
Aws::SES::Model::TemplateMetadata::NameHasBeenSet
bool NameHasBeenSet() const
Definition: TemplateMetadata.h:51
Aws::SES::Model::TemplateMetadata::TemplateMetadata
TemplateMetadata(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSString.h
Aws::SES::Model::TemplateMetadata::SetCreatedTimestamp
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition: TemplateMetadata.h:102
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::TemplateMetadata::SetName
void SetName(const char *value)
Definition: TemplateMetadata.h:66
Aws::SES::Model::TemplateMetadata::GetName
const Aws::String & GetName() const
Definition: TemplateMetadata.h:46
Aws::SES::Model::TemplateMetadata::WithName
TemplateMetadata & WithName(const char *value)
Definition: TemplateMetadata.h:81
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::TemplateMetadata::CreatedTimestampHasBeenSet
bool CreatedTimestampHasBeenSet() const
Definition: TemplateMetadata.h:92
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SES::Model::TemplateMetadata::SetName
void SetName(Aws::String &&value)
Definition: TemplateMetadata.h:61
Aws::SES::Model::TemplateMetadata::WithCreatedTimestamp
TemplateMetadata & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition: TemplateMetadata.h:107
Aws::SES::Model::TemplateMetadata::SetName
void SetName(const Aws::String &value)
Definition: TemplateMetadata.h:56
Aws::SES::Model::TemplateMetadata::WithCreatedTimestamp
TemplateMetadata & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition: TemplateMetadata.h:112
Aws::SES::Model::TemplateMetadata::WithName
TemplateMetadata & WithName(Aws::String &&value)
Definition: TemplateMetadata.h:76
Aws::SES::Model::TemplateMetadata::SetCreatedTimestamp
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition: TemplateMetadata.h:97