AWS SDK for C++  1.8.129
AWS SDK for C++
MessageDsn.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlNode;
22 } // namespace Xml
23 } // namespace Utils
24 namespace SES
25 {
26 namespace Model
27 {
28 
39  {
40  public:
44 
45  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46  void OutputToStream(Aws::OStream& oStream, const char* location) const;
47 
48 
55  inline const Aws::String& GetReportingMta() const{ return m_reportingMta; }
56 
63  inline bool ReportingMtaHasBeenSet() const { return m_reportingMtaHasBeenSet; }
64 
71  inline void SetReportingMta(const Aws::String& value) { m_reportingMtaHasBeenSet = true; m_reportingMta = value; }
72 
79  inline void SetReportingMta(Aws::String&& value) { m_reportingMtaHasBeenSet = true; m_reportingMta = std::move(value); }
80 
87  inline void SetReportingMta(const char* value) { m_reportingMtaHasBeenSet = true; m_reportingMta.assign(value); }
88 
95  inline MessageDsn& WithReportingMta(const Aws::String& value) { SetReportingMta(value); return *this;}
96 
103  inline MessageDsn& WithReportingMta(Aws::String&& value) { SetReportingMta(std::move(value)); return *this;}
104 
111  inline MessageDsn& WithReportingMta(const char* value) { SetReportingMta(value); return *this;}
112 
113 
118  inline const Aws::Utils::DateTime& GetArrivalDate() const{ return m_arrivalDate; }
119 
124  inline bool ArrivalDateHasBeenSet() const { return m_arrivalDateHasBeenSet; }
125 
130  inline void SetArrivalDate(const Aws::Utils::DateTime& value) { m_arrivalDateHasBeenSet = true; m_arrivalDate = value; }
131 
136  inline void SetArrivalDate(Aws::Utils::DateTime&& value) { m_arrivalDateHasBeenSet = true; m_arrivalDate = std::move(value); }
137 
142  inline MessageDsn& WithArrivalDate(const Aws::Utils::DateTime& value) { SetArrivalDate(value); return *this;}
143 
148  inline MessageDsn& WithArrivalDate(Aws::Utils::DateTime&& value) { SetArrivalDate(std::move(value)); return *this;}
149 
150 
154  inline const Aws::Vector<ExtensionField>& GetExtensionFields() const{ return m_extensionFields; }
155 
159  inline bool ExtensionFieldsHasBeenSet() const { return m_extensionFieldsHasBeenSet; }
160 
164  inline void SetExtensionFields(const Aws::Vector<ExtensionField>& value) { m_extensionFieldsHasBeenSet = true; m_extensionFields = value; }
165 
169  inline void SetExtensionFields(Aws::Vector<ExtensionField>&& value) { m_extensionFieldsHasBeenSet = true; m_extensionFields = std::move(value); }
170 
174  inline MessageDsn& WithExtensionFields(const Aws::Vector<ExtensionField>& value) { SetExtensionFields(value); return *this;}
175 
179  inline MessageDsn& WithExtensionFields(Aws::Vector<ExtensionField>&& value) { SetExtensionFields(std::move(value)); return *this;}
180 
184  inline MessageDsn& AddExtensionFields(const ExtensionField& value) { m_extensionFieldsHasBeenSet = true; m_extensionFields.push_back(value); return *this; }
185 
189  inline MessageDsn& AddExtensionFields(ExtensionField&& value) { m_extensionFieldsHasBeenSet = true; m_extensionFields.push_back(std::move(value)); return *this; }
190 
191  private:
192 
193  Aws::String m_reportingMta;
194  bool m_reportingMtaHasBeenSet;
195 
196  Aws::Utils::DateTime m_arrivalDate;
197  bool m_arrivalDateHasBeenSet;
198 
199  Aws::Vector<ExtensionField> m_extensionFields;
200  bool m_extensionFieldsHasBeenSet;
201  };
202 
203 } // namespace Model
204 } // namespace SES
205 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SES::Model::MessageDsn::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::MessageDsn::SetExtensionFields
void SetExtensionFields(Aws::Vector< ExtensionField > &&value)
Definition: MessageDsn.h:169
Aws::SES::Model::MessageDsn
Definition: MessageDsn.h:39
Aws::SES::Model::MessageDsn::WithArrivalDate
MessageDsn & WithArrivalDate(Aws::Utils::DateTime &&value)
Definition: MessageDsn.h:148
Aws::SES::Model::MessageDsn::SetArrivalDate
void SetArrivalDate(const Aws::Utils::DateTime &value)
Definition: MessageDsn.h:130
Aws::SES::Model::MessageDsn::SetArrivalDate
void SetArrivalDate(Aws::Utils::DateTime &&value)
Definition: MessageDsn.h:136
Aws::SES::Model::MessageDsn::MessageDsn
MessageDsn()
Aws::SES::Model::MessageDsn::WithReportingMta
MessageDsn & WithReportingMta(Aws::String &&value)
Definition: MessageDsn.h:103
DateTime.h
Aws::SES::Model::MessageDsn::AddExtensionFields
MessageDsn & AddExtensionFields(const ExtensionField &value)
Definition: MessageDsn.h:184
Aws::SES::Model::MessageDsn::GetExtensionFields
const Aws::Vector< ExtensionField > & GetExtensionFields() const
Definition: MessageDsn.h:154
Aws::SES::Model::MessageDsn::GetArrivalDate
const Aws::Utils::DateTime & GetArrivalDate() const
Definition: MessageDsn.h:118
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SES::Model::MessageDsn::operator=
MessageDsn & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
AWSVector.h
Aws::SES::Model::MessageDsn::WithReportingMta
MessageDsn & WithReportingMta(const char *value)
Definition: MessageDsn.h:111
Aws::SES::Model::MessageDsn::WithArrivalDate
MessageDsn & WithArrivalDate(const Aws::Utils::DateTime &value)
Definition: MessageDsn.h:142
Aws::SES::Model::MessageDsn::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::MessageDsn::SetReportingMta
void SetReportingMta(Aws::String &&value)
Definition: MessageDsn.h:79
ExtensionField.h
Aws::SES::Model::MessageDsn::AddExtensionFields
MessageDsn & AddExtensionFields(ExtensionField &&value)
Definition: MessageDsn.h:189
Aws::SES::Model::MessageDsn::ExtensionFieldsHasBeenSet
bool ExtensionFieldsHasBeenSet() const
Definition: MessageDsn.h:159
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::MessageDsn::MessageDsn
MessageDsn(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::MessageDsn::WithReportingMta
MessageDsn & WithReportingMta(const Aws::String &value)
Definition: MessageDsn.h:95
Aws::SES::Model::MessageDsn::WithExtensionFields
MessageDsn & WithExtensionFields(const Aws::Vector< ExtensionField > &value)
Definition: MessageDsn.h:174
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::MessageDsn::SetReportingMta
void SetReportingMta(const Aws::String &value)
Definition: MessageDsn.h:71
Aws::SES::Model::MessageDsn::ReportingMtaHasBeenSet
bool ReportingMtaHasBeenSet() const
Definition: MessageDsn.h:63
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::MessageDsn::SetReportingMta
void SetReportingMta(const char *value)
Definition: MessageDsn.h:87
Aws::SES::Model::MessageDsn::WithExtensionFields
MessageDsn & WithExtensionFields(Aws::Vector< ExtensionField > &&value)
Definition: MessageDsn.h:179
Aws::SES::Model::MessageDsn::GetReportingMta
const Aws::String & GetReportingMta() const
Definition: MessageDsn.h:55
Aws::SES::Model::MessageDsn::ArrivalDateHasBeenSet
bool ArrivalDateHasBeenSet() const
Definition: MessageDsn.h:124
Aws::SES::Model::MessageDsn::SetExtensionFields
void SetExtensionFields(const Aws::Vector< ExtensionField > &value)
Definition: MessageDsn.h:164
Aws::SES::Model::ExtensionField
Definition: ExtensionField.h:36