AWS SDK for C++  1.8.127
AWS SDK for C++
IdentityMailFromDomainAttributes.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 
35  {
36  public:
40 
41  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42  void OutputToStream(Aws::OStream& oStream, const char* location) const;
43 
44 
48  inline const Aws::String& GetMailFromDomain() const{ return m_mailFromDomain; }
49 
53  inline bool MailFromDomainHasBeenSet() const { return m_mailFromDomainHasBeenSet; }
54 
58  inline void SetMailFromDomain(const Aws::String& value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain = value; }
59 
63  inline void SetMailFromDomain(Aws::String&& value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain = std::move(value); }
64 
68  inline void SetMailFromDomain(const char* value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain.assign(value); }
69 
73  inline IdentityMailFromDomainAttributes& WithMailFromDomain(const Aws::String& value) { SetMailFromDomain(value); return *this;}
74 
78  inline IdentityMailFromDomainAttributes& WithMailFromDomain(Aws::String&& value) { SetMailFromDomain(std::move(value)); return *this;}
79 
83  inline IdentityMailFromDomainAttributes& WithMailFromDomain(const char* value) { SetMailFromDomain(value); return *this;}
84 
85 
93  inline const CustomMailFromStatus& GetMailFromDomainStatus() const{ return m_mailFromDomainStatus; }
94 
102  inline bool MailFromDomainStatusHasBeenSet() const { return m_mailFromDomainStatusHasBeenSet; }
103 
111  inline void SetMailFromDomainStatus(const CustomMailFromStatus& value) { m_mailFromDomainStatusHasBeenSet = true; m_mailFromDomainStatus = value; }
112 
120  inline void SetMailFromDomainStatus(CustomMailFromStatus&& value) { m_mailFromDomainStatusHasBeenSet = true; m_mailFromDomainStatus = std::move(value); }
121 
129  inline IdentityMailFromDomainAttributes& WithMailFromDomainStatus(const CustomMailFromStatus& value) { SetMailFromDomainStatus(value); return *this;}
130 
138  inline IdentityMailFromDomainAttributes& WithMailFromDomainStatus(CustomMailFromStatus&& value) { SetMailFromDomainStatus(std::move(value)); return *this;}
139 
140 
152  inline const BehaviorOnMXFailure& GetBehaviorOnMXFailure() const{ return m_behaviorOnMXFailure; }
153 
165  inline bool BehaviorOnMXFailureHasBeenSet() const { return m_behaviorOnMXFailureHasBeenSet; }
166 
178  inline void SetBehaviorOnMXFailure(const BehaviorOnMXFailure& value) { m_behaviorOnMXFailureHasBeenSet = true; m_behaviorOnMXFailure = value; }
179 
191  inline void SetBehaviorOnMXFailure(BehaviorOnMXFailure&& value) { m_behaviorOnMXFailureHasBeenSet = true; m_behaviorOnMXFailure = std::move(value); }
192 
204  inline IdentityMailFromDomainAttributes& WithBehaviorOnMXFailure(const BehaviorOnMXFailure& value) { SetBehaviorOnMXFailure(value); return *this;}
205 
217  inline IdentityMailFromDomainAttributes& WithBehaviorOnMXFailure(BehaviorOnMXFailure&& value) { SetBehaviorOnMXFailure(std::move(value)); return *this;}
218 
219  private:
220 
221  Aws::String m_mailFromDomain;
222  bool m_mailFromDomainHasBeenSet;
223 
224  CustomMailFromStatus m_mailFromDomainStatus;
225  bool m_mailFromDomainStatusHasBeenSet;
226 
227  BehaviorOnMXFailure m_behaviorOnMXFailure;
228  bool m_behaviorOnMXFailureHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace SES
233 } // namespace Aws
Aws::SES::Model::IdentityMailFromDomainAttributes::IdentityMailFromDomainAttributes
IdentityMailFromDomainAttributes(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::IdentityMailFromDomainAttributes::SetMailFromDomain
void SetMailFromDomain(const Aws::String &value)
Definition: IdentityMailFromDomainAttributes.h:58
Aws::SES::Model::IdentityMailFromDomainAttributes::WithBehaviorOnMXFailure
IdentityMailFromDomainAttributes & WithBehaviorOnMXFailure(const BehaviorOnMXFailure &value)
Definition: IdentityMailFromDomainAttributes.h:204
Aws::SES::Model::IdentityMailFromDomainAttributes
Definition: IdentityMailFromDomainAttributes.h:35
Aws::SES::Model::IdentityMailFromDomainAttributes::WithBehaviorOnMXFailure
IdentityMailFromDomainAttributes & WithBehaviorOnMXFailure(BehaviorOnMXFailure &&value)
Definition: IdentityMailFromDomainAttributes.h:217
Aws::SES::Model::CustomMailFromStatus
CustomMailFromStatus
Definition: CustomMailFromStatus.h:17
Aws::SES::Model::IdentityMailFromDomainAttributes::WithMailFromDomain
IdentityMailFromDomainAttributes & WithMailFromDomain(const char *value)
Definition: IdentityMailFromDomainAttributes.h:83
Aws::SES::Model::IdentityMailFromDomainAttributes::MailFromDomainHasBeenSet
bool MailFromDomainHasBeenSet() const
Definition: IdentityMailFromDomainAttributes.h:53
Aws::SES::Model::IdentityMailFromDomainAttributes::WithMailFromDomainStatus
IdentityMailFromDomainAttributes & WithMailFromDomainStatus(CustomMailFromStatus &&value)
Definition: IdentityMailFromDomainAttributes.h:138
AWSStreamFwd.h
CustomMailFromStatus.h
Aws::SES::Model::BehaviorOnMXFailure
BehaviorOnMXFailure
Definition: BehaviorOnMXFailure.h:17
Aws::SES::Model::IdentityMailFromDomainAttributes::MailFromDomainStatusHasBeenSet
bool MailFromDomainStatusHasBeenSet() const
Definition: IdentityMailFromDomainAttributes.h:102
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
BehaviorOnMXFailure.h
Aws::SES::Model::IdentityMailFromDomainAttributes::WithMailFromDomainStatus
IdentityMailFromDomainAttributes & WithMailFromDomainStatus(const CustomMailFromStatus &value)
Definition: IdentityMailFromDomainAttributes.h:129
Aws::SES::Model::IdentityMailFromDomainAttributes::operator=
IdentityMailFromDomainAttributes & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::IdentityMailFromDomainAttributes::WithMailFromDomain
IdentityMailFromDomainAttributes & WithMailFromDomain(const Aws::String &value)
Definition: IdentityMailFromDomainAttributes.h:73
Aws::SES::Model::IdentityMailFromDomainAttributes::SetMailFromDomainStatus
void SetMailFromDomainStatus(const CustomMailFromStatus &value)
Definition: IdentityMailFromDomainAttributes.h:111
Aws::SES::Model::IdentityMailFromDomainAttributes::SetBehaviorOnMXFailure
void SetBehaviorOnMXFailure(BehaviorOnMXFailure &&value)
Definition: IdentityMailFromDomainAttributes.h:191
AWSString.h
Aws::SES::Model::IdentityMailFromDomainAttributes::WithMailFromDomain
IdentityMailFromDomainAttributes & WithMailFromDomain(Aws::String &&value)
Definition: IdentityMailFromDomainAttributes.h:78
Aws::SES::Model::IdentityMailFromDomainAttributes::IdentityMailFromDomainAttributes
IdentityMailFromDomainAttributes()
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::IdentityMailFromDomainAttributes::BehaviorOnMXFailureHasBeenSet
bool BehaviorOnMXFailureHasBeenSet() const
Definition: IdentityMailFromDomainAttributes.h:165
Aws::SES::Model::IdentityMailFromDomainAttributes::GetBehaviorOnMXFailure
const BehaviorOnMXFailure & GetBehaviorOnMXFailure() const
Definition: IdentityMailFromDomainAttributes.h:152
Aws::SES::Model::IdentityMailFromDomainAttributes::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::IdentityMailFromDomainAttributes::GetMailFromDomainStatus
const CustomMailFromStatus & GetMailFromDomainStatus() const
Definition: IdentityMailFromDomainAttributes.h:93
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::IdentityMailFromDomainAttributes::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::IdentityMailFromDomainAttributes::SetMailFromDomain
void SetMailFromDomain(const char *value)
Definition: IdentityMailFromDomainAttributes.h:68
index
int index
Definition: cJSON.h:171
Aws::SES::Model::IdentityMailFromDomainAttributes::SetBehaviorOnMXFailure
void SetBehaviorOnMXFailure(const BehaviorOnMXFailure &value)
Definition: IdentityMailFromDomainAttributes.h:178
Aws::SES::Model::IdentityMailFromDomainAttributes::SetMailFromDomainStatus
void SetMailFromDomainStatus(CustomMailFromStatus &&value)
Definition: IdentityMailFromDomainAttributes.h:120
Aws::SES::Model::IdentityMailFromDomainAttributes::GetMailFromDomain
const Aws::String & GetMailFromDomain() const
Definition: IdentityMailFromDomainAttributes.h:48
Aws::SES::Model::IdentityMailFromDomainAttributes::SetMailFromDomain
void SetMailFromDomain(Aws::String &&value)
Definition: IdentityMailFromDomainAttributes.h:63