AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
GetAccountPoolResult.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 GetAccountPoolResult() = default;
32
34
38 inline const Aws::String& GetDomainId() const { return m_domainId; }
39 template <typename DomainIdT = Aws::String>
40 void SetDomainId(DomainIdT&& value) {
41 m_domainIdHasBeenSet = true;
42 m_domainId = std::forward<DomainIdT>(value);
43 }
44 template <typename DomainIdT = Aws::String>
45 GetAccountPoolResult& WithDomainId(DomainIdT&& value) {
46 SetDomainId(std::forward<DomainIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 template <typename NameT = Aws::String>
57 void SetName(NameT&& value) {
58 m_nameHasBeenSet = true;
59 m_name = std::forward<NameT>(value);
60 }
61 template <typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetId() const { return m_id; }
73 template <typename IdT = Aws::String>
74 void SetId(IdT&& value) {
75 m_idHasBeenSet = true;
76 m_id = std::forward<IdT>(value);
77 }
78 template <typename IdT = Aws::String>
80 SetId(std::forward<IdT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 template <typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) {
92 m_descriptionHasBeenSet = true;
93 m_description = std::forward<DescriptionT>(value);
94 }
95 template <typename DescriptionT = Aws::String>
96 GetAccountPoolResult& WithDescription(DescriptionT&& value) {
97 SetDescription(std::forward<DescriptionT>(value));
98 return *this;
99 }
101
103
107 inline ResolutionStrategy GetResolutionStrategy() const { return m_resolutionStrategy; }
109 m_resolutionStrategyHasBeenSet = true;
110 m_resolutionStrategy = value;
111 }
114 return *this;
115 }
117
119
124 inline const AccountSource& GetAccountSource() const { return m_accountSource; }
125 template <typename AccountSourceT = AccountSource>
126 void SetAccountSource(AccountSourceT&& value) {
127 m_accountSourceHasBeenSet = true;
128 m_accountSource = std::forward<AccountSourceT>(value);
129 }
130 template <typename AccountSourceT = AccountSource>
131 GetAccountPoolResult& WithAccountSource(AccountSourceT&& value) {
132 SetAccountSource(std::forward<AccountSourceT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
142 template <typename CreatedByT = Aws::String>
143 void SetCreatedBy(CreatedByT&& value) {
144 m_createdByHasBeenSet = true;
145 m_createdBy = std::forward<CreatedByT>(value);
146 }
147 template <typename CreatedByT = Aws::String>
148 GetAccountPoolResult& WithCreatedBy(CreatedByT&& value) {
149 SetCreatedBy(std::forward<CreatedByT>(value));
150 return *this;
151 }
153
155
158 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
159 template <typename CreatedAtT = Aws::Utils::DateTime>
160 void SetCreatedAt(CreatedAtT&& value) {
161 m_createdAtHasBeenSet = true;
162 m_createdAt = std::forward<CreatedAtT>(value);
163 }
164 template <typename CreatedAtT = Aws::Utils::DateTime>
165 GetAccountPoolResult& WithCreatedAt(CreatedAtT&& value) {
166 SetCreatedAt(std::forward<CreatedAtT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
176 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
177 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
178 m_lastUpdatedAtHasBeenSet = true;
179 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
180 }
181 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
182 GetAccountPoolResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
183 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
193 template <typename UpdatedByT = Aws::String>
194 void SetUpdatedBy(UpdatedByT&& value) {
195 m_updatedByHasBeenSet = true;
196 m_updatedBy = std::forward<UpdatedByT>(value);
197 }
198 template <typename UpdatedByT = Aws::String>
199 GetAccountPoolResult& WithUpdatedBy(UpdatedByT&& value) {
200 SetUpdatedBy(std::forward<UpdatedByT>(value));
201 return *this;
202 }
204
206
209 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
210 template <typename DomainUnitIdT = Aws::String>
211 void SetDomainUnitId(DomainUnitIdT&& value) {
212 m_domainUnitIdHasBeenSet = true;
213 m_domainUnitId = std::forward<DomainUnitIdT>(value);
214 }
215 template <typename DomainUnitIdT = Aws::String>
216 GetAccountPoolResult& WithDomainUnitId(DomainUnitIdT&& value) {
217 SetDomainUnitId(std::forward<DomainUnitIdT>(value));
218 return *this;
219 }
221
223
224 inline const Aws::String& GetRequestId() const { return m_requestId; }
225 template <typename RequestIdT = Aws::String>
226 void SetRequestId(RequestIdT&& value) {
227 m_requestIdHasBeenSet = true;
228 m_requestId = std::forward<RequestIdT>(value);
229 }
230 template <typename RequestIdT = Aws::String>
231 GetAccountPoolResult& WithRequestId(RequestIdT&& value) {
232 SetRequestId(std::forward<RequestIdT>(value));
233 return *this;
234 }
236 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
237
238 private:
239 Aws::String m_domainId;
240
241 Aws::String m_name;
242
243 Aws::String m_id;
244
245 Aws::String m_description;
246
248
249 AccountSource m_accountSource;
250
251 Aws::String m_createdBy;
252
253 Aws::Utils::DateTime m_createdAt{};
254
255 Aws::Utils::DateTime m_lastUpdatedAt{};
256
257 Aws::String m_updatedBy;
258
259 Aws::String m_domainUnitId;
260
261 Aws::String m_requestId;
262 Aws::Http::HttpResponseCode m_HttpResponseCode;
263 bool m_domainIdHasBeenSet = false;
264 bool m_nameHasBeenSet = false;
265 bool m_idHasBeenSet = false;
266 bool m_descriptionHasBeenSet = false;
267 bool m_resolutionStrategyHasBeenSet = false;
268 bool m_accountSourceHasBeenSet = false;
269 bool m_createdByHasBeenSet = false;
270 bool m_createdAtHasBeenSet = false;
271 bool m_lastUpdatedAtHasBeenSet = false;
272 bool m_updatedByHasBeenSet = false;
273 bool m_domainUnitIdHasBeenSet = false;
274 bool m_requestIdHasBeenSet = false;
275};
276
277} // namespace Model
278} // namespace DataZone
279} // namespace Aws
GetAccountPoolResult & WithCreatedBy(CreatedByT &&value)
GetAccountPoolResult & WithUpdatedBy(UpdatedByT &&value)
GetAccountPoolResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
GetAccountPoolResult & WithAccountSource(AccountSourceT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetAccountPoolResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API GetAccountPoolResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccountPoolResult & WithDomainId(DomainIdT &&value)
GetAccountPoolResult & WithName(NameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetAccountPoolResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetResolutionStrategy(ResolutionStrategy value)
GetAccountPoolResult & WithResolutionStrategy(ResolutionStrategy value)
AWS_DATAZONE_API GetAccountPoolResult()=default
GetAccountPoolResult & WithId(IdT &&value)
AWS_DATAZONE_API GetAccountPoolResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccountPoolResult & WithDescription(DescriptionT &&value)
GetAccountPoolResult & WithDomainUnitId(DomainUnitIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue