AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/repostspace/model/TierLevel.h>
13#include <aws/repostspace/model/VanityDomainStatus.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/repostspace/model/Role.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace repostspace
31{
32namespace Model
33{
35 {
36 public:
37 AWS_REPOSTSPACE_API GetSpaceResult();
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline void SetArn(const Aws::String& value) { m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arn.assign(value); }
50 inline GetSpaceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline GetSpaceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline GetSpaceResult& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetClientId() const{ return m_clientId; }
60 inline void SetClientId(const Aws::String& value) { m_clientId = value; }
61 inline void SetClientId(Aws::String&& value) { m_clientId = std::move(value); }
62 inline void SetClientId(const char* value) { m_clientId.assign(value); }
63 inline GetSpaceResult& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
64 inline GetSpaceResult& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
65 inline GetSpaceResult& WithClientId(const char* value) { SetClientId(value); return *this;}
67
69
72 inline const ConfigurationStatus& GetConfigurationStatus() const{ return m_configurationStatus; }
73 inline void SetConfigurationStatus(const ConfigurationStatus& value) { m_configurationStatus = value; }
74 inline void SetConfigurationStatus(ConfigurationStatus&& value) { m_configurationStatus = std::move(value); }
76 inline GetSpaceResult& WithConfigurationStatus(ConfigurationStatus&& value) { SetConfigurationStatus(std::move(value)); return *this;}
78
80
83 inline long long GetContentSize() const{ return m_contentSize; }
84 inline void SetContentSize(long long value) { m_contentSize = value; }
85 inline GetSpaceResult& WithContentSize(long long value) { SetContentSize(value); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreateDateTime() const{ return m_createDateTime; }
93 inline void SetCreateDateTime(const Aws::Utils::DateTime& value) { m_createDateTime = value; }
94 inline void SetCreateDateTime(Aws::Utils::DateTime&& value) { m_createDateTime = std::move(value); }
95 inline GetSpaceResult& WithCreateDateTime(const Aws::Utils::DateTime& value) { SetCreateDateTime(value); return *this;}
96 inline GetSpaceResult& WithCreateDateTime(Aws::Utils::DateTime&& value) { SetCreateDateTime(std::move(value)); return *this;}
98
100
104 inline const Aws::String& GetCustomerRoleArn() const{ return m_customerRoleArn; }
105 inline void SetCustomerRoleArn(const Aws::String& value) { m_customerRoleArn = value; }
106 inline void SetCustomerRoleArn(Aws::String&& value) { m_customerRoleArn = std::move(value); }
107 inline void SetCustomerRoleArn(const char* value) { m_customerRoleArn.assign(value); }
108 inline GetSpaceResult& WithCustomerRoleArn(const Aws::String& value) { SetCustomerRoleArn(value); return *this;}
109 inline GetSpaceResult& WithCustomerRoleArn(Aws::String&& value) { SetCustomerRoleArn(std::move(value)); return *this;}
110 inline GetSpaceResult& WithCustomerRoleArn(const char* value) { SetCustomerRoleArn(value); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetDeleteDateTime() const{ return m_deleteDateTime; }
118 inline void SetDeleteDateTime(const Aws::Utils::DateTime& value) { m_deleteDateTime = value; }
119 inline void SetDeleteDateTime(Aws::Utils::DateTime&& value) { m_deleteDateTime = std::move(value); }
120 inline GetSpaceResult& WithDeleteDateTime(const Aws::Utils::DateTime& value) { SetDeleteDateTime(value); return *this;}
121 inline GetSpaceResult& WithDeleteDateTime(Aws::Utils::DateTime&& value) { SetDeleteDateTime(std::move(value)); return *this;}
123
125
128 inline const Aws::String& GetDescription() const{ return m_description; }
129 inline void SetDescription(const Aws::String& value) { m_description = value; }
130 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
131 inline void SetDescription(const char* value) { m_description.assign(value); }
132 inline GetSpaceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
133 inline GetSpaceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
134 inline GetSpaceResult& WithDescription(const char* value) { SetDescription(value); return *this;}
136
138
141 inline const Aws::String& GetName() const{ return m_name; }
142 inline void SetName(const Aws::String& value) { m_name = value; }
143 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
144 inline void SetName(const char* value) { m_name.assign(value); }
145 inline GetSpaceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
146 inline GetSpaceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
147 inline GetSpaceResult& WithName(const char* value) { SetName(value); return *this;}
149
151
154 inline const Aws::String& GetRandomDomain() const{ return m_randomDomain; }
155 inline void SetRandomDomain(const Aws::String& value) { m_randomDomain = value; }
156 inline void SetRandomDomain(Aws::String&& value) { m_randomDomain = std::move(value); }
157 inline void SetRandomDomain(const char* value) { m_randomDomain.assign(value); }
158 inline GetSpaceResult& WithRandomDomain(const Aws::String& value) { SetRandomDomain(value); return *this;}
159 inline GetSpaceResult& WithRandomDomain(Aws::String&& value) { SetRandomDomain(std::move(value)); return *this;}
160 inline GetSpaceResult& WithRandomDomain(const char* value) { SetRandomDomain(value); return *this;}
162
164
167 inline const Aws::Map<Aws::String, Aws::Vector<Role>>& GetRoles() const{ return m_roles; }
168 inline void SetRoles(const Aws::Map<Aws::String, Aws::Vector<Role>>& value) { m_roles = value; }
169 inline void SetRoles(Aws::Map<Aws::String, Aws::Vector<Role>>&& value) { m_roles = std::move(value); }
170 inline GetSpaceResult& WithRoles(const Aws::Map<Aws::String, Aws::Vector<Role>>& value) { SetRoles(value); return *this;}
171 inline GetSpaceResult& WithRoles(Aws::Map<Aws::String, Aws::Vector<Role>>&& value) { SetRoles(std::move(value)); return *this;}
172 inline GetSpaceResult& AddRoles(const Aws::String& key, const Aws::Vector<Role>& value) { m_roles.emplace(key, value); return *this; }
173 inline GetSpaceResult& AddRoles(Aws::String&& key, const Aws::Vector<Role>& value) { m_roles.emplace(std::move(key), value); return *this; }
174 inline GetSpaceResult& AddRoles(const Aws::String& key, Aws::Vector<Role>&& value) { m_roles.emplace(key, std::move(value)); return *this; }
175 inline GetSpaceResult& AddRoles(Aws::String&& key, Aws::Vector<Role>&& value) { m_roles.emplace(std::move(key), std::move(value)); return *this; }
176 inline GetSpaceResult& AddRoles(const char* key, Aws::Vector<Role>&& value) { m_roles.emplace(key, std::move(value)); return *this; }
177 inline GetSpaceResult& AddRoles(const char* key, const Aws::Vector<Role>& value) { m_roles.emplace(key, value); return *this; }
179
181
184 inline const Aws::String& GetSpaceId() const{ return m_spaceId; }
185 inline void SetSpaceId(const Aws::String& value) { m_spaceId = value; }
186 inline void SetSpaceId(Aws::String&& value) { m_spaceId = std::move(value); }
187 inline void SetSpaceId(const char* value) { m_spaceId.assign(value); }
188 inline GetSpaceResult& WithSpaceId(const Aws::String& value) { SetSpaceId(value); return *this;}
189 inline GetSpaceResult& WithSpaceId(Aws::String&& value) { SetSpaceId(std::move(value)); return *this;}
190 inline GetSpaceResult& WithSpaceId(const char* value) { SetSpaceId(value); return *this;}
192
194
197 inline const Aws::String& GetStatus() const{ return m_status; }
198 inline void SetStatus(const Aws::String& value) { m_status = value; }
199 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
200 inline void SetStatus(const char* value) { m_status.assign(value); }
201 inline GetSpaceResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
202 inline GetSpaceResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
203 inline GetSpaceResult& WithStatus(const char* value) { SetStatus(value); return *this;}
205
207
210 inline long long GetStorageLimit() const{ return m_storageLimit; }
211 inline void SetStorageLimit(long long value) { m_storageLimit = value; }
212 inline GetSpaceResult& WithStorageLimit(long long value) { SetStorageLimit(value); return *this;}
214
216
219 inline const TierLevel& GetTier() const{ return m_tier; }
220 inline void SetTier(const TierLevel& value) { m_tier = value; }
221 inline void SetTier(TierLevel&& value) { m_tier = std::move(value); }
222 inline GetSpaceResult& WithTier(const TierLevel& value) { SetTier(value); return *this;}
223 inline GetSpaceResult& WithTier(TierLevel&& value) { SetTier(std::move(value)); return *this;}
225
227
230 inline int GetUserCount() const{ return m_userCount; }
231 inline void SetUserCount(int value) { m_userCount = value; }
232 inline GetSpaceResult& WithUserCount(int value) { SetUserCount(value); return *this;}
234
236
239 inline const Aws::String& GetUserKMSKey() const{ return m_userKMSKey; }
240 inline void SetUserKMSKey(const Aws::String& value) { m_userKMSKey = value; }
241 inline void SetUserKMSKey(Aws::String&& value) { m_userKMSKey = std::move(value); }
242 inline void SetUserKMSKey(const char* value) { m_userKMSKey.assign(value); }
243 inline GetSpaceResult& WithUserKMSKey(const Aws::String& value) { SetUserKMSKey(value); return *this;}
244 inline GetSpaceResult& WithUserKMSKey(Aws::String&& value) { SetUserKMSKey(std::move(value)); return *this;}
245 inline GetSpaceResult& WithUserKMSKey(const char* value) { SetUserKMSKey(value); return *this;}
247
249
253 inline const Aws::String& GetVanityDomain() const{ return m_vanityDomain; }
254 inline void SetVanityDomain(const Aws::String& value) { m_vanityDomain = value; }
255 inline void SetVanityDomain(Aws::String&& value) { m_vanityDomain = std::move(value); }
256 inline void SetVanityDomain(const char* value) { m_vanityDomain.assign(value); }
257 inline GetSpaceResult& WithVanityDomain(const Aws::String& value) { SetVanityDomain(value); return *this;}
258 inline GetSpaceResult& WithVanityDomain(Aws::String&& value) { SetVanityDomain(std::move(value)); return *this;}
259 inline GetSpaceResult& WithVanityDomain(const char* value) { SetVanityDomain(value); return *this;}
261
263
266 inline const VanityDomainStatus& GetVanityDomainStatus() const{ return m_vanityDomainStatus; }
267 inline void SetVanityDomainStatus(const VanityDomainStatus& value) { m_vanityDomainStatus = value; }
268 inline void SetVanityDomainStatus(VanityDomainStatus&& value) { m_vanityDomainStatus = std::move(value); }
270 inline GetSpaceResult& WithVanityDomainStatus(VanityDomainStatus&& value) { SetVanityDomainStatus(std::move(value)); return *this;}
272
274
275 inline const Aws::String& GetRequestId() const{ return m_requestId; }
276 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
277 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
278 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
279 inline GetSpaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
280 inline GetSpaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
281 inline GetSpaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
283 private:
284
285 Aws::String m_arn;
286
287 Aws::String m_clientId;
288
289 ConfigurationStatus m_configurationStatus;
290
291 long long m_contentSize;
292
293 Aws::Utils::DateTime m_createDateTime;
294
295 Aws::String m_customerRoleArn;
296
297 Aws::Utils::DateTime m_deleteDateTime;
298
299 Aws::String m_description;
300
301 Aws::String m_name;
302
303 Aws::String m_randomDomain;
304
306
307 Aws::String m_spaceId;
308
309 Aws::String m_status;
310
311 long long m_storageLimit;
312
313 TierLevel m_tier;
314
315 int m_userCount;
316
317 Aws::String m_userKMSKey;
318
319 Aws::String m_vanityDomain;
320
321 VanityDomainStatus m_vanityDomainStatus;
322
323 Aws::String m_requestId;
324 };
325
326} // namespace Model
327} // namespace repostspace
328} // namespace Aws
GetSpaceResult & WithRandomDomain(Aws::String &&value)
const Aws::Utils::DateTime & GetCreateDateTime() const
GetSpaceResult & WithCustomerRoleArn(const Aws::String &value)
GetSpaceResult & WithUserKMSKey(Aws::String &&value)
void SetCreateDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetRandomDomain() const
GetSpaceResult & AddRoles(const Aws::String &key, const Aws::Vector< Role > &value)
GetSpaceResult & WithCustomerRoleArn(const char *value)
GetSpaceResult & WithRandomDomain(const Aws::String &value)
GetSpaceResult & WithClientId(const Aws::String &value)
void SetRandomDomain(Aws::String &&value)
const Aws::String & GetName() const
GetSpaceResult & WithRequestId(const char *value)
GetSpaceResult & WithCreateDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetArn() const
void SetCustomerRoleArn(Aws::String &&value)
const Aws::String & GetClientId() const
GetSpaceResult & WithUserKMSKey(const char *value)
GetSpaceResult & WithDeleteDateTime(Aws::Utils::DateTime &&value)
void SetDeleteDateTime(Aws::Utils::DateTime &&value)
GetSpaceResult & WithDescription(const Aws::String &value)
GetSpaceResult & WithConfigurationStatus(const ConfigurationStatus &value)
GetSpaceResult & WithDeleteDateTime(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
GetSpaceResult & WithStatus(const Aws::String &value)
GetSpaceResult & WithArn(const char *value)
GetSpaceResult & WithName(const char *value)
GetSpaceResult & WithUserKMSKey(const Aws::String &value)
void SetClientId(Aws::String &&value)
GetSpaceResult & WithTier(TierLevel &&value)
void SetDescription(Aws::String &&value)
GetSpaceResult & WithStatus(Aws::String &&value)
const Aws::String & GetVanityDomain() const
GetSpaceResult & WithCustomerRoleArn(Aws::String &&value)
void SetClientId(const Aws::String &value)
GetSpaceResult & WithStatus(const char *value)
GetSpaceResult & WithVanityDomainStatus(VanityDomainStatus &&value)
void SetTier(const TierLevel &value)
void SetUserKMSKey(const Aws::String &value)
GetSpaceResult & WithArn(Aws::String &&value)
GetSpaceResult & AddRoles(const char *key, const Aws::Vector< Role > &value)
GetSpaceResult & WithRequestId(const Aws::String &value)
GetSpaceResult & WithName(Aws::String &&value)
void SetConfigurationStatus(ConfigurationStatus &&value)
GetSpaceResult & WithConfigurationStatus(ConfigurationStatus &&value)
void SetDeleteDateTime(const Aws::Utils::DateTime &value)
GetSpaceResult & WithVanityDomainStatus(const VanityDomainStatus &value)
GetSpaceResult & WithDescription(Aws::String &&value)
const Aws::String & GetStatus() const
const Aws::Utils::DateTime & GetDeleteDateTime() const
const Aws::String & GetUserKMSKey() const
void SetRoles(const Aws::Map< Aws::String, Aws::Vector< Role > > &value)
void SetVanityDomainStatus(VanityDomainStatus &&value)
GetSpaceResult & WithName(const Aws::String &value)
GetSpaceResult & WithDescription(const char *value)
const Aws::String & GetSpaceId() const
void SetName(const Aws::String &value)
GetSpaceResult & WithArn(const Aws::String &value)
GetSpaceResult & WithRoles(Aws::Map< Aws::String, Aws::Vector< Role > > &&value)
const Aws::String & GetRequestId() const
GetSpaceResult & WithRandomDomain(const char *value)
const Aws::String & GetDescription() const
void SetRoles(Aws::Map< Aws::String, Aws::Vector< Role > > &&value)
GetSpaceResult & WithContentSize(long long value)
void SetUserKMSKey(Aws::String &&value)
void SetCustomerRoleArn(const Aws::String &value)
const ConfigurationStatus & GetConfigurationStatus() const
GetSpaceResult & WithVanityDomain(const char *value)
void SetVanityDomain(Aws::String &&value)
void SetConfigurationStatus(const ConfigurationStatus &value)
void SetRequestId(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetStatus(const Aws::String &value)
GetSpaceResult & WithCreateDateTime(const Aws::Utils::DateTime &value)
void SetVanityDomain(const Aws::String &value)
GetSpaceResult & WithSpaceId(const char *value)
void SetCreateDateTime(const Aws::Utils::DateTime &value)
GetSpaceResult & WithRequestId(Aws::String &&value)
GetSpaceResult & WithStorageLimit(long long value)
GetSpaceResult & AddRoles(Aws::String &&key, Aws::Vector< Role > &&value)
GetSpaceResult & WithVanityDomain(Aws::String &&value)
GetSpaceResult & WithVanityDomain(const Aws::String &value)
AWS_REPOSTSPACE_API GetSpaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSpaceResult & WithUserCount(int value)
void SetSpaceId(const Aws::String &value)
GetSpaceResult & AddRoles(Aws::String &&key, const Aws::Vector< Role > &value)
GetSpaceResult & WithClientId(Aws::String &&value)
void SetRandomDomain(const Aws::String &value)
GetSpaceResult & WithRoles(const Aws::Map< Aws::String, Aws::Vector< Role > > &value)
GetSpaceResult & WithTier(const TierLevel &value)
const VanityDomainStatus & GetVanityDomainStatus() const
void SetVanityDomainStatus(const VanityDomainStatus &value)
GetSpaceResult & AddRoles(const char *key, Aws::Vector< Role > &&value)
GetSpaceResult & WithSpaceId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::Vector< Role > > & GetRoles() const
void SetCustomerRoleArn(const char *value)
GetSpaceResult & AddRoles(const Aws::String &key, Aws::Vector< Role > &&value)
GetSpaceResult & WithClientId(const char *value)
const Aws::String & GetCustomerRoleArn() const
AWS_REPOSTSPACE_API GetSpaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
GetSpaceResult & WithSpaceId(Aws::String &&value)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue