AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetSpaceResult.h
1
6#pragma once
7#include <aws/repostspace/Repostspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/repostspace/model/ConfigurationStatus.h>
10#include <aws/repostspace/model/VanityDomainStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/repostspace/model/TierLevel.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/repostspace/model/SupportedEmailDomainsStatus.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/repostspace/model/Role.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace repostspace
32{
33namespace Model
34{
36 {
37 public:
38 AWS_REPOSTSPACE_API GetSpaceResult() = default;
41
42
44
47 inline const Aws::String& GetSpaceId() const { return m_spaceId; }
48 template<typename SpaceIdT = Aws::String>
49 void SetSpaceId(SpaceIdT&& value) { m_spaceIdHasBeenSet = true; m_spaceId = std::forward<SpaceIdT>(value); }
50 template<typename SpaceIdT = Aws::String>
51 GetSpaceResult& WithSpaceId(SpaceIdT&& value) { SetSpaceId(std::forward<SpaceIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 template<typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
61 template<typename ArnT = Aws::String>
62 GetSpaceResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 template<typename NameT = Aws::String>
71 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
72 template<typename NameT = Aws::String>
73 GetSpaceResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
75
77
80 inline const Aws::String& GetStatus() const { return m_status; }
81 template<typename StatusT = Aws::String>
82 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
83 template<typename StatusT = Aws::String>
84 GetSpaceResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
86
88
91 inline ConfigurationStatus GetConfigurationStatus() const { return m_configurationStatus; }
92 inline void SetConfigurationStatus(ConfigurationStatus value) { m_configurationStatusHasBeenSet = true; m_configurationStatus = value; }
95
97
100 inline const Aws::String& GetClientId() const { return m_clientId; }
101 template<typename ClientIdT = Aws::String>
102 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet = true; m_clientId = std::forward<ClientIdT>(value); }
103 template<typename ClientIdT = Aws::String>
104 GetSpaceResult& WithClientId(ClientIdT&& value) { SetClientId(std::forward<ClientIdT>(value)); return *this;}
106
108
111 inline const Aws::String& GetIdentityStoreId() const { return m_identityStoreId; }
112 template<typename IdentityStoreIdT = Aws::String>
113 void SetIdentityStoreId(IdentityStoreIdT&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::forward<IdentityStoreIdT>(value); }
114 template<typename IdentityStoreIdT = Aws::String>
115 GetSpaceResult& WithIdentityStoreId(IdentityStoreIdT&& value) { SetIdentityStoreId(std::forward<IdentityStoreIdT>(value)); return *this;}
117
119
122 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
123 template<typename ApplicationArnT = Aws::String>
124 void SetApplicationArn(ApplicationArnT&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::forward<ApplicationArnT>(value); }
125 template<typename ApplicationArnT = Aws::String>
126 GetSpaceResult& WithApplicationArn(ApplicationArnT&& value) { SetApplicationArn(std::forward<ApplicationArnT>(value)); return *this;}
128
130
133 inline const Aws::String& GetDescription() const { return m_description; }
134 template<typename DescriptionT = Aws::String>
135 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
136 template<typename DescriptionT = Aws::String>
137 GetSpaceResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
139
141
144 inline VanityDomainStatus GetVanityDomainStatus() const { return m_vanityDomainStatus; }
145 inline void SetVanityDomainStatus(VanityDomainStatus value) { m_vanityDomainStatusHasBeenSet = true; m_vanityDomainStatus = value; }
148
150
154 inline const Aws::String& GetVanityDomain() const { return m_vanityDomain; }
155 template<typename VanityDomainT = Aws::String>
156 void SetVanityDomain(VanityDomainT&& value) { m_vanityDomainHasBeenSet = true; m_vanityDomain = std::forward<VanityDomainT>(value); }
157 template<typename VanityDomainT = Aws::String>
158 GetSpaceResult& WithVanityDomain(VanityDomainT&& value) { SetVanityDomain(std::forward<VanityDomainT>(value)); return *this;}
160
162
165 inline const Aws::String& GetRandomDomain() const { return m_randomDomain; }
166 template<typename RandomDomainT = Aws::String>
167 void SetRandomDomain(RandomDomainT&& value) { m_randomDomainHasBeenSet = true; m_randomDomain = std::forward<RandomDomainT>(value); }
168 template<typename RandomDomainT = Aws::String>
169 GetSpaceResult& WithRandomDomain(RandomDomainT&& value) { SetRandomDomain(std::forward<RandomDomainT>(value)); return *this;}
171
173
177 inline const Aws::String& GetCustomerRoleArn() const { return m_customerRoleArn; }
178 template<typename CustomerRoleArnT = Aws::String>
179 void SetCustomerRoleArn(CustomerRoleArnT&& value) { m_customerRoleArnHasBeenSet = true; m_customerRoleArn = std::forward<CustomerRoleArnT>(value); }
180 template<typename CustomerRoleArnT = Aws::String>
181 GetSpaceResult& WithCustomerRoleArn(CustomerRoleArnT&& value) { SetCustomerRoleArn(std::forward<CustomerRoleArnT>(value)); return *this;}
183
185
188 inline const Aws::Utils::DateTime& GetCreateDateTime() const { return m_createDateTime; }
189 template<typename CreateDateTimeT = Aws::Utils::DateTime>
190 void SetCreateDateTime(CreateDateTimeT&& value) { m_createDateTimeHasBeenSet = true; m_createDateTime = std::forward<CreateDateTimeT>(value); }
191 template<typename CreateDateTimeT = Aws::Utils::DateTime>
192 GetSpaceResult& WithCreateDateTime(CreateDateTimeT&& value) { SetCreateDateTime(std::forward<CreateDateTimeT>(value)); return *this;}
194
196
199 inline const Aws::Utils::DateTime& GetDeleteDateTime() const { return m_deleteDateTime; }
200 template<typename DeleteDateTimeT = Aws::Utils::DateTime>
201 void SetDeleteDateTime(DeleteDateTimeT&& value) { m_deleteDateTimeHasBeenSet = true; m_deleteDateTime = std::forward<DeleteDateTimeT>(value); }
202 template<typename DeleteDateTimeT = Aws::Utils::DateTime>
203 GetSpaceResult& WithDeleteDateTime(DeleteDateTimeT&& value) { SetDeleteDateTime(std::forward<DeleteDateTimeT>(value)); return *this;}
205
207
210 inline TierLevel GetTier() const { return m_tier; }
211 inline void SetTier(TierLevel value) { m_tierHasBeenSet = true; m_tier = value; }
212 inline GetSpaceResult& WithTier(TierLevel value) { SetTier(value); return *this;}
214
216
219 inline long long GetStorageLimit() const { return m_storageLimit; }
220 inline void SetStorageLimit(long long value) { m_storageLimitHasBeenSet = true; m_storageLimit = value; }
221 inline GetSpaceResult& WithStorageLimit(long long value) { SetStorageLimit(value); return *this;}
223
225
228 inline const Aws::Map<Aws::String, Aws::Vector<Role>>& GetRoles() const { return m_roles; }
229 template<typename RolesT = Aws::Map<Aws::String, Aws::Vector<Role>>>
230 void SetRoles(RolesT&& value) { m_rolesHasBeenSet = true; m_roles = std::forward<RolesT>(value); }
231 template<typename RolesT = Aws::Map<Aws::String, Aws::Vector<Role>>>
232 GetSpaceResult& WithRoles(RolesT&& value) { SetRoles(std::forward<RolesT>(value)); return *this;}
233 template<typename RolesKeyT = Aws::String, typename RolesValueT = Aws::Vector<Role>>
234 GetSpaceResult& AddRoles(RolesKeyT&& key, RolesValueT&& value) {
235 m_rolesHasBeenSet = true; m_roles.emplace(std::forward<RolesKeyT>(key), std::forward<RolesValueT>(value)); return *this;
236 }
238
240
243 inline const Aws::String& GetUserKMSKey() const { return m_userKMSKey; }
244 template<typename UserKMSKeyT = Aws::String>
245 void SetUserKMSKey(UserKMSKeyT&& value) { m_userKMSKeyHasBeenSet = true; m_userKMSKey = std::forward<UserKMSKeyT>(value); }
246 template<typename UserKMSKeyT = Aws::String>
247 GetSpaceResult& WithUserKMSKey(UserKMSKeyT&& value) { SetUserKMSKey(std::forward<UserKMSKeyT>(value)); return *this;}
249
251
254 inline int GetUserCount() const { return m_userCount; }
255 inline void SetUserCount(int value) { m_userCountHasBeenSet = true; m_userCount = value; }
256 inline GetSpaceResult& WithUserCount(int value) { SetUserCount(value); return *this;}
258
260
263 inline long long GetContentSize() const { return m_contentSize; }
264 inline void SetContentSize(long long value) { m_contentSizeHasBeenSet = true; m_contentSize = value; }
265 inline GetSpaceResult& WithContentSize(long long value) { SetContentSize(value); return *this;}
267
269
272 inline const SupportedEmailDomainsStatus& GetSupportedEmailDomains() const { return m_supportedEmailDomains; }
273 template<typename SupportedEmailDomainsT = SupportedEmailDomainsStatus>
274 void SetSupportedEmailDomains(SupportedEmailDomainsT&& value) { m_supportedEmailDomainsHasBeenSet = true; m_supportedEmailDomains = std::forward<SupportedEmailDomainsT>(value); }
275 template<typename SupportedEmailDomainsT = SupportedEmailDomainsStatus>
276 GetSpaceResult& WithSupportedEmailDomains(SupportedEmailDomainsT&& value) { SetSupportedEmailDomains(std::forward<SupportedEmailDomainsT>(value)); return *this;}
278
280
281 inline const Aws::String& GetRequestId() const { return m_requestId; }
282 template<typename RequestIdT = Aws::String>
283 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
284 template<typename RequestIdT = Aws::String>
285 GetSpaceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
287 private:
288
289 Aws::String m_spaceId;
290 bool m_spaceIdHasBeenSet = false;
291
292 Aws::String m_arn;
293 bool m_arnHasBeenSet = false;
294
295 Aws::String m_name;
296 bool m_nameHasBeenSet = false;
297
298 Aws::String m_status;
299 bool m_statusHasBeenSet = false;
300
302 bool m_configurationStatusHasBeenSet = false;
303
304 Aws::String m_clientId;
305 bool m_clientIdHasBeenSet = false;
306
307 Aws::String m_identityStoreId;
308 bool m_identityStoreIdHasBeenSet = false;
309
310 Aws::String m_applicationArn;
311 bool m_applicationArnHasBeenSet = false;
312
313 Aws::String m_description;
314 bool m_descriptionHasBeenSet = false;
315
317 bool m_vanityDomainStatusHasBeenSet = false;
318
319 Aws::String m_vanityDomain;
320 bool m_vanityDomainHasBeenSet = false;
321
322 Aws::String m_randomDomain;
323 bool m_randomDomainHasBeenSet = false;
324
325 Aws::String m_customerRoleArn;
326 bool m_customerRoleArnHasBeenSet = false;
327
328 Aws::Utils::DateTime m_createDateTime{};
329 bool m_createDateTimeHasBeenSet = false;
330
331 Aws::Utils::DateTime m_deleteDateTime{};
332 bool m_deleteDateTimeHasBeenSet = false;
333
335 bool m_tierHasBeenSet = false;
336
337 long long m_storageLimit{0};
338 bool m_storageLimitHasBeenSet = false;
339
341 bool m_rolesHasBeenSet = false;
342
343 Aws::String m_userKMSKey;
344 bool m_userKMSKeyHasBeenSet = false;
345
346 int m_userCount{0};
347 bool m_userCountHasBeenSet = false;
348
349 long long m_contentSize{0};
350 bool m_contentSizeHasBeenSet = false;
351
352 SupportedEmailDomainsStatus m_supportedEmailDomains;
353 bool m_supportedEmailDomainsHasBeenSet = false;
354
355 Aws::String m_requestId;
356 bool m_requestIdHasBeenSet = false;
357 };
358
359} // namespace Model
360} // namespace repostspace
361} // 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