AWS SDK for C++  1.8.182
AWS SDK for C++
BouncedRecipientInfo.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace SES
24 {
25 namespace Model
26 {
27 
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 
51  inline const Aws::String& GetRecipient() const{ return m_recipient; }
52 
56  inline bool RecipientHasBeenSet() const { return m_recipientHasBeenSet; }
57 
61  inline void SetRecipient(const Aws::String& value) { m_recipientHasBeenSet = true; m_recipient = value; }
62 
66  inline void SetRecipient(Aws::String&& value) { m_recipientHasBeenSet = true; m_recipient = std::move(value); }
67 
71  inline void SetRecipient(const char* value) { m_recipientHasBeenSet = true; m_recipient.assign(value); }
72 
76  inline BouncedRecipientInfo& WithRecipient(const Aws::String& value) { SetRecipient(value); return *this;}
77 
81  inline BouncedRecipientInfo& WithRecipient(Aws::String&& value) { SetRecipient(std::move(value)); return *this;}
82 
86  inline BouncedRecipientInfo& WithRecipient(const char* value) { SetRecipient(value); return *this;}
87 
88 
97  inline const Aws::String& GetRecipientArn() const{ return m_recipientArn; }
98 
107  inline bool RecipientArnHasBeenSet() const { return m_recipientArnHasBeenSet; }
108 
117  inline void SetRecipientArn(const Aws::String& value) { m_recipientArnHasBeenSet = true; m_recipientArn = value; }
118 
127  inline void SetRecipientArn(Aws::String&& value) { m_recipientArnHasBeenSet = true; m_recipientArn = std::move(value); }
128 
137  inline void SetRecipientArn(const char* value) { m_recipientArnHasBeenSet = true; m_recipientArn.assign(value); }
138 
147  inline BouncedRecipientInfo& WithRecipientArn(const Aws::String& value) { SetRecipientArn(value); return *this;}
148 
157  inline BouncedRecipientInfo& WithRecipientArn(Aws::String&& value) { SetRecipientArn(std::move(value)); return *this;}
158 
167  inline BouncedRecipientInfo& WithRecipientArn(const char* value) { SetRecipientArn(value); return *this;}
168 
169 
174  inline const BounceType& GetBounceType() const{ return m_bounceType; }
175 
180  inline bool BounceTypeHasBeenSet() const { return m_bounceTypeHasBeenSet; }
181 
186  inline void SetBounceType(const BounceType& value) { m_bounceTypeHasBeenSet = true; m_bounceType = value; }
187 
192  inline void SetBounceType(BounceType&& value) { m_bounceTypeHasBeenSet = true; m_bounceType = std::move(value); }
193 
198  inline BouncedRecipientInfo& WithBounceType(const BounceType& value) { SetBounceType(value); return *this;}
199 
204  inline BouncedRecipientInfo& WithBounceType(BounceType&& value) { SetBounceType(std::move(value)); return *this;}
205 
206 
212  inline const RecipientDsnFields& GetRecipientDsnFields() const{ return m_recipientDsnFields; }
213 
219  inline bool RecipientDsnFieldsHasBeenSet() const { return m_recipientDsnFieldsHasBeenSet; }
220 
226  inline void SetRecipientDsnFields(const RecipientDsnFields& value) { m_recipientDsnFieldsHasBeenSet = true; m_recipientDsnFields = value; }
227 
233  inline void SetRecipientDsnFields(RecipientDsnFields&& value) { m_recipientDsnFieldsHasBeenSet = true; m_recipientDsnFields = std::move(value); }
234 
240  inline BouncedRecipientInfo& WithRecipientDsnFields(const RecipientDsnFields& value) { SetRecipientDsnFields(value); return *this;}
241 
247  inline BouncedRecipientInfo& WithRecipientDsnFields(RecipientDsnFields&& value) { SetRecipientDsnFields(std::move(value)); return *this;}
248 
249  private:
250 
251  Aws::String m_recipient;
252  bool m_recipientHasBeenSet;
253 
254  Aws::String m_recipientArn;
255  bool m_recipientArnHasBeenSet;
256 
257  BounceType m_bounceType;
258  bool m_bounceTypeHasBeenSet;
259 
260  RecipientDsnFields m_recipientDsnFields;
261  bool m_recipientDsnFieldsHasBeenSet;
262  };
263 
264 } // namespace Model
265 } // namespace SES
266 } // namespace Aws
Aws::SES::Model::BouncedRecipientInfo::RecipientArnHasBeenSet
bool RecipientArnHasBeenSet() const
Definition: BouncedRecipientInfo.h:107
Aws::SES::Model::BouncedRecipientInfo::GetRecipientDsnFields
const RecipientDsnFields & GetRecipientDsnFields() const
Definition: BouncedRecipientInfo.h:212
Aws::SES::Model::BouncedRecipientInfo::SetRecipientArn
void SetRecipientArn(const Aws::String &value)
Definition: BouncedRecipientInfo.h:117
Aws::SES::Model::BouncedRecipientInfo::BouncedRecipientInfo
BouncedRecipientInfo()
RecipientDsnFields.h
Aws::SES::Model::BouncedRecipientInfo::SetRecipient
void SetRecipient(const char *value)
Definition: BouncedRecipientInfo.h:71
Aws::SES::Model::BouncedRecipientInfo::GetRecipient
const Aws::String & GetRecipient() const
Definition: BouncedRecipientInfo.h:51
Aws::SES::Model::BouncedRecipientInfo::WithRecipientArn
BouncedRecipientInfo & WithRecipientArn(Aws::String &&value)
Definition: BouncedRecipientInfo.h:157
AWSStreamFwd.h
Aws::SES::Model::BouncedRecipientInfo::WithRecipientDsnFields
BouncedRecipientInfo & WithRecipientDsnFields(const RecipientDsnFields &value)
Definition: BouncedRecipientInfo.h:240
Aws::SES::Model::BouncedRecipientInfo::SetRecipientArn
void SetRecipientArn(Aws::String &&value)
Definition: BouncedRecipientInfo.h:127
Aws::SES::Model::BouncedRecipientInfo::GetBounceType
const BounceType & GetBounceType() const
Definition: BouncedRecipientInfo.h:174
Aws::SES::Model::BouncedRecipientInfo::GetRecipientArn
const Aws::String & GetRecipientArn() const
Definition: BouncedRecipientInfo.h:97
Aws::SES::Model::BouncedRecipientInfo::WithBounceType
BouncedRecipientInfo & WithBounceType(BounceType &&value)
Definition: BouncedRecipientInfo.h:204
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::BouncedRecipientInfo::SetRecipientArn
void SetRecipientArn(const char *value)
Definition: BouncedRecipientInfo.h:137
Aws::SES::Model::BounceType
BounceType
Definition: BounceType.h:17
Aws::SES::Model::BouncedRecipientInfo::SetRecipientDsnFields
void SetRecipientDsnFields(const RecipientDsnFields &value)
Definition: BouncedRecipientInfo.h:226
Aws::SES::Model::BouncedRecipientInfo::BouncedRecipientInfo
BouncedRecipientInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::BouncedRecipientInfo::WithRecipient
BouncedRecipientInfo & WithRecipient(const Aws::String &value)
Definition: BouncedRecipientInfo.h:76
BounceType.h
Aws::SES::Model::BouncedRecipientInfo::SetRecipientDsnFields
void SetRecipientDsnFields(RecipientDsnFields &&value)
Definition: BouncedRecipientInfo.h:233
Aws::SES::Model::BouncedRecipientInfo::WithRecipientDsnFields
BouncedRecipientInfo & WithRecipientDsnFields(RecipientDsnFields &&value)
Definition: BouncedRecipientInfo.h:247
Aws::SES::Model::BouncedRecipientInfo::BounceTypeHasBeenSet
bool BounceTypeHasBeenSet() const
Definition: BouncedRecipientInfo.h:180
Aws::SES::Model::BouncedRecipientInfo::SetRecipient
void SetRecipient(Aws::String &&value)
Definition: BouncedRecipientInfo.h:66
Aws::SES::Model::BouncedRecipientInfo::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWSString.h
Aws::SES::Model::BouncedRecipientInfo::SetBounceType
void SetBounceType(BounceType &&value)
Definition: BouncedRecipientInfo.h:192
Aws::SES::Model::BouncedRecipientInfo
Definition: BouncedRecipientInfo.h:38
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::BouncedRecipientInfo::RecipientHasBeenSet
bool RecipientHasBeenSet() const
Definition: BouncedRecipientInfo.h:56
Aws::SES::Model::BouncedRecipientInfo::WithRecipientArn
BouncedRecipientInfo & WithRecipientArn(const char *value)
Definition: BouncedRecipientInfo.h:167
Aws::SES::Model::BouncedRecipientInfo::RecipientDsnFieldsHasBeenSet
bool RecipientDsnFieldsHasBeenSet() const
Definition: BouncedRecipientInfo.h:219
Aws::SES::Model::BouncedRecipientInfo::WithBounceType
BouncedRecipientInfo & WithBounceType(const BounceType &value)
Definition: BouncedRecipientInfo.h:198
Aws::SES::Model::RecipientDsnFields
Definition: RecipientDsnFields.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::BouncedRecipientInfo::SetRecipient
void SetRecipient(const Aws::String &value)
Definition: BouncedRecipientInfo.h:61
index
int index
Definition: cJSON.h:171
Aws::SES::Model::BouncedRecipientInfo::WithRecipient
BouncedRecipientInfo & WithRecipient(const char *value)
Definition: BouncedRecipientInfo.h:86
Aws::SES::Model::BouncedRecipientInfo::WithRecipientArn
BouncedRecipientInfo & WithRecipientArn(const Aws::String &value)
Definition: BouncedRecipientInfo.h:147
Aws::SES::Model::BouncedRecipientInfo::SetBounceType
void SetBounceType(const BounceType &value)
Definition: BouncedRecipientInfo.h:186
Aws::SES::Model::BouncedRecipientInfo::operator=
BouncedRecipientInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::BouncedRecipientInfo::WithRecipient
BouncedRecipientInfo & WithRecipient(Aws::String &&value)
Definition: BouncedRecipientInfo.h:81
Aws::SES::Model::BouncedRecipientInfo::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const