AWS SDK for C++

AWS SDK for C++ Version 1.11.749

Loading...
Searching...
No Matches
UpdateAccountPoolResult.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 UpdateAccountPoolResult() = default;
31
33
36 inline const Aws::String& GetDomainId() const { return m_domainId; }
37 template <typename DomainIdT = Aws::String>
38 void SetDomainId(DomainIdT&& value) {
39 m_domainIdHasBeenSet = true;
40 m_domainId = std::forward<DomainIdT>(value);
41 }
42 template <typename DomainIdT = Aws::String>
44 SetDomainId(std::forward<DomainIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 template <typename NameT = Aws::String>
55 void SetName(NameT&& value) {
56 m_nameHasBeenSet = true;
57 m_name = std::forward<NameT>(value);
58 }
59 template <typename NameT = Aws::String>
61 SetName(std::forward<NameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetId() const { return m_id; }
71 template <typename IdT = Aws::String>
72 void SetId(IdT&& value) {
73 m_idHasBeenSet = true;
74 m_id = std::forward<IdT>(value);
75 }
76 template <typename IdT = Aws::String>
78 SetId(std::forward<IdT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 template <typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) {
90 m_descriptionHasBeenSet = true;
91 m_description = std::forward<DescriptionT>(value);
92 }
93 template <typename DescriptionT = Aws::String>
95 SetDescription(std::forward<DescriptionT>(value));
96 return *this;
97 }
99
101
105 inline ResolutionStrategy GetResolutionStrategy() const { return m_resolutionStrategy; }
107 m_resolutionStrategyHasBeenSet = true;
108 m_resolutionStrategy = value;
109 }
112 return *this;
113 }
115
117
122 inline const AccountSource& GetAccountSource() const { return m_accountSource; }
123 template <typename AccountSourceT = AccountSource>
124 void SetAccountSource(AccountSourceT&& value) {
125 m_accountSourceHasBeenSet = true;
126 m_accountSource = std::forward<AccountSourceT>(value);
127 }
128 template <typename AccountSourceT = AccountSource>
130 SetAccountSource(std::forward<AccountSourceT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
140 template <typename CreatedByT = Aws::String>
141 void SetCreatedBy(CreatedByT&& value) {
142 m_createdByHasBeenSet = true;
143 m_createdBy = std::forward<CreatedByT>(value);
144 }
145 template <typename CreatedByT = Aws::String>
147 SetCreatedBy(std::forward<CreatedByT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
157 template <typename CreatedAtT = Aws::Utils::DateTime>
158 void SetCreatedAt(CreatedAtT&& value) {
159 m_createdAtHasBeenSet = true;
160 m_createdAt = std::forward<CreatedAtT>(value);
161 }
162 template <typename CreatedAtT = Aws::Utils::DateTime>
164 SetCreatedAt(std::forward<CreatedAtT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
174 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
175 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
176 m_lastUpdatedAtHasBeenSet = true;
177 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
178 }
179 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
181 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
191 template <typename UpdatedByT = Aws::String>
192 void SetUpdatedBy(UpdatedByT&& value) {
193 m_updatedByHasBeenSet = true;
194 m_updatedBy = std::forward<UpdatedByT>(value);
195 }
196 template <typename UpdatedByT = Aws::String>
198 SetUpdatedBy(std::forward<UpdatedByT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
208 template <typename DomainUnitIdT = Aws::String>
209 void SetDomainUnitId(DomainUnitIdT&& value) {
210 m_domainUnitIdHasBeenSet = true;
211 m_domainUnitId = std::forward<DomainUnitIdT>(value);
212 }
213 template <typename DomainUnitIdT = Aws::String>
215 SetDomainUnitId(std::forward<DomainUnitIdT>(value));
216 return *this;
217 }
219
221
222 inline const Aws::String& GetRequestId() const { return m_requestId; }
223 template <typename RequestIdT = Aws::String>
224 void SetRequestId(RequestIdT&& value) {
225 m_requestIdHasBeenSet = true;
226 m_requestId = std::forward<RequestIdT>(value);
227 }
228 template <typename RequestIdT = Aws::String>
230 SetRequestId(std::forward<RequestIdT>(value));
231 return *this;
232 }
234 private:
235 Aws::String m_domainId;
236
237 Aws::String m_name;
238
239 Aws::String m_id;
240
241 Aws::String m_description;
242
244
245 AccountSource m_accountSource;
246
247 Aws::String m_createdBy;
248
249 Aws::Utils::DateTime m_createdAt{};
250
251 Aws::Utils::DateTime m_lastUpdatedAt{};
252
253 Aws::String m_updatedBy;
254
255 Aws::String m_domainUnitId;
256
257 Aws::String m_requestId;
258 bool m_domainIdHasBeenSet = false;
259 bool m_nameHasBeenSet = false;
260 bool m_idHasBeenSet = false;
261 bool m_descriptionHasBeenSet = false;
262 bool m_resolutionStrategyHasBeenSet = false;
263 bool m_accountSourceHasBeenSet = false;
264 bool m_createdByHasBeenSet = false;
265 bool m_createdAtHasBeenSet = false;
266 bool m_lastUpdatedAtHasBeenSet = false;
267 bool m_updatedByHasBeenSet = false;
268 bool m_domainUnitIdHasBeenSet = false;
269 bool m_requestIdHasBeenSet = false;
270};
271
272} // namespace Model
273} // namespace DataZone
274} // namespace Aws
UpdateAccountPoolResult & WithCreatedAt(CreatedAtT &&value)
UpdateAccountPoolResult & WithId(IdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateAccountPoolResult & WithAccountSource(AccountSourceT &&value)
UpdateAccountPoolResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
UpdateAccountPoolResult & WithName(NameT &&value)
UpdateAccountPoolResult & WithDomainId(DomainIdT &&value)
UpdateAccountPoolResult & WithCreatedBy(CreatedByT &&value)
UpdateAccountPoolResult & WithResolutionStrategy(ResolutionStrategy value)
UpdateAccountPoolResult & WithDomainUnitId(DomainUnitIdT &&value)
UpdateAccountPoolResult & WithDescription(DescriptionT &&value)
UpdateAccountPoolResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API UpdateAccountPoolResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAccountPoolResult & WithUpdatedBy(UpdatedByT &&value)
AWS_DATAZONE_API UpdateAccountPoolResult()=default
AWS_DATAZONE_API UpdateAccountPoolResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue