AWS SDK for C++  1.8.129
AWS SDK for C++
ReceiptRuleSetMetadata.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 
38  {
39  public:
43 
44  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45  void OutputToStream(Aws::OStream& oStream, const char* location) const;
46 
47 
54  inline const Aws::String& GetName() const{ return m_name; }
55 
62  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 
70  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
71 
78  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 
86  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
87 
94  inline ReceiptRuleSetMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
95 
102  inline ReceiptRuleSetMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
103 
110  inline ReceiptRuleSetMetadata& WithName(const char* value) { SetName(value); return *this;}
111 
112 
116  inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
117 
121  inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
122 
126  inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
127 
131  inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
132 
136  inline ReceiptRuleSetMetadata& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
137 
141  inline ReceiptRuleSetMetadata& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
142 
143  private:
144 
145  Aws::String m_name;
146  bool m_nameHasBeenSet;
147 
148  Aws::Utils::DateTime m_createdTimestamp;
149  bool m_createdTimestampHasBeenSet;
150  };
151 
152 } // namespace Model
153 } // namespace SES
154 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SES::Model::ReceiptRuleSetMetadata::SetName
void SetName(const char *value)
Definition: ReceiptRuleSetMetadata.h:86
Aws::SES::Model::ReceiptRuleSetMetadata::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::ReceiptRuleSetMetadata::GetName
const Aws::String & GetName() const
Definition: ReceiptRuleSetMetadata.h:54
DateTime.h
Aws::SES::Model::ReceiptRuleSetMetadata::SetCreatedTimestamp
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition: ReceiptRuleSetMetadata.h:131
AWSStreamFwd.h
Aws::SES::Model::ReceiptRuleSetMetadata::ReceiptRuleSetMetadata
ReceiptRuleSetMetadata(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::ReceiptRuleSetMetadata::WithName
ReceiptRuleSetMetadata & WithName(const Aws::String &value)
Definition: ReceiptRuleSetMetadata.h:94
Aws::SES::Model::ReceiptRuleSetMetadata::SetCreatedTimestamp
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition: ReceiptRuleSetMetadata.h:126
Aws::SES::Model::ReceiptRuleSetMetadata::WithCreatedTimestamp
ReceiptRuleSetMetadata & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition: ReceiptRuleSetMetadata.h:136
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::ReceiptRuleSetMetadata::WithName
ReceiptRuleSetMetadata & WithName(const char *value)
Definition: ReceiptRuleSetMetadata.h:110
Aws::SES::Model::ReceiptRuleSetMetadata::CreatedTimestampHasBeenSet
bool CreatedTimestampHasBeenSet() const
Definition: ReceiptRuleSetMetadata.h:121
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::ReceiptRuleSetMetadata::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ReceiptRuleSetMetadata.h:62
Aws::SES::Model::ReceiptRuleSetMetadata::operator=
ReceiptRuleSetMetadata & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::ReceiptRuleSetMetadata::WithName
ReceiptRuleSetMetadata & WithName(Aws::String &&value)
Definition: ReceiptRuleSetMetadata.h:102
Aws::SES::Model::ReceiptRuleSetMetadata
Definition: ReceiptRuleSetMetadata.h:38
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::ReceiptRuleSetMetadata::ReceiptRuleSetMetadata
ReceiptRuleSetMetadata()
Aws::SES::Model::ReceiptRuleSetMetadata::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::ReceiptRuleSetMetadata::GetCreatedTimestamp
const Aws::Utils::DateTime & GetCreatedTimestamp() const
Definition: ReceiptRuleSetMetadata.h:116
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::ReceiptRuleSetMetadata::SetName
void SetName(Aws::String &&value)
Definition: ReceiptRuleSetMetadata.h:78
Aws::SES::Model::ReceiptRuleSetMetadata::WithCreatedTimestamp
ReceiptRuleSetMetadata & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition: ReceiptRuleSetMetadata.h:141
Aws::SES::Model::ReceiptRuleSetMetadata::SetName
void SetName(const Aws::String &value)
Definition: ReceiptRuleSetMetadata.h:70