AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMailDomainResult.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/workmail/model/DnsRecordVerificationStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/workmail/model/DnsRecord.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace WorkMail
27{
28namespace Model
29{
31 {
32 public:
33 AWS_WORKMAIL_API GetMailDomainResult();
36
37
39
45 inline const Aws::Vector<DnsRecord>& GetRecords() const{ return m_records; }
46 inline void SetRecords(const Aws::Vector<DnsRecord>& value) { m_records = value; }
47 inline void SetRecords(Aws::Vector<DnsRecord>&& value) { m_records = std::move(value); }
48 inline GetMailDomainResult& WithRecords(const Aws::Vector<DnsRecord>& value) { SetRecords(value); return *this;}
49 inline GetMailDomainResult& WithRecords(Aws::Vector<DnsRecord>&& value) { SetRecords(std::move(value)); return *this;}
50 inline GetMailDomainResult& AddRecords(const DnsRecord& value) { m_records.push_back(value); return *this; }
51 inline GetMailDomainResult& AddRecords(DnsRecord&& value) { m_records.push_back(std::move(value)); return *this; }
53
55
59 inline bool GetIsTestDomain() const{ return m_isTestDomain; }
60 inline void SetIsTestDomain(bool value) { m_isTestDomain = value; }
61 inline GetMailDomainResult& WithIsTestDomain(bool value) { SetIsTestDomain(value); return *this;}
63
65
68 inline bool GetIsDefault() const{ return m_isDefault; }
69 inline void SetIsDefault(bool value) { m_isDefault = value; }
70 inline GetMailDomainResult& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
72
74
77 inline const DnsRecordVerificationStatus& GetOwnershipVerificationStatus() const{ return m_ownershipVerificationStatus; }
78 inline void SetOwnershipVerificationStatus(const DnsRecordVerificationStatus& value) { m_ownershipVerificationStatus = value; }
79 inline void SetOwnershipVerificationStatus(DnsRecordVerificationStatus&& value) { m_ownershipVerificationStatus = std::move(value); }
83
85
88 inline const DnsRecordVerificationStatus& GetDkimVerificationStatus() const{ return m_dkimVerificationStatus; }
89 inline void SetDkimVerificationStatus(const DnsRecordVerificationStatus& value) { m_dkimVerificationStatus = value; }
90 inline void SetDkimVerificationStatus(DnsRecordVerificationStatus&& value) { m_dkimVerificationStatus = std::move(value); }
94
96
97 inline const Aws::String& GetRequestId() const{ return m_requestId; }
98 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
99 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
100 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
101 inline GetMailDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
102 inline GetMailDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
103 inline GetMailDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
105 private:
106
107 Aws::Vector<DnsRecord> m_records;
108
109 bool m_isTestDomain;
110
111 bool m_isDefault;
112
113 DnsRecordVerificationStatus m_ownershipVerificationStatus;
114
115 DnsRecordVerificationStatus m_dkimVerificationStatus;
116
117 Aws::String m_requestId;
118 };
119
120} // namespace Model
121} // namespace WorkMail
122} // namespace Aws
GetMailDomainResult & WithRecords(const Aws::Vector< DnsRecord > &value)
void SetOwnershipVerificationStatus(DnsRecordVerificationStatus &&value)
GetMailDomainResult & WithRequestId(const char *value)
GetMailDomainResult & WithIsTestDomain(bool value)
GetMailDomainResult & WithOwnershipVerificationStatus(DnsRecordVerificationStatus &&value)
void SetRecords(const Aws::Vector< DnsRecord > &value)
void SetRequestId(const Aws::String &value)
void SetRecords(Aws::Vector< DnsRecord > &&value)
GetMailDomainResult & WithOwnershipVerificationStatus(const DnsRecordVerificationStatus &value)
void SetDkimVerificationStatus(DnsRecordVerificationStatus &&value)
const Aws::Vector< DnsRecord > & GetRecords() const
GetMailDomainResult & WithIsDefault(bool value)
void SetDkimVerificationStatus(const DnsRecordVerificationStatus &value)
GetMailDomainResult & WithDkimVerificationStatus(const DnsRecordVerificationStatus &value)
const DnsRecordVerificationStatus & GetDkimVerificationStatus() const
GetMailDomainResult & AddRecords(DnsRecord &&value)
GetMailDomainResult & WithDkimVerificationStatus(DnsRecordVerificationStatus &&value)
GetMailDomainResult & WithRequestId(Aws::String &&value)
GetMailDomainResult & WithRequestId(const Aws::String &value)
GetMailDomainResult & AddRecords(const DnsRecord &value)
AWS_WORKMAIL_API GetMailDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMailDomainResult & WithRecords(Aws::Vector< DnsRecord > &&value)
AWS_WORKMAIL_API GetMailDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetOwnershipVerificationStatus(const DnsRecordVerificationStatus &value)
const DnsRecordVerificationStatus & GetOwnershipVerificationStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue