AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
VerifyTargetDomainResult.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
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SecurityAgent {
25namespace Model {
33 public:
34 AWS_SECURITYAGENT_API VerifyTargetDomainResult() = 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 VerifyTargetDomainResult& 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 const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
77 template <typename CreatedAtT = Aws::Utils::DateTime>
78 void SetCreatedAt(CreatedAtT&& value) {
79 m_createdAtHasBeenSet = true;
80 m_createdAt = std::forward<CreatedAtT>(value);
81 }
82 template <typename CreatedAtT = Aws::Utils::DateTime>
84 SetCreatedAt(std::forward<CreatedAtT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
94 template <typename UpdatedAtT = Aws::Utils::DateTime>
95 void SetUpdatedAt(UpdatedAtT&& value) {
96 m_updatedAtHasBeenSet = true;
97 m_updatedAt = std::forward<UpdatedAtT>(value);
98 }
99 template <typename UpdatedAtT = Aws::Utils::DateTime>
101 SetUpdatedAt(std::forward<UpdatedAtT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetVerifiedAt() const { return m_verifiedAt; }
111 template <typename VerifiedAtT = Aws::Utils::DateTime>
112 void SetVerifiedAt(VerifiedAtT&& value) {
113 m_verifiedAtHasBeenSet = true;
114 m_verifiedAt = std::forward<VerifiedAtT>(value);
115 }
116 template <typename VerifiedAtT = Aws::Utils::DateTime>
118 SetVerifiedAt(std::forward<VerifiedAtT>(value));
119 return *this;
120 }
122
124
127 inline TargetDomainStatus GetStatus() const { return m_status; }
128 inline void SetStatus(TargetDomainStatus value) {
129 m_statusHasBeenSet = true;
130 m_status = value;
131 }
133 SetStatus(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
159 Aws::Utils::DateTime m_createdAt{};
160
161 Aws::Utils::DateTime m_updatedAt{};
162
163 Aws::Utils::DateTime m_verifiedAt{};
164
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_createdAtHasBeenSet = false;
172 bool m_updatedAtHasBeenSet = false;
173 bool m_verifiedAtHasBeenSet = false;
174 bool m_statusHasBeenSet = false;
175 bool m_requestIdHasBeenSet = false;
176};
177
178} // namespace Model
179} // namespace SecurityAgent
180} // namespace Aws
AWS_SECURITYAGENT_API VerifyTargetDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
VerifyTargetDomainResult & WithCreatedAt(CreatedAtT &&value)
VerifyTargetDomainResult & WithDomainName(DomainNameT &&value)
VerifyTargetDomainResult & WithVerifiedAt(VerifiedAtT &&value)
VerifyTargetDomainResult & WithRequestId(RequestIdT &&value)
AWS_SECURITYAGENT_API VerifyTargetDomainResult()=default
VerifyTargetDomainResult & WithStatus(TargetDomainStatus value)
VerifyTargetDomainResult & WithUpdatedAt(UpdatedAtT &&value)
VerifyTargetDomainResult & WithTargetDomainId(TargetDomainIdT &&value)
AWS_SECURITYAGENT_API VerifyTargetDomainResult(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