AWS SDK for C++  1.9.158
AWS SDK for C++
MailFromAttributes.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 Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SESV2
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
47  inline const Aws::String& GetMailFromDomain() const{ return m_mailFromDomain; }
48 
53  inline bool MailFromDomainHasBeenSet() const { return m_mailFromDomainHasBeenSet; }
54 
59  inline void SetMailFromDomain(const Aws::String& value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain = value; }
60 
65  inline void SetMailFromDomain(Aws::String&& value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain = std::move(value); }
66 
71  inline void SetMailFromDomain(const char* value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain.assign(value); }
72 
77  inline MailFromAttributes& WithMailFromDomain(const Aws::String& value) { SetMailFromDomain(value); return *this;}
78 
83  inline MailFromAttributes& WithMailFromDomain(Aws::String&& value) { SetMailFromDomain(std::move(value)); return *this;}
84 
89  inline MailFromAttributes& WithMailFromDomain(const char* value) { SetMailFromDomain(value); return *this;}
90 
91 
102  inline const MailFromDomainStatus& GetMailFromDomainStatus() const{ return m_mailFromDomainStatus; }
103 
114  inline bool MailFromDomainStatusHasBeenSet() const { return m_mailFromDomainStatusHasBeenSet; }
115 
126  inline void SetMailFromDomainStatus(const MailFromDomainStatus& value) { m_mailFromDomainStatusHasBeenSet = true; m_mailFromDomainStatus = value; }
127 
138  inline void SetMailFromDomainStatus(MailFromDomainStatus&& value) { m_mailFromDomainStatusHasBeenSet = true; m_mailFromDomainStatus = std::move(value); }
139 
150  inline MailFromAttributes& WithMailFromDomainStatus(const MailFromDomainStatus& value) { SetMailFromDomainStatus(value); return *this;}
151 
162  inline MailFromAttributes& WithMailFromDomainStatus(MailFromDomainStatus&& value) { SetMailFromDomainStatus(std::move(value)); return *this;}
163 
164 
175  inline const BehaviorOnMxFailure& GetBehaviorOnMxFailure() const{ return m_behaviorOnMxFailure; }
176 
187  inline bool BehaviorOnMxFailureHasBeenSet() const { return m_behaviorOnMxFailureHasBeenSet; }
188 
199  inline void SetBehaviorOnMxFailure(const BehaviorOnMxFailure& value) { m_behaviorOnMxFailureHasBeenSet = true; m_behaviorOnMxFailure = value; }
200 
211  inline void SetBehaviorOnMxFailure(BehaviorOnMxFailure&& value) { m_behaviorOnMxFailureHasBeenSet = true; m_behaviorOnMxFailure = std::move(value); }
212 
223  inline MailFromAttributes& WithBehaviorOnMxFailure(const BehaviorOnMxFailure& value) { SetBehaviorOnMxFailure(value); return *this;}
224 
235  inline MailFromAttributes& WithBehaviorOnMxFailure(BehaviorOnMxFailure&& value) { SetBehaviorOnMxFailure(std::move(value)); return *this;}
236 
237  private:
238 
239  Aws::String m_mailFromDomain;
240  bool m_mailFromDomainHasBeenSet;
241 
242  MailFromDomainStatus m_mailFromDomainStatus;
243  bool m_mailFromDomainStatusHasBeenSet;
244 
245  BehaviorOnMxFailure m_behaviorOnMxFailure;
246  bool m_behaviorOnMxFailureHasBeenSet;
247  };
248 
249 } // namespace Model
250 } // namespace SESV2
251 } // namespace Aws
Aws::SESV2::Model::MailFromAttributes::SetMailFromDomainStatus
void SetMailFromDomainStatus(MailFromDomainStatus &&value)
Definition: MailFromAttributes.h:138
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
BehaviorOnMxFailure.h
Aws::SESV2::Model::MailFromAttributes::BehaviorOnMxFailureHasBeenSet
bool BehaviorOnMxFailureHasBeenSet() const
Definition: MailFromAttributes.h:187
Aws::SESV2::Model::MailFromAttributes::SetBehaviorOnMxFailure
void SetBehaviorOnMxFailure(const BehaviorOnMxFailure &value)
Definition: MailFromAttributes.h:199
Aws::SESV2::Model::MailFromAttributes::GetBehaviorOnMxFailure
const BehaviorOnMxFailure & GetBehaviorOnMxFailure() const
Definition: MailFromAttributes.h:175
Aws::SESV2::Model::MailFromAttributes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::MailFromAttributes::MailFromDomainHasBeenSet
bool MailFromDomainHasBeenSet() const
Definition: MailFromAttributes.h:53
Aws::SESV2::Model::MailFromAttributes::SetBehaviorOnMxFailure
void SetBehaviorOnMxFailure(BehaviorOnMxFailure &&value)
Definition: MailFromAttributes.h:211
Aws::SESV2::Model::MailFromAttributes::WithBehaviorOnMxFailure
MailFromAttributes & WithBehaviorOnMxFailure(BehaviorOnMxFailure &&value)
Definition: MailFromAttributes.h:235
Aws::SESV2::Model::MailFromAttributes::WithMailFromDomainStatus
MailFromAttributes & WithMailFromDomainStatus(const MailFromDomainStatus &value)
Definition: MailFromAttributes.h:150
Aws::SESV2::Model::MailFromAttributes::SetMailFromDomain
void SetMailFromDomain(const Aws::String &value)
Definition: MailFromAttributes.h:59
Aws::SESV2::Model::MailFromAttributes::SetMailFromDomain
void SetMailFromDomain(Aws::String &&value)
Definition: MailFromAttributes.h:65
Aws::SESV2::Model::MailFromAttributes
Definition: MailFromAttributes.h:35
Aws::SESV2::Model::MailFromAttributes::WithBehaviorOnMxFailure
MailFromAttributes & WithBehaviorOnMxFailure(const BehaviorOnMxFailure &value)
Definition: MailFromAttributes.h:223
Aws::SESV2::Model::MailFromAttributes::GetMailFromDomainStatus
const MailFromDomainStatus & GetMailFromDomainStatus() const
Definition: MailFromAttributes.h:102
Aws::SESV2::Model::BehaviorOnMxFailure
BehaviorOnMxFailure
Definition: BehaviorOnMxFailure.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SESV2::Model::MailFromAttributes::SetMailFromDomainStatus
void SetMailFromDomainStatus(const MailFromDomainStatus &value)
Definition: MailFromAttributes.h:126
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::MailFromAttributes::operator=
MailFromAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::MailFromAttributes::WithMailFromDomain
MailFromAttributes & WithMailFromDomain(const Aws::String &value)
Definition: MailFromAttributes.h:77
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::MailFromAttributes::SetMailFromDomain
void SetMailFromDomain(const char *value)
Definition: MailFromAttributes.h:71
Aws::SESV2::Model::MailFromAttributes::WithMailFromDomainStatus
MailFromAttributes & WithMailFromDomainStatus(MailFromDomainStatus &&value)
Definition: MailFromAttributes.h:162
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::MailFromAttributes::WithMailFromDomain
MailFromAttributes & WithMailFromDomain(Aws::String &&value)
Definition: MailFromAttributes.h:83
Aws::SESV2::Model::MailFromAttributes::WithMailFromDomain
MailFromAttributes & WithMailFromDomain(const char *value)
Definition: MailFromAttributes.h:89
Aws::SESV2::Model::MailFromAttributes::MailFromAttributes
MailFromAttributes()
MailFromDomainStatus.h
Aws::SESV2::Model::MailFromAttributes::MailFromDomainStatusHasBeenSet
bool MailFromDomainStatusHasBeenSet() const
Definition: MailFromAttributes.h:114
Aws::SESV2::Model::MailFromAttributes::MailFromAttributes
MailFromAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::MailFromAttributes::GetMailFromDomain
const Aws::String & GetMailFromDomain() const
Definition: MailFromAttributes.h:47
Aws::SESV2::Model::MailFromDomainStatus
MailFromDomainStatus
Definition: MailFromDomainStatus.h:17