AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateAccountPoolResult.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/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/AccountSource.h>
12#include <aws/datazone/model/ResolutionStrategy.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 DataZone {
26namespace Model {
28 public:
29 AWS_DATAZONE_API CreateAccountPoolResult() = default;
32
34
37 inline const Aws::String& GetDomainId() const { return m_domainId; }
38 template <typename DomainIdT = Aws::String>
39 void SetDomainId(DomainIdT&& value) {
40 m_domainIdHasBeenSet = true;
41 m_domainId = std::forward<DomainIdT>(value);
42 }
43 template <typename DomainIdT = Aws::String>
45 SetDomainId(std::forward<DomainIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetId() const { return m_id; }
72 template <typename IdT = Aws::String>
73 void SetId(IdT&& value) {
74 m_idHasBeenSet = true;
75 m_id = std::forward<IdT>(value);
76 }
77 template <typename IdT = Aws::String>
79 SetId(std::forward<IdT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetDescription() const { return m_description; }
89 template <typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) {
91 m_descriptionHasBeenSet = true;
92 m_description = std::forward<DescriptionT>(value);
93 }
94 template <typename DescriptionT = Aws::String>
96 SetDescription(std::forward<DescriptionT>(value));
97 return *this;
98 }
100
102
106 inline ResolutionStrategy GetResolutionStrategy() const { return m_resolutionStrategy; }
108 m_resolutionStrategyHasBeenSet = true;
109 m_resolutionStrategy = value;
110 }
113 return *this;
114 }
116
118
123 inline const AccountSource& GetAccountSource() const { return m_accountSource; }
124 template <typename AccountSourceT = AccountSource>
125 void SetAccountSource(AccountSourceT&& value) {
126 m_accountSourceHasBeenSet = true;
127 m_accountSource = std::forward<AccountSourceT>(value);
128 }
129 template <typename AccountSourceT = AccountSource>
131 SetAccountSource(std::forward<AccountSourceT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
141 template <typename CreatedByT = Aws::String>
142 void SetCreatedBy(CreatedByT&& value) {
143 m_createdByHasBeenSet = true;
144 m_createdBy = std::forward<CreatedByT>(value);
145 }
146 template <typename CreatedByT = Aws::String>
148 SetCreatedBy(std::forward<CreatedByT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
158 template <typename CreatedAtT = Aws::Utils::DateTime>
159 void SetCreatedAt(CreatedAtT&& value) {
160 m_createdAtHasBeenSet = true;
161 m_createdAt = std::forward<CreatedAtT>(value);
162 }
163 template <typename CreatedAtT = Aws::Utils::DateTime>
165 SetCreatedAt(std::forward<CreatedAtT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
175 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
176 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
177 m_lastUpdatedAtHasBeenSet = true;
178 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
179 }
180 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
182 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
192 template <typename UpdatedByT = Aws::String>
193 void SetUpdatedBy(UpdatedByT&& value) {
194 m_updatedByHasBeenSet = true;
195 m_updatedBy = std::forward<UpdatedByT>(value);
196 }
197 template <typename UpdatedByT = Aws::String>
199 SetUpdatedBy(std::forward<UpdatedByT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
209 template <typename DomainUnitIdT = Aws::String>
210 void SetDomainUnitId(DomainUnitIdT&& value) {
211 m_domainUnitIdHasBeenSet = true;
212 m_domainUnitId = std::forward<DomainUnitIdT>(value);
213 }
214 template <typename DomainUnitIdT = Aws::String>
216 SetDomainUnitId(std::forward<DomainUnitIdT>(value));
217 return *this;
218 }
220
222
223 inline const Aws::String& GetRequestId() const { return m_requestId; }
224 template <typename RequestIdT = Aws::String>
225 void SetRequestId(RequestIdT&& value) {
226 m_requestIdHasBeenSet = true;
227 m_requestId = std::forward<RequestIdT>(value);
228 }
229 template <typename RequestIdT = Aws::String>
231 SetRequestId(std::forward<RequestIdT>(value));
232 return *this;
233 }
235 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
236
237 private:
238 Aws::String m_domainId;
239
240 Aws::String m_name;
241
242 Aws::String m_id;
243
244 Aws::String m_description;
245
247
248 AccountSource m_accountSource;
249
250 Aws::String m_createdBy;
251
252 Aws::Utils::DateTime m_createdAt{};
253
254 Aws::Utils::DateTime m_lastUpdatedAt{};
255
256 Aws::String m_updatedBy;
257
258 Aws::String m_domainUnitId;
259
260 Aws::String m_requestId;
261 Aws::Http::HttpResponseCode m_HttpResponseCode;
262 bool m_domainIdHasBeenSet = false;
263 bool m_nameHasBeenSet = false;
264 bool m_idHasBeenSet = false;
265 bool m_descriptionHasBeenSet = false;
266 bool m_resolutionStrategyHasBeenSet = false;
267 bool m_accountSourceHasBeenSet = false;
268 bool m_createdByHasBeenSet = false;
269 bool m_createdAtHasBeenSet = false;
270 bool m_lastUpdatedAtHasBeenSet = false;
271 bool m_updatedByHasBeenSet = false;
272 bool m_domainUnitIdHasBeenSet = false;
273 bool m_requestIdHasBeenSet = false;
274};
275
276} // namespace Model
277} // namespace DataZone
278} // namespace Aws
CreateAccountPoolResult & WithRequestId(RequestIdT &&value)
CreateAccountPoolResult & WithDomainId(DomainIdT &&value)
CreateAccountPoolResult & WithName(NameT &&value)
CreateAccountPoolResult & WithDescription(DescriptionT &&value)
AWS_DATAZONE_API CreateAccountPoolResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
CreateAccountPoolResult & WithId(IdT &&value)
CreateAccountPoolResult & WithAccountSource(AccountSourceT &&value)
CreateAccountPoolResult & WithResolutionStrategy(ResolutionStrategy value)
CreateAccountPoolResult & WithCreatedBy(CreatedByT &&value)
AWS_DATAZONE_API CreateAccountPoolResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAccountPoolResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
CreateAccountPoolResult & WithDomainUnitId(DomainUnitIdT &&value)
CreateAccountPoolResult & WithUpdatedBy(UpdatedByT &&value)
AWS_DATAZONE_API CreateAccountPoolResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAccountPoolResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue