AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetSpaceResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/repostspace/Repostspace_EXPORTS.h>
12#include <aws/repostspace/model/ConfigurationStatus.h>
13#include <aws/repostspace/model/Role.h>
14#include <aws/repostspace/model/SupportedEmailDomainsStatus.h>
15#include <aws/repostspace/model/TierLevel.h>
16#include <aws/repostspace/model/VanityDomainStatus.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace repostspace {
30namespace Model {
32 public:
33 AWS_REPOSTSPACE_API GetSpaceResult() = default;
36
38
41 inline const Aws::String& GetSpaceId() const { return m_spaceId; }
42 template <typename SpaceIdT = Aws::String>
43 void SetSpaceId(SpaceIdT&& value) {
44 m_spaceIdHasBeenSet = true;
45 m_spaceId = std::forward<SpaceIdT>(value);
46 }
47 template <typename SpaceIdT = Aws::String>
48 GetSpaceResult& WithSpaceId(SpaceIdT&& value) {
49 SetSpaceId(std::forward<SpaceIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 template <typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) {
61 m_arnHasBeenSet = true;
62 m_arn = std::forward<ArnT>(value);
63 }
64 template <typename ArnT = Aws::String>
65 GetSpaceResult& WithArn(ArnT&& value) {
66 SetArn(std::forward<ArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
82 GetSpaceResult& WithName(NameT&& value) {
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetStatus() const { return m_status; }
93 template <typename StatusT = Aws::String>
94 void SetStatus(StatusT&& value) {
95 m_statusHasBeenSet = true;
96 m_status = std::forward<StatusT>(value);
97 }
98 template <typename StatusT = Aws::String>
99 GetSpaceResult& WithStatus(StatusT&& value) {
100 SetStatus(std::forward<StatusT>(value));
101 return *this;
102 }
104
106
109 inline ConfigurationStatus GetConfigurationStatus() const { return m_configurationStatus; }
111 m_configurationStatusHasBeenSet = true;
112 m_configurationStatus = value;
113 }
116 return *this;
117 }
119
121
124 inline const Aws::String& GetClientId() const { return m_clientId; }
125 template <typename ClientIdT = Aws::String>
126 void SetClientId(ClientIdT&& value) {
127 m_clientIdHasBeenSet = true;
128 m_clientId = std::forward<ClientIdT>(value);
129 }
130 template <typename ClientIdT = Aws::String>
131 GetSpaceResult& WithClientId(ClientIdT&& value) {
132 SetClientId(std::forward<ClientIdT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetIdentityStoreId() const { return m_identityStoreId; }
142 template <typename IdentityStoreIdT = Aws::String>
143 void SetIdentityStoreId(IdentityStoreIdT&& value) {
144 m_identityStoreIdHasBeenSet = true;
145 m_identityStoreId = std::forward<IdentityStoreIdT>(value);
146 }
147 template <typename IdentityStoreIdT = Aws::String>
148 GetSpaceResult& WithIdentityStoreId(IdentityStoreIdT&& value) {
149 SetIdentityStoreId(std::forward<IdentityStoreIdT>(value));
150 return *this;
151 }
153
155
158 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
159 template <typename ApplicationArnT = Aws::String>
160 void SetApplicationArn(ApplicationArnT&& value) {
161 m_applicationArnHasBeenSet = true;
162 m_applicationArn = std::forward<ApplicationArnT>(value);
163 }
164 template <typename ApplicationArnT = Aws::String>
165 GetSpaceResult& WithApplicationArn(ApplicationArnT&& value) {
166 SetApplicationArn(std::forward<ApplicationArnT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::String& GetDescription() const { return m_description; }
176 template <typename DescriptionT = Aws::String>
177 void SetDescription(DescriptionT&& value) {
178 m_descriptionHasBeenSet = true;
179 m_description = std::forward<DescriptionT>(value);
180 }
181 template <typename DescriptionT = Aws::String>
182 GetSpaceResult& WithDescription(DescriptionT&& value) {
183 SetDescription(std::forward<DescriptionT>(value));
184 return *this;
185 }
187
189
192 inline VanityDomainStatus GetVanityDomainStatus() const { return m_vanityDomainStatus; }
194 m_vanityDomainStatusHasBeenSet = true;
195 m_vanityDomainStatus = value;
196 }
199 return *this;
200 }
202
204
208 inline const Aws::String& GetVanityDomain() const { return m_vanityDomain; }
209 template <typename VanityDomainT = Aws::String>
210 void SetVanityDomain(VanityDomainT&& value) {
211 m_vanityDomainHasBeenSet = true;
212 m_vanityDomain = std::forward<VanityDomainT>(value);
213 }
214 template <typename VanityDomainT = Aws::String>
215 GetSpaceResult& WithVanityDomain(VanityDomainT&& value) {
216 SetVanityDomain(std::forward<VanityDomainT>(value));
217 return *this;
218 }
220
222
225 inline const Aws::String& GetRandomDomain() const { return m_randomDomain; }
226 template <typename RandomDomainT = Aws::String>
227 void SetRandomDomain(RandomDomainT&& value) {
228 m_randomDomainHasBeenSet = true;
229 m_randomDomain = std::forward<RandomDomainT>(value);
230 }
231 template <typename RandomDomainT = Aws::String>
232 GetSpaceResult& WithRandomDomain(RandomDomainT&& value) {
233 SetRandomDomain(std::forward<RandomDomainT>(value));
234 return *this;
235 }
237
239
243 inline const Aws::String& GetCustomerRoleArn() const { return m_customerRoleArn; }
244 template <typename CustomerRoleArnT = Aws::String>
245 void SetCustomerRoleArn(CustomerRoleArnT&& value) {
246 m_customerRoleArnHasBeenSet = true;
247 m_customerRoleArn = std::forward<CustomerRoleArnT>(value);
248 }
249 template <typename CustomerRoleArnT = Aws::String>
250 GetSpaceResult& WithCustomerRoleArn(CustomerRoleArnT&& value) {
251 SetCustomerRoleArn(std::forward<CustomerRoleArnT>(value));
252 return *this;
253 }
255
257
260 inline const Aws::Utils::DateTime& GetCreateDateTime() const { return m_createDateTime; }
261 template <typename CreateDateTimeT = Aws::Utils::DateTime>
262 void SetCreateDateTime(CreateDateTimeT&& value) {
263 m_createDateTimeHasBeenSet = true;
264 m_createDateTime = std::forward<CreateDateTimeT>(value);
265 }
266 template <typename CreateDateTimeT = Aws::Utils::DateTime>
267 GetSpaceResult& WithCreateDateTime(CreateDateTimeT&& value) {
268 SetCreateDateTime(std::forward<CreateDateTimeT>(value));
269 return *this;
270 }
272
274
277 inline const Aws::Utils::DateTime& GetDeleteDateTime() const { return m_deleteDateTime; }
278 template <typename DeleteDateTimeT = Aws::Utils::DateTime>
279 void SetDeleteDateTime(DeleteDateTimeT&& value) {
280 m_deleteDateTimeHasBeenSet = true;
281 m_deleteDateTime = std::forward<DeleteDateTimeT>(value);
282 }
283 template <typename DeleteDateTimeT = Aws::Utils::DateTime>
284 GetSpaceResult& WithDeleteDateTime(DeleteDateTimeT&& value) {
285 SetDeleteDateTime(std::forward<DeleteDateTimeT>(value));
286 return *this;
287 }
289
291
294 inline TierLevel GetTier() const { return m_tier; }
295 inline void SetTier(TierLevel value) {
296 m_tierHasBeenSet = true;
297 m_tier = value;
298 }
300 SetTier(value);
301 return *this;
302 }
304
306
309 inline long long GetStorageLimit() const { return m_storageLimit; }
310 inline void SetStorageLimit(long long value) {
311 m_storageLimitHasBeenSet = true;
312 m_storageLimit = value;
313 }
314 inline GetSpaceResult& WithStorageLimit(long long value) {
315 SetStorageLimit(value);
316 return *this;
317 }
319
321
324 inline const Aws::Map<Aws::String, Aws::Vector<Role>>& GetRoles() const { return m_roles; }
325 template <typename RolesT = Aws::Map<Aws::String, Aws::Vector<Role>>>
326 void SetRoles(RolesT&& value) {
327 m_rolesHasBeenSet = true;
328 m_roles = std::forward<RolesT>(value);
329 }
330 template <typename RolesT = Aws::Map<Aws::String, Aws::Vector<Role>>>
331 GetSpaceResult& WithRoles(RolesT&& value) {
332 SetRoles(std::forward<RolesT>(value));
333 return *this;
334 }
335 template <typename RolesKeyT = Aws::String, typename RolesValueT = Aws::Vector<Role>>
336 GetSpaceResult& AddRoles(RolesKeyT&& key, RolesValueT&& value) {
337 m_rolesHasBeenSet = true;
338 m_roles.emplace(std::forward<RolesKeyT>(key), std::forward<RolesValueT>(value));
339 return *this;
340 }
342
344
347 inline const Aws::String& GetUserKMSKey() const { return m_userKMSKey; }
348 template <typename UserKMSKeyT = Aws::String>
349 void SetUserKMSKey(UserKMSKeyT&& value) {
350 m_userKMSKeyHasBeenSet = true;
351 m_userKMSKey = std::forward<UserKMSKeyT>(value);
352 }
353 template <typename UserKMSKeyT = Aws::String>
354 GetSpaceResult& WithUserKMSKey(UserKMSKeyT&& value) {
355 SetUserKMSKey(std::forward<UserKMSKeyT>(value));
356 return *this;
357 }
359
361
364 inline int GetUserCount() const { return m_userCount; }
365 inline void SetUserCount(int value) {
366 m_userCountHasBeenSet = true;
367 m_userCount = value;
368 }
369 inline GetSpaceResult& WithUserCount(int value) {
370 SetUserCount(value);
371 return *this;
372 }
374
376
379 inline long long GetContentSize() const { return m_contentSize; }
380 inline void SetContentSize(long long value) {
381 m_contentSizeHasBeenSet = true;
382 m_contentSize = value;
383 }
384 inline GetSpaceResult& WithContentSize(long long value) {
385 SetContentSize(value);
386 return *this;
387 }
389
391
394 inline const SupportedEmailDomainsStatus& GetSupportedEmailDomains() const { return m_supportedEmailDomains; }
395 template <typename SupportedEmailDomainsT = SupportedEmailDomainsStatus>
396 void SetSupportedEmailDomains(SupportedEmailDomainsT&& value) {
397 m_supportedEmailDomainsHasBeenSet = true;
398 m_supportedEmailDomains = std::forward<SupportedEmailDomainsT>(value);
399 }
400 template <typename SupportedEmailDomainsT = SupportedEmailDomainsStatus>
401 GetSpaceResult& WithSupportedEmailDomains(SupportedEmailDomainsT&& value) {
402 SetSupportedEmailDomains(std::forward<SupportedEmailDomainsT>(value));
403 return *this;
404 }
406
408
409 inline const Aws::String& GetRequestId() const { return m_requestId; }
410 template <typename RequestIdT = Aws::String>
411 void SetRequestId(RequestIdT&& value) {
412 m_requestIdHasBeenSet = true;
413 m_requestId = std::forward<RequestIdT>(value);
414 }
415 template <typename RequestIdT = Aws::String>
416 GetSpaceResult& WithRequestId(RequestIdT&& value) {
417 SetRequestId(std::forward<RequestIdT>(value));
418 return *this;
419 }
421 private:
422 Aws::String m_spaceId;
423
424 Aws::String m_arn;
425
426 Aws::String m_name;
427
428 Aws::String m_status;
429
431
432 Aws::String m_clientId;
433
434 Aws::String m_identityStoreId;
435
436 Aws::String m_applicationArn;
437
438 Aws::String m_description;
439
441
442 Aws::String m_vanityDomain;
443
444 Aws::String m_randomDomain;
445
446 Aws::String m_customerRoleArn;
447
448 Aws::Utils::DateTime m_createDateTime{};
449
450 Aws::Utils::DateTime m_deleteDateTime{};
451
453
454 long long m_storageLimit{0};
455
457
458 Aws::String m_userKMSKey;
459
460 int m_userCount{0};
461
462 long long m_contentSize{0};
463
464 SupportedEmailDomainsStatus m_supportedEmailDomains;
465
466 Aws::String m_requestId;
467 bool m_spaceIdHasBeenSet = false;
468 bool m_arnHasBeenSet = false;
469 bool m_nameHasBeenSet = false;
470 bool m_statusHasBeenSet = false;
471 bool m_configurationStatusHasBeenSet = false;
472 bool m_clientIdHasBeenSet = false;
473 bool m_identityStoreIdHasBeenSet = false;
474 bool m_applicationArnHasBeenSet = false;
475 bool m_descriptionHasBeenSet = false;
476 bool m_vanityDomainStatusHasBeenSet = false;
477 bool m_vanityDomainHasBeenSet = false;
478 bool m_randomDomainHasBeenSet = false;
479 bool m_customerRoleArnHasBeenSet = false;
480 bool m_createDateTimeHasBeenSet = false;
481 bool m_deleteDateTimeHasBeenSet = false;
482 bool m_tierHasBeenSet = false;
483 bool m_storageLimitHasBeenSet = false;
484 bool m_rolesHasBeenSet = false;
485 bool m_userKMSKeyHasBeenSet = false;
486 bool m_userCountHasBeenSet = false;
487 bool m_contentSizeHasBeenSet = false;
488 bool m_supportedEmailDomainsHasBeenSet = false;
489 bool m_requestIdHasBeenSet = false;
490};
491
492} // namespace Model
493} // namespace repostspace
494} // 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)
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