AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
GetAccountPoolResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/AccountSource.h>
11#include <aws/datazone/model/ResolutionStrategy.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 DataZone {
25namespace Model {
27 public:
28 AWS_DATAZONE_API GetAccountPoolResult() = default;
31
33
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>
44 GetAccountPoolResult& WithDomainId(DomainIdT&& value) {
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>
95 GetAccountPoolResult& WithDescription(DescriptionT&& value) {
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>
130 GetAccountPoolResult& WithAccountSource(AccountSourceT&& value) {
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>
147 GetAccountPoolResult& WithCreatedBy(CreatedByT&& value) {
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>
164 GetAccountPoolResult& WithCreatedAt(CreatedAtT&& value) {
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>
181 GetAccountPoolResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
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>
198 GetAccountPoolResult& WithUpdatedBy(UpdatedByT&& value) {
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>
215 GetAccountPoolResult& WithDomainUnitId(DomainUnitIdT&& value) {
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>
230 GetAccountPoolResult& WithRequestId(RequestIdT&& value) {
231 SetRequestId(std::forward<RequestIdT>(value));
232 return *this;
233 }
235 private:
236 Aws::String m_domainId;
237
238 Aws::String m_name;
239
240 Aws::String m_id;
241
242 Aws::String m_description;
243
245
246 AccountSource m_accountSource;
247
248 Aws::String m_createdBy;
249
250 Aws::Utils::DateTime m_createdAt{};
251
252 Aws::Utils::DateTime m_lastUpdatedAt{};
253
254 Aws::String m_updatedBy;
255
256 Aws::String m_domainUnitId;
257
258 Aws::String m_requestId;
259 bool m_domainIdHasBeenSet = false;
260 bool m_nameHasBeenSet = false;
261 bool m_idHasBeenSet = false;
262 bool m_descriptionHasBeenSet = false;
263 bool m_resolutionStrategyHasBeenSet = false;
264 bool m_accountSourceHasBeenSet = false;
265 bool m_createdByHasBeenSet = false;
266 bool m_createdAtHasBeenSet = false;
267 bool m_lastUpdatedAtHasBeenSet = false;
268 bool m_updatedByHasBeenSet = false;
269 bool m_domainUnitIdHasBeenSet = false;
270 bool m_requestIdHasBeenSet = false;
271};
272
273} // namespace Model
274} // namespace DataZone
275} // 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)
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