AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetSpaceResult.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/repostspace/Repostspace_EXPORTS.h>
13#include <aws/repostspace/model/ConfigurationStatus.h>
14#include <aws/repostspace/model/Role.h>
15#include <aws/repostspace/model/SupportedEmailDomainsStatus.h>
16#include <aws/repostspace/model/TierLevel.h>
17#include <aws/repostspace/model/VanityDomainStatus.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace repostspace {
31namespace Model {
33 public:
34 AWS_REPOSTSPACE_API GetSpaceResult() = default;
37
39
42 inline const Aws::String& GetSpaceId() const { return m_spaceId; }
43 template <typename SpaceIdT = Aws::String>
44 void SetSpaceId(SpaceIdT&& value) {
45 m_spaceIdHasBeenSet = true;
46 m_spaceId = std::forward<SpaceIdT>(value);
47 }
48 template <typename SpaceIdT = Aws::String>
49 GetSpaceResult& WithSpaceId(SpaceIdT&& value) {
50 SetSpaceId(std::forward<SpaceIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 template <typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) {
62 m_arnHasBeenSet = true;
63 m_arn = std::forward<ArnT>(value);
64 }
65 template <typename ArnT = Aws::String>
66 GetSpaceResult& WithArn(ArnT&& value) {
67 SetArn(std::forward<ArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
83 GetSpaceResult& WithName(NameT&& value) {
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetStatus() const { return m_status; }
94 template <typename StatusT = Aws::String>
95 void SetStatus(StatusT&& value) {
96 m_statusHasBeenSet = true;
97 m_status = std::forward<StatusT>(value);
98 }
99 template <typename StatusT = Aws::String>
100 GetSpaceResult& WithStatus(StatusT&& value) {
101 SetStatus(std::forward<StatusT>(value));
102 return *this;
103 }
105
107
110 inline ConfigurationStatus GetConfigurationStatus() const { return m_configurationStatus; }
112 m_configurationStatusHasBeenSet = true;
113 m_configurationStatus = value;
114 }
117 return *this;
118 }
120
122
125 inline const Aws::String& GetClientId() const { return m_clientId; }
126 template <typename ClientIdT = Aws::String>
127 void SetClientId(ClientIdT&& value) {
128 m_clientIdHasBeenSet = true;
129 m_clientId = std::forward<ClientIdT>(value);
130 }
131 template <typename ClientIdT = Aws::String>
132 GetSpaceResult& WithClientId(ClientIdT&& value) {
133 SetClientId(std::forward<ClientIdT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::String& GetIdentityStoreId() const { return m_identityStoreId; }
143 template <typename IdentityStoreIdT = Aws::String>
144 void SetIdentityStoreId(IdentityStoreIdT&& value) {
145 m_identityStoreIdHasBeenSet = true;
146 m_identityStoreId = std::forward<IdentityStoreIdT>(value);
147 }
148 template <typename IdentityStoreIdT = Aws::String>
149 GetSpaceResult& WithIdentityStoreId(IdentityStoreIdT&& value) {
150 SetIdentityStoreId(std::forward<IdentityStoreIdT>(value));
151 return *this;
152 }
154
156
159 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
160 template <typename ApplicationArnT = Aws::String>
161 void SetApplicationArn(ApplicationArnT&& value) {
162 m_applicationArnHasBeenSet = true;
163 m_applicationArn = std::forward<ApplicationArnT>(value);
164 }
165 template <typename ApplicationArnT = Aws::String>
166 GetSpaceResult& WithApplicationArn(ApplicationArnT&& value) {
167 SetApplicationArn(std::forward<ApplicationArnT>(value));
168 return *this;
169 }
171
173
176 inline const Aws::String& GetDescription() const { return m_description; }
177 template <typename DescriptionT = Aws::String>
178 void SetDescription(DescriptionT&& value) {
179 m_descriptionHasBeenSet = true;
180 m_description = std::forward<DescriptionT>(value);
181 }
182 template <typename DescriptionT = Aws::String>
183 GetSpaceResult& WithDescription(DescriptionT&& value) {
184 SetDescription(std::forward<DescriptionT>(value));
185 return *this;
186 }
188
190
193 inline VanityDomainStatus GetVanityDomainStatus() const { return m_vanityDomainStatus; }
195 m_vanityDomainStatusHasBeenSet = true;
196 m_vanityDomainStatus = value;
197 }
200 return *this;
201 }
203
205
209 inline const Aws::String& GetVanityDomain() const { return m_vanityDomain; }
210 template <typename VanityDomainT = Aws::String>
211 void SetVanityDomain(VanityDomainT&& value) {
212 m_vanityDomainHasBeenSet = true;
213 m_vanityDomain = std::forward<VanityDomainT>(value);
214 }
215 template <typename VanityDomainT = Aws::String>
216 GetSpaceResult& WithVanityDomain(VanityDomainT&& value) {
217 SetVanityDomain(std::forward<VanityDomainT>(value));
218 return *this;
219 }
221
223
226 inline const Aws::String& GetRandomDomain() const { return m_randomDomain; }
227 template <typename RandomDomainT = Aws::String>
228 void SetRandomDomain(RandomDomainT&& value) {
229 m_randomDomainHasBeenSet = true;
230 m_randomDomain = std::forward<RandomDomainT>(value);
231 }
232 template <typename RandomDomainT = Aws::String>
233 GetSpaceResult& WithRandomDomain(RandomDomainT&& value) {
234 SetRandomDomain(std::forward<RandomDomainT>(value));
235 return *this;
236 }
238
240
244 inline const Aws::String& GetCustomerRoleArn() const { return m_customerRoleArn; }
245 template <typename CustomerRoleArnT = Aws::String>
246 void SetCustomerRoleArn(CustomerRoleArnT&& value) {
247 m_customerRoleArnHasBeenSet = true;
248 m_customerRoleArn = std::forward<CustomerRoleArnT>(value);
249 }
250 template <typename CustomerRoleArnT = Aws::String>
251 GetSpaceResult& WithCustomerRoleArn(CustomerRoleArnT&& value) {
252 SetCustomerRoleArn(std::forward<CustomerRoleArnT>(value));
253 return *this;
254 }
256
258
261 inline const Aws::Utils::DateTime& GetCreateDateTime() const { return m_createDateTime; }
262 template <typename CreateDateTimeT = Aws::Utils::DateTime>
263 void SetCreateDateTime(CreateDateTimeT&& value) {
264 m_createDateTimeHasBeenSet = true;
265 m_createDateTime = std::forward<CreateDateTimeT>(value);
266 }
267 template <typename CreateDateTimeT = Aws::Utils::DateTime>
268 GetSpaceResult& WithCreateDateTime(CreateDateTimeT&& value) {
269 SetCreateDateTime(std::forward<CreateDateTimeT>(value));
270 return *this;
271 }
273
275
278 inline const Aws::Utils::DateTime& GetDeleteDateTime() const { return m_deleteDateTime; }
279 template <typename DeleteDateTimeT = Aws::Utils::DateTime>
280 void SetDeleteDateTime(DeleteDateTimeT&& value) {
281 m_deleteDateTimeHasBeenSet = true;
282 m_deleteDateTime = std::forward<DeleteDateTimeT>(value);
283 }
284 template <typename DeleteDateTimeT = Aws::Utils::DateTime>
285 GetSpaceResult& WithDeleteDateTime(DeleteDateTimeT&& value) {
286 SetDeleteDateTime(std::forward<DeleteDateTimeT>(value));
287 return *this;
288 }
290
292
295 inline TierLevel GetTier() const { return m_tier; }
296 inline void SetTier(TierLevel value) {
297 m_tierHasBeenSet = true;
298 m_tier = value;
299 }
301 SetTier(value);
302 return *this;
303 }
305
307
310 inline long long GetStorageLimit() const { return m_storageLimit; }
311 inline void SetStorageLimit(long long value) {
312 m_storageLimitHasBeenSet = true;
313 m_storageLimit = value;
314 }
315 inline GetSpaceResult& WithStorageLimit(long long value) {
316 SetStorageLimit(value);
317 return *this;
318 }
320
322
325 inline const Aws::Map<Aws::String, Aws::Vector<Role>>& GetRoles() const { return m_roles; }
326 template <typename RolesT = Aws::Map<Aws::String, Aws::Vector<Role>>>
327 void SetRoles(RolesT&& value) {
328 m_rolesHasBeenSet = true;
329 m_roles = std::forward<RolesT>(value);
330 }
331 template <typename RolesT = Aws::Map<Aws::String, Aws::Vector<Role>>>
332 GetSpaceResult& WithRoles(RolesT&& value) {
333 SetRoles(std::forward<RolesT>(value));
334 return *this;
335 }
336 template <typename RolesKeyT = Aws::String, typename RolesValueT = Aws::Vector<Role>>
337 GetSpaceResult& AddRoles(RolesKeyT&& key, RolesValueT&& value) {
338 m_rolesHasBeenSet = true;
339 m_roles.emplace(std::forward<RolesKeyT>(key), std::forward<RolesValueT>(value));
340 return *this;
341 }
343
345
348 inline const Aws::String& GetUserKMSKey() const { return m_userKMSKey; }
349 template <typename UserKMSKeyT = Aws::String>
350 void SetUserKMSKey(UserKMSKeyT&& value) {
351 m_userKMSKeyHasBeenSet = true;
352 m_userKMSKey = std::forward<UserKMSKeyT>(value);
353 }
354 template <typename UserKMSKeyT = Aws::String>
355 GetSpaceResult& WithUserKMSKey(UserKMSKeyT&& value) {
356 SetUserKMSKey(std::forward<UserKMSKeyT>(value));
357 return *this;
358 }
360
362
365 inline int GetUserCount() const { return m_userCount; }
366 inline void SetUserCount(int value) {
367 m_userCountHasBeenSet = true;
368 m_userCount = value;
369 }
370 inline GetSpaceResult& WithUserCount(int value) {
371 SetUserCount(value);
372 return *this;
373 }
375
377
380 inline long long GetContentSize() const { return m_contentSize; }
381 inline void SetContentSize(long long value) {
382 m_contentSizeHasBeenSet = true;
383 m_contentSize = value;
384 }
385 inline GetSpaceResult& WithContentSize(long long value) {
386 SetContentSize(value);
387 return *this;
388 }
390
392
395 inline const SupportedEmailDomainsStatus& GetSupportedEmailDomains() const { return m_supportedEmailDomains; }
396 template <typename SupportedEmailDomainsT = SupportedEmailDomainsStatus>
397 void SetSupportedEmailDomains(SupportedEmailDomainsT&& value) {
398 m_supportedEmailDomainsHasBeenSet = true;
399 m_supportedEmailDomains = std::forward<SupportedEmailDomainsT>(value);
400 }
401 template <typename SupportedEmailDomainsT = SupportedEmailDomainsStatus>
402 GetSpaceResult& WithSupportedEmailDomains(SupportedEmailDomainsT&& value) {
403 SetSupportedEmailDomains(std::forward<SupportedEmailDomainsT>(value));
404 return *this;
405 }
407
409
410 inline const Aws::String& GetRequestId() const { return m_requestId; }
411 template <typename RequestIdT = Aws::String>
412 void SetRequestId(RequestIdT&& value) {
413 m_requestIdHasBeenSet = true;
414 m_requestId = std::forward<RequestIdT>(value);
415 }
416 template <typename RequestIdT = Aws::String>
417 GetSpaceResult& WithRequestId(RequestIdT&& value) {
418 SetRequestId(std::forward<RequestIdT>(value));
419 return *this;
420 }
422 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
423
424 private:
425 Aws::String m_spaceId;
426
427 Aws::String m_arn;
428
429 Aws::String m_name;
430
431 Aws::String m_status;
432
434
435 Aws::String m_clientId;
436
437 Aws::String m_identityStoreId;
438
439 Aws::String m_applicationArn;
440
441 Aws::String m_description;
442
444
445 Aws::String m_vanityDomain;
446
447 Aws::String m_randomDomain;
448
449 Aws::String m_customerRoleArn;
450
451 Aws::Utils::DateTime m_createDateTime{};
452
453 Aws::Utils::DateTime m_deleteDateTime{};
454
456
457 long long m_storageLimit{0};
458
460
461 Aws::String m_userKMSKey;
462
463 int m_userCount{0};
464
465 long long m_contentSize{0};
466
467 SupportedEmailDomainsStatus m_supportedEmailDomains;
468
469 Aws::String m_requestId;
470 Aws::Http::HttpResponseCode m_HttpResponseCode;
471 bool m_spaceIdHasBeenSet = false;
472 bool m_arnHasBeenSet = false;
473 bool m_nameHasBeenSet = false;
474 bool m_statusHasBeenSet = false;
475 bool m_configurationStatusHasBeenSet = false;
476 bool m_clientIdHasBeenSet = false;
477 bool m_identityStoreIdHasBeenSet = false;
478 bool m_applicationArnHasBeenSet = false;
479 bool m_descriptionHasBeenSet = false;
480 bool m_vanityDomainStatusHasBeenSet = false;
481 bool m_vanityDomainHasBeenSet = false;
482 bool m_randomDomainHasBeenSet = false;
483 bool m_customerRoleArnHasBeenSet = false;
484 bool m_createDateTimeHasBeenSet = false;
485 bool m_deleteDateTimeHasBeenSet = false;
486 bool m_tierHasBeenSet = false;
487 bool m_storageLimitHasBeenSet = false;
488 bool m_rolesHasBeenSet = false;
489 bool m_userKMSKeyHasBeenSet = false;
490 bool m_userCountHasBeenSet = false;
491 bool m_contentSizeHasBeenSet = false;
492 bool m_supportedEmailDomainsHasBeenSet = false;
493 bool m_requestIdHasBeenSet = false;
494};
495
496} // namespace Model
497} // namespace repostspace
498} // namespace Aws
const Aws::Utils::DateTime & GetCreateDateTime() const
const Aws::String & GetIdentityStoreId() const
const Aws::String & GetRandomDomain() const
void SetIdentityStoreId(IdentityStoreIdT &&value)
GetSpaceResult & WithName(NameT &&value)
const Aws::String & GetName() const
const Aws::String & GetArn() const
GetSpaceResult & WithSpaceId(SpaceIdT &&value)
const Aws::String & GetClientId() const
GetSpaceResult & WithCustomerRoleArn(CustomerRoleArnT &&value)
void SetSupportedEmailDomains(SupportedEmailDomainsT &&value)
void SetDeleteDateTime(DeleteDateTimeT &&value)
void SetDescription(DescriptionT &&value)
GetSpaceResult & WithTier(TierLevel value)
const Aws::String & GetVanityDomain() const
GetSpaceResult & WithSupportedEmailDomains(SupportedEmailDomainsT &&value)
GetSpaceResult & AddRoles(RolesKeyT &&key, RolesValueT &&value)
AWS_REPOSTSPACE_API GetSpaceResult()=default
void SetConfigurationStatus(ConfigurationStatus value)
GetSpaceResult & WithVanityDomain(VanityDomainT &&value)
GetSpaceResult & WithVanityDomainStatus(VanityDomainStatus value)
GetSpaceResult & WithDeleteDateTime(DeleteDateTimeT &&value)
void SetVanityDomain(VanityDomainT &&value)
GetSpaceResult & WithApplicationArn(ApplicationArnT &&value)
GetSpaceResult & WithCreateDateTime(CreateDateTimeT &&value)
const Aws::String & GetStatus() const
const Aws::Utils::DateTime & GetDeleteDateTime() const
const Aws::String & GetUserKMSKey() const
const Aws::String & GetSpaceId() const
const Aws::String & GetRequestId() const
const Aws::String & GetDescription() const
GetSpaceResult & WithArn(ArnT &&value)
void SetUserKMSKey(UserKMSKeyT &&value)
void SetApplicationArn(ApplicationArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetSpaceResult & WithContentSize(long long value)
ConfigurationStatus GetConfigurationStatus() const
VanityDomainStatus GetVanityDomainStatus() const
void SetCustomerRoleArn(CustomerRoleArnT &&value)
void SetVanityDomainStatus(VanityDomainStatus value)
GetSpaceResult & WithClientId(ClientIdT &&value)
void SetRandomDomain(RandomDomainT &&value)
GetSpaceResult & WithUserKMSKey(UserKMSKeyT &&value)
GetSpaceResult & WithConfigurationStatus(ConfigurationStatus value)
GetSpaceResult & WithStorageLimit(long long value)
GetSpaceResult & WithRandomDomain(RandomDomainT &&value)
AWS_REPOSTSPACE_API GetSpaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSpaceResult & WithUserCount(int value)
const SupportedEmailDomainsStatus & GetSupportedEmailDomains() const
GetSpaceResult & WithStatus(StatusT &&value)
GetSpaceResult & WithIdentityStoreId(IdentityStoreIdT &&value)
const Aws::Map< Aws::String, Aws::Vector< Role > > & GetRoles() const
void SetCreateDateTime(CreateDateTimeT &&value)
GetSpaceResult & WithDescription(DescriptionT &&value)
GetSpaceResult & WithRoles(RolesT &&value)
const Aws::String & GetCustomerRoleArn() const
AWS_REPOSTSPACE_API GetSpaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSpaceResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetApplicationArn() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue