AWS SDK for C++  1.9.159
AWS SDK for C++
GetMailDomainResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace WorkMail
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
43  inline const Aws::Vector<DnsRecord>& GetRecords() const{ return m_records; }
44 
51  inline void SetRecords(const Aws::Vector<DnsRecord>& value) { m_records = value; }
52 
59  inline void SetRecords(Aws::Vector<DnsRecord>&& value) { m_records = std::move(value); }
60 
67  inline GetMailDomainResult& WithRecords(const Aws::Vector<DnsRecord>& value) { SetRecords(value); return *this;}
68 
75  inline GetMailDomainResult& WithRecords(Aws::Vector<DnsRecord>&& value) { SetRecords(std::move(value)); return *this;}
76 
83  inline GetMailDomainResult& AddRecords(const DnsRecord& value) { m_records.push_back(value); return *this; }
84 
91  inline GetMailDomainResult& AddRecords(DnsRecord&& value) { m_records.push_back(std::move(value)); return *this; }
92 
93 
98  inline bool GetIsTestDomain() const{ return m_isTestDomain; }
99 
104  inline void SetIsTestDomain(bool value) { m_isTestDomain = value; }
105 
110  inline GetMailDomainResult& WithIsTestDomain(bool value) { SetIsTestDomain(value); return *this;}
111 
112 
116  inline bool GetIsDefault() const{ return m_isDefault; }
117 
121  inline void SetIsDefault(bool value) { m_isDefault = value; }
122 
126  inline GetMailDomainResult& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
127 
128 
132  inline const DnsRecordVerificationStatus& GetOwnershipVerificationStatus() const{ return m_ownershipVerificationStatus; }
133 
137  inline void SetOwnershipVerificationStatus(const DnsRecordVerificationStatus& value) { m_ownershipVerificationStatus = value; }
138 
142  inline void SetOwnershipVerificationStatus(DnsRecordVerificationStatus&& value) { m_ownershipVerificationStatus = std::move(value); }
143 
147  inline GetMailDomainResult& WithOwnershipVerificationStatus(const DnsRecordVerificationStatus& value) { SetOwnershipVerificationStatus(value); return *this;}
148 
152  inline GetMailDomainResult& WithOwnershipVerificationStatus(DnsRecordVerificationStatus&& value) { SetOwnershipVerificationStatus(std::move(value)); return *this;}
153 
154 
158  inline const DnsRecordVerificationStatus& GetDkimVerificationStatus() const{ return m_dkimVerificationStatus; }
159 
163  inline void SetDkimVerificationStatus(const DnsRecordVerificationStatus& value) { m_dkimVerificationStatus = value; }
164 
168  inline void SetDkimVerificationStatus(DnsRecordVerificationStatus&& value) { m_dkimVerificationStatus = std::move(value); }
169 
173  inline GetMailDomainResult& WithDkimVerificationStatus(const DnsRecordVerificationStatus& value) { SetDkimVerificationStatus(value); return *this;}
174 
178  inline GetMailDomainResult& WithDkimVerificationStatus(DnsRecordVerificationStatus&& value) { SetDkimVerificationStatus(std::move(value)); return *this;}
179 
180  private:
181 
182  Aws::Vector<DnsRecord> m_records;
183 
184  bool m_isTestDomain;
185 
186  bool m_isDefault;
187 
188  DnsRecordVerificationStatus m_ownershipVerificationStatus;
189 
190  DnsRecordVerificationStatus m_dkimVerificationStatus;
191  };
192 
193 } // namespace Model
194 } // namespace WorkMail
195 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WorkMail::Model::GetMailDomainResult::WithIsTestDomain
GetMailDomainResult & WithIsTestDomain(bool value)
Definition: GetMailDomainResult.h:110
Aws::WorkMail::Model::GetMailDomainResult::AddRecords
GetMailDomainResult & AddRecords(const DnsRecord &value)
Definition: GetMailDomainResult.h:83
Aws::WorkMail::Model::GetMailDomainResult::GetIsDefault
bool GetIsDefault() const
Definition: GetMailDomainResult.h:116
Aws::WorkMail::Model::GetMailDomainResult::WithOwnershipVerificationStatus
GetMailDomainResult & WithOwnershipVerificationStatus(const DnsRecordVerificationStatus &value)
Definition: GetMailDomainResult.h:147
Aws::WorkMail::Model::GetMailDomainResult::SetDkimVerificationStatus
void SetDkimVerificationStatus(const DnsRecordVerificationStatus &value)
Definition: GetMailDomainResult.h:163
Aws::WorkMail::Model::GetMailDomainResult::SetRecords
void SetRecords(const Aws::Vector< DnsRecord > &value)
Definition: GetMailDomainResult.h:51
Aws::WorkMail::Model::GetMailDomainResult::WithOwnershipVerificationStatus
GetMailDomainResult & WithOwnershipVerificationStatus(DnsRecordVerificationStatus &&value)
Definition: GetMailDomainResult.h:152
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::WorkMail::Model::GetMailDomainResult::GetIsTestDomain
bool GetIsTestDomain() const
Definition: GetMailDomainResult.h:98
WorkMail_EXPORTS.h
Aws::WorkMail::Model::GetMailDomainResult::GetDkimVerificationStatus
const DnsRecordVerificationStatus & GetDkimVerificationStatus() const
Definition: GetMailDomainResult.h:158
AWSVector.h
Aws::WorkMail::Model::GetMailDomainResult::SetIsDefault
void SetIsDefault(bool value)
Definition: GetMailDomainResult.h:121
DnsRecord.h
Aws::WorkMail::Model::GetMailDomainResult::AddRecords
GetMailDomainResult & AddRecords(DnsRecord &&value)
Definition: GetMailDomainResult.h:91
Aws::WorkMail::Model::GetMailDomainResult::GetRecords
const Aws::Vector< DnsRecord > & GetRecords() const
Definition: GetMailDomainResult.h:43
Aws::WorkMail::Model::GetMailDomainResult::SetRecords
void SetRecords(Aws::Vector< DnsRecord > &&value)
Definition: GetMailDomainResult.h:59
Aws::WorkMail::Model::GetMailDomainResult::WithDkimVerificationStatus
GetMailDomainResult & WithDkimVerificationStatus(const DnsRecordVerificationStatus &value)
Definition: GetMailDomainResult.h:173
Aws::WorkMail::Model::GetMailDomainResult::SetOwnershipVerificationStatus
void SetOwnershipVerificationStatus(const DnsRecordVerificationStatus &value)
Definition: GetMailDomainResult.h:137
Aws::WorkMail::Model::GetMailDomainResult::SetOwnershipVerificationStatus
void SetOwnershipVerificationStatus(DnsRecordVerificationStatus &&value)
Definition: GetMailDomainResult.h:142
Aws::WorkMail::Model::GetMailDomainResult::SetDkimVerificationStatus
void SetDkimVerificationStatus(DnsRecordVerificationStatus &&value)
Definition: GetMailDomainResult.h:168
Aws::WorkMail::Model::GetMailDomainResult::GetMailDomainResult
GetMailDomainResult()
Aws::WorkMail::Model::GetMailDomainResult
Definition: GetMailDomainResult.h:30
Aws::WorkMail::Model::GetMailDomainResult::WithIsDefault
GetMailDomainResult & WithIsDefault(bool value)
Definition: GetMailDomainResult.h:126
Aws::WorkMail::Model::GetMailDomainResult::GetMailDomainResult
GetMailDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WorkMail::Model::GetMailDomainResult::WithDkimVerificationStatus
GetMailDomainResult & WithDkimVerificationStatus(DnsRecordVerificationStatus &&value)
Definition: GetMailDomainResult.h:178
Aws::WorkMail::Model::GetMailDomainResult::SetIsTestDomain
void SetIsTestDomain(bool value)
Definition: GetMailDomainResult.h:104
Aws::WorkMail::Model::DnsRecordVerificationStatus
DnsRecordVerificationStatus
Definition: DnsRecordVerificationStatus.h:17
Aws::WorkMail::Model::GetMailDomainResult::operator=
GetMailDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::GetMailDomainResult::GetOwnershipVerificationStatus
const DnsRecordVerificationStatus & GetOwnershipVerificationStatus() const
Definition: GetMailDomainResult.h:132
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::GetMailDomainResult::WithRecords
GetMailDomainResult & WithRecords(Aws::Vector< DnsRecord > &&value)
Definition: GetMailDomainResult.h:75
Aws::WorkMail::Model::GetMailDomainResult::WithRecords
GetMailDomainResult & WithRecords(const Aws::Vector< DnsRecord > &value)
Definition: GetMailDomainResult.h:67
DnsRecordVerificationStatus.h
Aws::WorkMail::Model::DnsRecord
Definition: DnsRecord.h:32