AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SpaceData.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/repostspace/model/TierLevel.h>
12#include <aws/repostspace/model/VanityDomainStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace repostspace
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_REPOSTSPACE_API SpaceData();
40 AWS_REPOSTSPACE_API SpaceData(Aws::Utils::Json::JsonView jsonValue);
41 AWS_REPOSTSPACE_API SpaceData& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_REPOSTSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline SpaceData& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline SpaceData& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline SpaceData& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const ConfigurationStatus& GetConfigurationStatus() const{ return m_configurationStatus; }
64 inline bool ConfigurationStatusHasBeenSet() const { return m_configurationStatusHasBeenSet; }
65 inline void SetConfigurationStatus(const ConfigurationStatus& value) { m_configurationStatusHasBeenSet = true; m_configurationStatus = value; }
66 inline void SetConfigurationStatus(ConfigurationStatus&& value) { m_configurationStatusHasBeenSet = true; m_configurationStatus = std::move(value); }
67 inline SpaceData& WithConfigurationStatus(const ConfigurationStatus& value) { SetConfigurationStatus(value); return *this;}
68 inline SpaceData& WithConfigurationStatus(ConfigurationStatus&& value) { SetConfigurationStatus(std::move(value)); return *this;}
70
72
75 inline long long GetContentSize() const{ return m_contentSize; }
76 inline bool ContentSizeHasBeenSet() const { return m_contentSizeHasBeenSet; }
77 inline void SetContentSize(long long value) { m_contentSizeHasBeenSet = true; m_contentSize = value; }
78 inline SpaceData& WithContentSize(long long value) { SetContentSize(value); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetCreateDateTime() const{ return m_createDateTime; }
86 inline bool CreateDateTimeHasBeenSet() const { return m_createDateTimeHasBeenSet; }
87 inline void SetCreateDateTime(const Aws::Utils::DateTime& value) { m_createDateTimeHasBeenSet = true; m_createDateTime = value; }
88 inline void SetCreateDateTime(Aws::Utils::DateTime&& value) { m_createDateTimeHasBeenSet = true; m_createDateTime = std::move(value); }
89 inline SpaceData& WithCreateDateTime(const Aws::Utils::DateTime& value) { SetCreateDateTime(value); return *this;}
90 inline SpaceData& WithCreateDateTime(Aws::Utils::DateTime&& value) { SetCreateDateTime(std::move(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetDeleteDateTime() const{ return m_deleteDateTime; }
98 inline bool DeleteDateTimeHasBeenSet() const { return m_deleteDateTimeHasBeenSet; }
99 inline void SetDeleteDateTime(const Aws::Utils::DateTime& value) { m_deleteDateTimeHasBeenSet = true; m_deleteDateTime = value; }
100 inline void SetDeleteDateTime(Aws::Utils::DateTime&& value) { m_deleteDateTimeHasBeenSet = true; m_deleteDateTime = std::move(value); }
101 inline SpaceData& WithDeleteDateTime(const Aws::Utils::DateTime& value) { SetDeleteDateTime(value); return *this;}
102 inline SpaceData& WithDeleteDateTime(Aws::Utils::DateTime&& value) { SetDeleteDateTime(std::move(value)); return *this;}
104
106
110 inline const Aws::String& GetDescription() const{ return m_description; }
111 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
112 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
113 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
114 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
115 inline SpaceData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
116 inline SpaceData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
117 inline SpaceData& WithDescription(const char* value) { SetDescription(value); return *this;}
119
121
124 inline const Aws::String& GetName() const{ return m_name; }
125 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
126 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
127 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
128 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
129 inline SpaceData& WithName(const Aws::String& value) { SetName(value); return *this;}
130 inline SpaceData& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
131 inline SpaceData& WithName(const char* value) { SetName(value); return *this;}
133
135
138 inline const Aws::String& GetRandomDomain() const{ return m_randomDomain; }
139 inline bool RandomDomainHasBeenSet() const { return m_randomDomainHasBeenSet; }
140 inline void SetRandomDomain(const Aws::String& value) { m_randomDomainHasBeenSet = true; m_randomDomain = value; }
141 inline void SetRandomDomain(Aws::String&& value) { m_randomDomainHasBeenSet = true; m_randomDomain = std::move(value); }
142 inline void SetRandomDomain(const char* value) { m_randomDomainHasBeenSet = true; m_randomDomain.assign(value); }
143 inline SpaceData& WithRandomDomain(const Aws::String& value) { SetRandomDomain(value); return *this;}
144 inline SpaceData& WithRandomDomain(Aws::String&& value) { SetRandomDomain(std::move(value)); return *this;}
145 inline SpaceData& WithRandomDomain(const char* value) { SetRandomDomain(value); return *this;}
147
149
152 inline const Aws::String& GetSpaceId() const{ return m_spaceId; }
153 inline bool SpaceIdHasBeenSet() const { return m_spaceIdHasBeenSet; }
154 inline void SetSpaceId(const Aws::String& value) { m_spaceIdHasBeenSet = true; m_spaceId = value; }
155 inline void SetSpaceId(Aws::String&& value) { m_spaceIdHasBeenSet = true; m_spaceId = std::move(value); }
156 inline void SetSpaceId(const char* value) { m_spaceIdHasBeenSet = true; m_spaceId.assign(value); }
157 inline SpaceData& WithSpaceId(const Aws::String& value) { SetSpaceId(value); return *this;}
158 inline SpaceData& WithSpaceId(Aws::String&& value) { SetSpaceId(std::move(value)); return *this;}
159 inline SpaceData& WithSpaceId(const char* value) { SetSpaceId(value); return *this;}
161
163
166 inline const Aws::String& GetStatus() const{ return m_status; }
167 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
168 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
169 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
170 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
171 inline SpaceData& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
172 inline SpaceData& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
173 inline SpaceData& WithStatus(const char* value) { SetStatus(value); return *this;}
175
177
180 inline long long GetStorageLimit() const{ return m_storageLimit; }
181 inline bool StorageLimitHasBeenSet() const { return m_storageLimitHasBeenSet; }
182 inline void SetStorageLimit(long long value) { m_storageLimitHasBeenSet = true; m_storageLimit = value; }
183 inline SpaceData& WithStorageLimit(long long value) { SetStorageLimit(value); return *this;}
185
187
190 inline const TierLevel& GetTier() const{ return m_tier; }
191 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
192 inline void SetTier(const TierLevel& value) { m_tierHasBeenSet = true; m_tier = value; }
193 inline void SetTier(TierLevel&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); }
194 inline SpaceData& WithTier(const TierLevel& value) { SetTier(value); return *this;}
195 inline SpaceData& WithTier(TierLevel&& value) { SetTier(std::move(value)); return *this;}
197
199
202 inline int GetUserCount() const{ return m_userCount; }
203 inline bool UserCountHasBeenSet() const { return m_userCountHasBeenSet; }
204 inline void SetUserCount(int value) { m_userCountHasBeenSet = true; m_userCount = value; }
205 inline SpaceData& WithUserCount(int value) { SetUserCount(value); return *this;}
207
209
212 inline const Aws::String& GetUserKMSKey() const{ return m_userKMSKey; }
213 inline bool UserKMSKeyHasBeenSet() const { return m_userKMSKeyHasBeenSet; }
214 inline void SetUserKMSKey(const Aws::String& value) { m_userKMSKeyHasBeenSet = true; m_userKMSKey = value; }
215 inline void SetUserKMSKey(Aws::String&& value) { m_userKMSKeyHasBeenSet = true; m_userKMSKey = std::move(value); }
216 inline void SetUserKMSKey(const char* value) { m_userKMSKeyHasBeenSet = true; m_userKMSKey.assign(value); }
217 inline SpaceData& WithUserKMSKey(const Aws::String& value) { SetUserKMSKey(value); return *this;}
218 inline SpaceData& WithUserKMSKey(Aws::String&& value) { SetUserKMSKey(std::move(value)); return *this;}
219 inline SpaceData& WithUserKMSKey(const char* value) { SetUserKMSKey(value); return *this;}
221
223
227 inline const Aws::String& GetVanityDomain() const{ return m_vanityDomain; }
228 inline bool VanityDomainHasBeenSet() const { return m_vanityDomainHasBeenSet; }
229 inline void SetVanityDomain(const Aws::String& value) { m_vanityDomainHasBeenSet = true; m_vanityDomain = value; }
230 inline void SetVanityDomain(Aws::String&& value) { m_vanityDomainHasBeenSet = true; m_vanityDomain = std::move(value); }
231 inline void SetVanityDomain(const char* value) { m_vanityDomainHasBeenSet = true; m_vanityDomain.assign(value); }
232 inline SpaceData& WithVanityDomain(const Aws::String& value) { SetVanityDomain(value); return *this;}
233 inline SpaceData& WithVanityDomain(Aws::String&& value) { SetVanityDomain(std::move(value)); return *this;}
234 inline SpaceData& WithVanityDomain(const char* value) { SetVanityDomain(value); return *this;}
236
238
241 inline const VanityDomainStatus& GetVanityDomainStatus() const{ return m_vanityDomainStatus; }
242 inline bool VanityDomainStatusHasBeenSet() const { return m_vanityDomainStatusHasBeenSet; }
243 inline void SetVanityDomainStatus(const VanityDomainStatus& value) { m_vanityDomainStatusHasBeenSet = true; m_vanityDomainStatus = value; }
244 inline void SetVanityDomainStatus(VanityDomainStatus&& value) { m_vanityDomainStatusHasBeenSet = true; m_vanityDomainStatus = std::move(value); }
245 inline SpaceData& WithVanityDomainStatus(const VanityDomainStatus& value) { SetVanityDomainStatus(value); return *this;}
246 inline SpaceData& WithVanityDomainStatus(VanityDomainStatus&& value) { SetVanityDomainStatus(std::move(value)); return *this;}
248 private:
249
250 Aws::String m_arn;
251 bool m_arnHasBeenSet = false;
252
253 ConfigurationStatus m_configurationStatus;
254 bool m_configurationStatusHasBeenSet = false;
255
256 long long m_contentSize;
257 bool m_contentSizeHasBeenSet = false;
258
259 Aws::Utils::DateTime m_createDateTime;
260 bool m_createDateTimeHasBeenSet = false;
261
262 Aws::Utils::DateTime m_deleteDateTime;
263 bool m_deleteDateTimeHasBeenSet = false;
264
265 Aws::String m_description;
266 bool m_descriptionHasBeenSet = false;
267
268 Aws::String m_name;
269 bool m_nameHasBeenSet = false;
270
271 Aws::String m_randomDomain;
272 bool m_randomDomainHasBeenSet = false;
273
274 Aws::String m_spaceId;
275 bool m_spaceIdHasBeenSet = false;
276
277 Aws::String m_status;
278 bool m_statusHasBeenSet = false;
279
280 long long m_storageLimit;
281 bool m_storageLimitHasBeenSet = false;
282
283 TierLevel m_tier;
284 bool m_tierHasBeenSet = false;
285
286 int m_userCount;
287 bool m_userCountHasBeenSet = false;
288
289 Aws::String m_userKMSKey;
290 bool m_userKMSKeyHasBeenSet = false;
291
292 Aws::String m_vanityDomain;
293 bool m_vanityDomainHasBeenSet = false;
294
295 VanityDomainStatus m_vanityDomainStatus;
296 bool m_vanityDomainStatusHasBeenSet = false;
297 };
298
299} // namespace Model
300} // namespace repostspace
301} // namespace Aws
void SetSpaceId(const char *value)
Definition SpaceData.h:156
SpaceData & WithSpaceId(const char *value)
Definition SpaceData.h:159
void SetArn(const char *value)
Definition SpaceData.h:53
void SetVanityDomainStatus(VanityDomainStatus &&value)
Definition SpaceData.h:244
SpaceData & WithUserCount(int value)
Definition SpaceData.h:205
const TierLevel & GetTier() const
Definition SpaceData.h:190
SpaceData & WithDescription(const Aws::String &value)
Definition SpaceData.h:115
SpaceData & WithCreateDateTime(const Aws::Utils::DateTime &value)
Definition SpaceData.h:89
SpaceData & WithVanityDomainStatus(const VanityDomainStatus &value)
Definition SpaceData.h:245
void SetRandomDomain(const char *value)
Definition SpaceData.h:142
void SetDescription(const char *value)
Definition SpaceData.h:114
void SetStatus(Aws::String &&value)
Definition SpaceData.h:169
void SetConfigurationStatus(ConfigurationStatus &&value)
Definition SpaceData.h:66
const ConfigurationStatus & GetConfigurationStatus() const
Definition SpaceData.h:63
const Aws::String & GetRandomDomain() const
Definition SpaceData.h:138
AWS_REPOSTSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserKMSKey(const char *value)
Definition SpaceData.h:216
SpaceData & WithArn(const Aws::String &value)
Definition SpaceData.h:54
SpaceData & WithRandomDomain(Aws::String &&value)
Definition SpaceData.h:144
AWS_REPOSTSPACE_API SpaceData & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ConfigurationStatusHasBeenSet() const
Definition SpaceData.h:64
void SetArn(const Aws::String &value)
Definition SpaceData.h:51
SpaceData & WithName(const char *value)
Definition SpaceData.h:131
void SetDeleteDateTime(Aws::Utils::DateTime &&value)
Definition SpaceData.h:100
long long GetStorageLimit() const
Definition SpaceData.h:180
SpaceData & WithVanityDomain(const char *value)
Definition SpaceData.h:234
void SetArn(Aws::String &&value)
Definition SpaceData.h:52
void SetName(Aws::String &&value)
Definition SpaceData.h:127
SpaceData & WithDescription(const char *value)
Definition SpaceData.h:117
const Aws::Utils::DateTime & GetCreateDateTime() const
Definition SpaceData.h:85
SpaceData & WithVanityDomain(const Aws::String &value)
Definition SpaceData.h:232
SpaceData & WithVanityDomainStatus(VanityDomainStatus &&value)
Definition SpaceData.h:246
const Aws::String & GetSpaceId() const
Definition SpaceData.h:152
const Aws::Utils::DateTime & GetDeleteDateTime() const
Definition SpaceData.h:97
void SetDescription(Aws::String &&value)
Definition SpaceData.h:113
SpaceData & WithRandomDomain(const char *value)
Definition SpaceData.h:145
void SetCreateDateTime(Aws::Utils::DateTime &&value)
Definition SpaceData.h:88
SpaceData & WithStatus(const char *value)
Definition SpaceData.h:173
SpaceData & WithDeleteDateTime(const Aws::Utils::DateTime &value)
Definition SpaceData.h:101
void SetTier(TierLevel &&value)
Definition SpaceData.h:193
void SetVanityDomain(Aws::String &&value)
Definition SpaceData.h:230
const Aws::String & GetVanityDomain() const
Definition SpaceData.h:227
const Aws::String & GetStatus() const
Definition SpaceData.h:166
AWS_REPOSTSPACE_API SpaceData(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
Definition SpaceData.h:49
SpaceData & WithDescription(Aws::String &&value)
Definition SpaceData.h:116
void SetVanityDomainStatus(const VanityDomainStatus &value)
Definition SpaceData.h:243
SpaceData & WithStatus(Aws::String &&value)
Definition SpaceData.h:172
SpaceData & WithCreateDateTime(Aws::Utils::DateTime &&value)
Definition SpaceData.h:90
void SetSpaceId(const Aws::String &value)
Definition SpaceData.h:154
SpaceData & WithTier(const TierLevel &value)
Definition SpaceData.h:194
SpaceData & WithStorageLimit(long long value)
Definition SpaceData.h:183
void SetStatus(const char *value)
Definition SpaceData.h:170
void SetVanityDomain(const Aws::String &value)
Definition SpaceData.h:229
SpaceData & WithVanityDomain(Aws::String &&value)
Definition SpaceData.h:233
SpaceData & WithTier(TierLevel &&value)
Definition SpaceData.h:195
void SetContentSize(long long value)
Definition SpaceData.h:77
SpaceData & WithArn(Aws::String &&value)
Definition SpaceData.h:55
SpaceData & WithArn(const char *value)
Definition SpaceData.h:56
long long GetContentSize() const
Definition SpaceData.h:75
void SetDeleteDateTime(const Aws::Utils::DateTime &value)
Definition SpaceData.h:99
const VanityDomainStatus & GetVanityDomainStatus() const
Definition SpaceData.h:241
SpaceData & WithRandomDomain(const Aws::String &value)
Definition SpaceData.h:143
SpaceData & WithConfigurationStatus(const ConfigurationStatus &value)
Definition SpaceData.h:67
void SetStorageLimit(long long value)
Definition SpaceData.h:182
const Aws::String & GetName() const
Definition SpaceData.h:124
SpaceData & WithContentSize(long long value)
Definition SpaceData.h:78
SpaceData & WithName(const Aws::String &value)
Definition SpaceData.h:129
void SetRandomDomain(const Aws::String &value)
Definition SpaceData.h:140
const Aws::String & GetDescription() const
Definition SpaceData.h:110
void SetUserKMSKey(const Aws::String &value)
Definition SpaceData.h:214
SpaceData & WithUserKMSKey(const char *value)
Definition SpaceData.h:219
AWS_REPOSTSPACE_API SpaceData()
SpaceData & WithDeleteDateTime(Aws::Utils::DateTime &&value)
Definition SpaceData.h:102
SpaceData & WithSpaceId(const Aws::String &value)
Definition SpaceData.h:157
void SetVanityDomain(const char *value)
Definition SpaceData.h:231
void SetStatus(const Aws::String &value)
Definition SpaceData.h:168
void SetConfigurationStatus(const ConfigurationStatus &value)
Definition SpaceData.h:65
SpaceData & WithUserKMSKey(const Aws::String &value)
Definition SpaceData.h:217
void SetCreateDateTime(const Aws::Utils::DateTime &value)
Definition SpaceData.h:87
void SetName(const char *value)
Definition SpaceData.h:128
SpaceData & WithUserKMSKey(Aws::String &&value)
Definition SpaceData.h:218
void SetUserKMSKey(Aws::String &&value)
Definition SpaceData.h:215
void SetDescription(const Aws::String &value)
Definition SpaceData.h:112
void SetSpaceId(Aws::String &&value)
Definition SpaceData.h:155
SpaceData & WithStatus(const Aws::String &value)
Definition SpaceData.h:171
void SetTier(const TierLevel &value)
Definition SpaceData.h:192
SpaceData & WithSpaceId(Aws::String &&value)
Definition SpaceData.h:158
void SetRandomDomain(Aws::String &&value)
Definition SpaceData.h:141
void SetName(const Aws::String &value)
Definition SpaceData.h:126
SpaceData & WithConfigurationStatus(ConfigurationStatus &&value)
Definition SpaceData.h:68
const Aws::String & GetUserKMSKey() const
Definition SpaceData.h:212
SpaceData & WithName(Aws::String &&value)
Definition SpaceData.h:130
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue