AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
TargetDomain.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10#include <aws/securityagent/model/TargetDomainStatus.h>
11#include <aws/securityagent/model/VerificationDetails.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityAgent {
23namespace Model {
24
33 public:
34 AWS_SECURITYAGENT_API TargetDomain() = default;
35 AWS_SECURITYAGENT_API TargetDomain(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SECURITYAGENT_API TargetDomain& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetTargetDomainId() const { return m_targetDomainId; }
44 inline bool TargetDomainIdHasBeenSet() const { return m_targetDomainIdHasBeenSet; }
45 template <typename TargetDomainIdT = Aws::String>
46 void SetTargetDomainId(TargetDomainIdT&& value) {
47 m_targetDomainIdHasBeenSet = true;
48 m_targetDomainId = std::forward<TargetDomainIdT>(value);
49 }
50 template <typename TargetDomainIdT = Aws::String>
51 TargetDomain& WithTargetDomainId(TargetDomainIdT&& value) {
52 SetTargetDomainId(std::forward<TargetDomainIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetDomainName() const { return m_domainName; }
62 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
63 template <typename DomainNameT = Aws::String>
64 void SetDomainName(DomainNameT&& value) {
65 m_domainNameHasBeenSet = true;
66 m_domainName = std::forward<DomainNameT>(value);
67 }
68 template <typename DomainNameT = Aws::String>
69 TargetDomain& WithDomainName(DomainNameT&& value) {
70 SetDomainName(std::forward<DomainNameT>(value));
71 return *this;
72 }
74
76
79 inline TargetDomainStatus GetVerificationStatus() const { return m_verificationStatus; }
80 inline bool VerificationStatusHasBeenSet() const { return m_verificationStatusHasBeenSet; }
82 m_verificationStatusHasBeenSet = true;
83 m_verificationStatus = value;
84 }
87 return *this;
88 }
90
92
95 inline const Aws::String& GetVerificationStatusReason() const { return m_verificationStatusReason; }
96 inline bool VerificationStatusReasonHasBeenSet() const { return m_verificationStatusReasonHasBeenSet; }
97 template <typename VerificationStatusReasonT = Aws::String>
98 void SetVerificationStatusReason(VerificationStatusReasonT&& value) {
99 m_verificationStatusReasonHasBeenSet = true;
100 m_verificationStatusReason = std::forward<VerificationStatusReasonT>(value);
101 }
102 template <typename VerificationStatusReasonT = Aws::String>
103 TargetDomain& WithVerificationStatusReason(VerificationStatusReasonT&& value) {
104 SetVerificationStatusReason(std::forward<VerificationStatusReasonT>(value));
105 return *this;
106 }
108
110
113 inline const VerificationDetails& GetVerificationDetails() const { return m_verificationDetails; }
114 inline bool VerificationDetailsHasBeenSet() const { return m_verificationDetailsHasBeenSet; }
115 template <typename VerificationDetailsT = VerificationDetails>
116 void SetVerificationDetails(VerificationDetailsT&& value) {
117 m_verificationDetailsHasBeenSet = true;
118 m_verificationDetails = std::forward<VerificationDetailsT>(value);
119 }
120 template <typename VerificationDetailsT = VerificationDetails>
121 TargetDomain& WithVerificationDetails(VerificationDetailsT&& value) {
122 SetVerificationDetails(std::forward<VerificationDetailsT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
132 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
133 template <typename CreatedAtT = Aws::Utils::DateTime>
134 void SetCreatedAt(CreatedAtT&& value) {
135 m_createdAtHasBeenSet = true;
136 m_createdAt = std::forward<CreatedAtT>(value);
137 }
138 template <typename CreatedAtT = Aws::Utils::DateTime>
139 TargetDomain& WithCreatedAt(CreatedAtT&& value) {
140 SetCreatedAt(std::forward<CreatedAtT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::Utils::DateTime& GetVerifiedAt() const { return m_verifiedAt; }
150 inline bool VerifiedAtHasBeenSet() const { return m_verifiedAtHasBeenSet; }
151 template <typename VerifiedAtT = Aws::Utils::DateTime>
152 void SetVerifiedAt(VerifiedAtT&& value) {
153 m_verifiedAtHasBeenSet = true;
154 m_verifiedAt = std::forward<VerifiedAtT>(value);
155 }
156 template <typename VerifiedAtT = Aws::Utils::DateTime>
157 TargetDomain& WithVerifiedAt(VerifiedAtT&& value) {
158 SetVerifiedAt(std::forward<VerifiedAtT>(value));
159 return *this;
160 }
162 private:
163 Aws::String m_targetDomainId;
164
165 Aws::String m_domainName;
166
168
169 Aws::String m_verificationStatusReason;
170
171 VerificationDetails m_verificationDetails;
172
173 Aws::Utils::DateTime m_createdAt{};
174
175 Aws::Utils::DateTime m_verifiedAt{};
176 bool m_targetDomainIdHasBeenSet = false;
177 bool m_domainNameHasBeenSet = false;
178 bool m_verificationStatusHasBeenSet = false;
179 bool m_verificationStatusReasonHasBeenSet = false;
180 bool m_verificationDetailsHasBeenSet = false;
181 bool m_createdAtHasBeenSet = false;
182 bool m_verifiedAtHasBeenSet = false;
183};
184
185} // namespace Model
186} // namespace SecurityAgent
187} // namespace Aws
AWS_SECURITYAGENT_API TargetDomain(Aws::Utils::Json::JsonView jsonValue)
void SetVerifiedAt(VerifiedAtT &&value)
TargetDomain & WithCreatedAt(CreatedAtT &&value)
TargetDomain & WithVerificationDetails(VerificationDetailsT &&value)
const Aws::String & GetVerificationStatusReason() const
void SetCreatedAt(CreatedAtT &&value)
TargetDomain & WithDomainName(DomainNameT &&value)
AWS_SECURITYAGENT_API TargetDomain & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVerificationStatusReason(VerificationStatusReasonT &&value)
AWS_SECURITYAGENT_API TargetDomain()=default
void SetVerificationStatus(TargetDomainStatus value)
TargetDomain & WithVerificationStatus(TargetDomainStatus value)
TargetDomain & WithVerifiedAt(VerifiedAtT &&value)
TargetDomain & WithVerificationStatusReason(VerificationStatusReasonT &&value)
const Aws::String & GetTargetDomainId() const
void SetTargetDomainId(TargetDomainIdT &&value)
TargetDomain & WithTargetDomainId(TargetDomainIdT &&value)
const Aws::String & GetDomainName() const
TargetDomainStatus GetVerificationStatus() const
const Aws::Utils::DateTime & GetVerifiedAt() const
const VerificationDetails & GetVerificationDetails() const
void SetDomainName(DomainNameT &&value)
void SetVerificationDetails(VerificationDetailsT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue