AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateTargetDomainResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityagent/SecurityAgent_EXPORTS.h>
11#include <aws/securityagent/model/TargetDomainStatus.h>
12#include <aws/securityagent/model/VerificationDetails.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SecurityAgent {
26namespace Model {
33 public:
34 AWS_SECURITYAGENT_API CreateTargetDomainResult() = default;
37
39
42 inline const Aws::String& GetTargetDomainId() const { return m_targetDomainId; }
43 template <typename TargetDomainIdT = Aws::String>
44 void SetTargetDomainId(TargetDomainIdT&& value) {
45 m_targetDomainIdHasBeenSet = true;
46 m_targetDomainId = std::forward<TargetDomainIdT>(value);
47 }
48 template <typename TargetDomainIdT = Aws::String>
49 CreateTargetDomainResult& WithTargetDomainId(TargetDomainIdT&& value) {
50 SetTargetDomainId(std::forward<TargetDomainIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDomainName() const { return m_domainName; }
60 template <typename DomainNameT = Aws::String>
61 void SetDomainName(DomainNameT&& value) {
62 m_domainNameHasBeenSet = true;
63 m_domainName = std::forward<DomainNameT>(value);
64 }
65 template <typename DomainNameT = Aws::String>
67 SetDomainName(std::forward<DomainNameT>(value));
68 return *this;
69 }
71
73
76 inline TargetDomainStatus GetVerificationStatus() const { return m_verificationStatus; }
78 m_verificationStatusHasBeenSet = true;
79 m_verificationStatus = value;
80 }
83 return *this;
84 }
86
88
91 inline const VerificationDetails& GetVerificationDetails() const { return m_verificationDetails; }
92 template <typename VerificationDetailsT = VerificationDetails>
93 void SetVerificationDetails(VerificationDetailsT&& value) {
94 m_verificationDetailsHasBeenSet = true;
95 m_verificationDetails = std::forward<VerificationDetailsT>(value);
96 }
97 template <typename VerificationDetailsT = VerificationDetails>
98 CreateTargetDomainResult& WithVerificationDetails(VerificationDetailsT&& value) {
99 SetVerificationDetails(std::forward<VerificationDetailsT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
109 template <typename CreatedAtT = Aws::Utils::DateTime>
110 void SetCreatedAt(CreatedAtT&& value) {
111 m_createdAtHasBeenSet = true;
112 m_createdAt = std::forward<CreatedAtT>(value);
113 }
114 template <typename CreatedAtT = Aws::Utils::DateTime>
116 SetCreatedAt(std::forward<CreatedAtT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::Utils::DateTime& GetVerifiedAt() const { return m_verifiedAt; }
126 template <typename VerifiedAtT = Aws::Utils::DateTime>
127 void SetVerifiedAt(VerifiedAtT&& value) {
128 m_verifiedAtHasBeenSet = true;
129 m_verifiedAt = std::forward<VerifiedAtT>(value);
130 }
131 template <typename VerifiedAtT = Aws::Utils::DateTime>
133 SetVerifiedAt(std::forward<VerifiedAtT>(value));
134 return *this;
135 }
137
139
140 inline const Aws::String& GetRequestId() const { return m_requestId; }
141 template <typename RequestIdT = Aws::String>
142 void SetRequestId(RequestIdT&& value) {
143 m_requestIdHasBeenSet = true;
144 m_requestId = std::forward<RequestIdT>(value);
145 }
146 template <typename RequestIdT = Aws::String>
148 SetRequestId(std::forward<RequestIdT>(value));
149 return *this;
150 }
152 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
153
154 private:
155 Aws::String m_targetDomainId;
156
157 Aws::String m_domainName;
158
160
161 VerificationDetails m_verificationDetails;
162
163 Aws::Utils::DateTime m_createdAt{};
164
165 Aws::Utils::DateTime m_verifiedAt{};
166
167 Aws::String m_requestId;
168 Aws::Http::HttpResponseCode m_HttpResponseCode;
169 bool m_targetDomainIdHasBeenSet = false;
170 bool m_domainNameHasBeenSet = false;
171 bool m_verificationStatusHasBeenSet = false;
172 bool m_verificationDetailsHasBeenSet = false;
173 bool m_createdAtHasBeenSet = false;
174 bool m_verifiedAtHasBeenSet = false;
175 bool m_requestIdHasBeenSet = false;
176};
177
178} // namespace Model
179} // namespace SecurityAgent
180} // namespace Aws
CreateTargetDomainResult & WithVerificationDetails(VerificationDetailsT &&value)
CreateTargetDomainResult & WithRequestId(RequestIdT &&value)
AWS_SECURITYAGENT_API CreateTargetDomainResult()=default
CreateTargetDomainResult & WithDomainName(DomainNameT &&value)
AWS_SECURITYAGENT_API CreateTargetDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTargetDomainResult & WithCreatedAt(CreatedAtT &&value)
CreateTargetDomainResult & WithTargetDomainId(TargetDomainIdT &&value)
CreateTargetDomainResult & WithVerificationStatus(TargetDomainStatus value)
CreateTargetDomainResult & WithVerifiedAt(VerifiedAtT &&value)
AWS_SECURITYAGENT_API CreateTargetDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue