AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Bucket.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/AccessRules.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/lightsail/model/ResourceLocation.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lightsail/model/BucketState.h>
14#include <aws/lightsail/model/BucketAccessLogConfig.h>
15#include <aws/lightsail/model/Tag.h>
16#include <aws/lightsail/model/ResourceReceivingAccess.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace Lightsail
30{
31namespace Model
32{
33
39 class Bucket
40 {
41 public:
42 AWS_LIGHTSAIL_API Bucket();
43 AWS_LIGHTSAIL_API Bucket(Aws::Utils::Json::JsonView jsonValue);
44 AWS_LIGHTSAIL_API Bucket& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
53 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
54 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
55 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
56 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
57 inline Bucket& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
58 inline Bucket& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
59 inline Bucket& WithResourceType(const char* value) { SetResourceType(value); return *this;}
61
63
66 inline const AccessRules& GetAccessRules() const{ return m_accessRules; }
67 inline bool AccessRulesHasBeenSet() const { return m_accessRulesHasBeenSet; }
68 inline void SetAccessRules(const AccessRules& value) { m_accessRulesHasBeenSet = true; m_accessRules = value; }
69 inline void SetAccessRules(AccessRules&& value) { m_accessRulesHasBeenSet = true; m_accessRules = std::move(value); }
70 inline Bucket& WithAccessRules(const AccessRules& value) { SetAccessRules(value); return *this;}
71 inline Bucket& WithAccessRules(AccessRules&& value) { SetAccessRules(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetArn() const{ return m_arn; }
79 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
80 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
81 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
82 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
83 inline Bucket& WithArn(const Aws::String& value) { SetArn(value); return *this;}
84 inline Bucket& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
85 inline Bucket& WithArn(const char* value) { SetArn(value); return *this;}
87
89
96 inline const Aws::String& GetBundleId() const{ return m_bundleId; }
97 inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; }
98 inline void SetBundleId(const Aws::String& value) { m_bundleIdHasBeenSet = true; m_bundleId = value; }
99 inline void SetBundleId(Aws::String&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::move(value); }
100 inline void SetBundleId(const char* value) { m_bundleIdHasBeenSet = true; m_bundleId.assign(value); }
101 inline Bucket& WithBundleId(const Aws::String& value) { SetBundleId(value); return *this;}
102 inline Bucket& WithBundleId(Aws::String&& value) { SetBundleId(std::move(value)); return *this;}
103 inline Bucket& WithBundleId(const char* value) { SetBundleId(value); return *this;}
105
107
110 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
111 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
112 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
113 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
114 inline Bucket& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
115 inline Bucket& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
117
119
122 inline const Aws::String& GetUrl() const{ return m_url; }
123 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
124 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
125 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
126 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
127 inline Bucket& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
128 inline Bucket& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
129 inline Bucket& WithUrl(const char* value) { SetUrl(value); return *this;}
131
133
137 inline const ResourceLocation& GetLocation() const{ return m_location; }
138 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
139 inline void SetLocation(const ResourceLocation& value) { m_locationHasBeenSet = true; m_location = value; }
140 inline void SetLocation(ResourceLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
141 inline Bucket& WithLocation(const ResourceLocation& value) { SetLocation(value); return *this;}
142 inline Bucket& WithLocation(ResourceLocation&& value) { SetLocation(std::move(value)); return *this;}
144
146
149 inline const Aws::String& GetName() const{ return m_name; }
150 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
151 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
152 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
153 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
154 inline Bucket& WithName(const Aws::String& value) { SetName(value); return *this;}
155 inline Bucket& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
156 inline Bucket& WithName(const char* value) { SetName(value); return *this;}
158
160
165 inline const Aws::String& GetSupportCode() const{ return m_supportCode; }
166 inline bool SupportCodeHasBeenSet() const { return m_supportCodeHasBeenSet; }
167 inline void SetSupportCode(const Aws::String& value) { m_supportCodeHasBeenSet = true; m_supportCode = value; }
168 inline void SetSupportCode(Aws::String&& value) { m_supportCodeHasBeenSet = true; m_supportCode = std::move(value); }
169 inline void SetSupportCode(const char* value) { m_supportCodeHasBeenSet = true; m_supportCode.assign(value); }
170 inline Bucket& WithSupportCode(const Aws::String& value) { SetSupportCode(value); return *this;}
171 inline Bucket& WithSupportCode(Aws::String&& value) { SetSupportCode(std::move(value)); return *this;}
172 inline Bucket& WithSupportCode(const char* value) { SetSupportCode(value); return *this;}
174
176
181 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
182 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
183 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
184 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
185 inline Bucket& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
186 inline Bucket& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
187 inline Bucket& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
188 inline Bucket& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
190
192
200 inline const Aws::String& GetObjectVersioning() const{ return m_objectVersioning; }
201 inline bool ObjectVersioningHasBeenSet() const { return m_objectVersioningHasBeenSet; }
202 inline void SetObjectVersioning(const Aws::String& value) { m_objectVersioningHasBeenSet = true; m_objectVersioning = value; }
203 inline void SetObjectVersioning(Aws::String&& value) { m_objectVersioningHasBeenSet = true; m_objectVersioning = std::move(value); }
204 inline void SetObjectVersioning(const char* value) { m_objectVersioningHasBeenSet = true; m_objectVersioning.assign(value); }
205 inline Bucket& WithObjectVersioning(const Aws::String& value) { SetObjectVersioning(value); return *this;}
206 inline Bucket& WithObjectVersioning(Aws::String&& value) { SetObjectVersioning(std::move(value)); return *this;}
207 inline Bucket& WithObjectVersioning(const char* value) { SetObjectVersioning(value); return *this;}
209
211
218 inline bool GetAbleToUpdateBundle() const{ return m_ableToUpdateBundle; }
219 inline bool AbleToUpdateBundleHasBeenSet() const { return m_ableToUpdateBundleHasBeenSet; }
220 inline void SetAbleToUpdateBundle(bool value) { m_ableToUpdateBundleHasBeenSet = true; m_ableToUpdateBundle = value; }
221 inline Bucket& WithAbleToUpdateBundle(bool value) { SetAbleToUpdateBundle(value); return *this;}
223
225
229 inline const Aws::Vector<Aws::String>& GetReadonlyAccessAccounts() const{ return m_readonlyAccessAccounts; }
230 inline bool ReadonlyAccessAccountsHasBeenSet() const { return m_readonlyAccessAccountsHasBeenSet; }
231 inline void SetReadonlyAccessAccounts(const Aws::Vector<Aws::String>& value) { m_readonlyAccessAccountsHasBeenSet = true; m_readonlyAccessAccounts = value; }
232 inline void SetReadonlyAccessAccounts(Aws::Vector<Aws::String>&& value) { m_readonlyAccessAccountsHasBeenSet = true; m_readonlyAccessAccounts = std::move(value); }
234 inline Bucket& WithReadonlyAccessAccounts(Aws::Vector<Aws::String>&& value) { SetReadonlyAccessAccounts(std::move(value)); return *this;}
235 inline Bucket& AddReadonlyAccessAccounts(const Aws::String& value) { m_readonlyAccessAccountsHasBeenSet = true; m_readonlyAccessAccounts.push_back(value); return *this; }
236 inline Bucket& AddReadonlyAccessAccounts(Aws::String&& value) { m_readonlyAccessAccountsHasBeenSet = true; m_readonlyAccessAccounts.push_back(std::move(value)); return *this; }
237 inline Bucket& AddReadonlyAccessAccounts(const char* value) { m_readonlyAccessAccountsHasBeenSet = true; m_readonlyAccessAccounts.push_back(value); return *this; }
239
241
247 inline const Aws::Vector<ResourceReceivingAccess>& GetResourcesReceivingAccess() const{ return m_resourcesReceivingAccess; }
248 inline bool ResourcesReceivingAccessHasBeenSet() const { return m_resourcesReceivingAccessHasBeenSet; }
249 inline void SetResourcesReceivingAccess(const Aws::Vector<ResourceReceivingAccess>& value) { m_resourcesReceivingAccessHasBeenSet = true; m_resourcesReceivingAccess = value; }
250 inline void SetResourcesReceivingAccess(Aws::Vector<ResourceReceivingAccess>&& value) { m_resourcesReceivingAccessHasBeenSet = true; m_resourcesReceivingAccess = std::move(value); }
253 inline Bucket& AddResourcesReceivingAccess(const ResourceReceivingAccess& value) { m_resourcesReceivingAccessHasBeenSet = true; m_resourcesReceivingAccess.push_back(value); return *this; }
254 inline Bucket& AddResourcesReceivingAccess(ResourceReceivingAccess&& value) { m_resourcesReceivingAccessHasBeenSet = true; m_resourcesReceivingAccess.push_back(std::move(value)); return *this; }
256
258
261 inline const BucketState& GetState() const{ return m_state; }
262 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
263 inline void SetState(const BucketState& value) { m_stateHasBeenSet = true; m_state = value; }
264 inline void SetState(BucketState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
265 inline Bucket& WithState(const BucketState& value) { SetState(value); return *this;}
266 inline Bucket& WithState(BucketState&& value) { SetState(std::move(value)); return *this;}
268
270
273 inline const BucketAccessLogConfig& GetAccessLogConfig() const{ return m_accessLogConfig; }
274 inline bool AccessLogConfigHasBeenSet() const { return m_accessLogConfigHasBeenSet; }
275 inline void SetAccessLogConfig(const BucketAccessLogConfig& value) { m_accessLogConfigHasBeenSet = true; m_accessLogConfig = value; }
276 inline void SetAccessLogConfig(BucketAccessLogConfig&& value) { m_accessLogConfigHasBeenSet = true; m_accessLogConfig = std::move(value); }
277 inline Bucket& WithAccessLogConfig(const BucketAccessLogConfig& value) { SetAccessLogConfig(value); return *this;}
278 inline Bucket& WithAccessLogConfig(BucketAccessLogConfig&& value) { SetAccessLogConfig(std::move(value)); return *this;}
280 private:
281
282 Aws::String m_resourceType;
283 bool m_resourceTypeHasBeenSet = false;
284
285 AccessRules m_accessRules;
286 bool m_accessRulesHasBeenSet = false;
287
288 Aws::String m_arn;
289 bool m_arnHasBeenSet = false;
290
291 Aws::String m_bundleId;
292 bool m_bundleIdHasBeenSet = false;
293
294 Aws::Utils::DateTime m_createdAt;
295 bool m_createdAtHasBeenSet = false;
296
297 Aws::String m_url;
298 bool m_urlHasBeenSet = false;
299
300 ResourceLocation m_location;
301 bool m_locationHasBeenSet = false;
302
303 Aws::String m_name;
304 bool m_nameHasBeenSet = false;
305
306 Aws::String m_supportCode;
307 bool m_supportCodeHasBeenSet = false;
308
309 Aws::Vector<Tag> m_tags;
310 bool m_tagsHasBeenSet = false;
311
312 Aws::String m_objectVersioning;
313 bool m_objectVersioningHasBeenSet = false;
314
315 bool m_ableToUpdateBundle;
316 bool m_ableToUpdateBundleHasBeenSet = false;
317
318 Aws::Vector<Aws::String> m_readonlyAccessAccounts;
319 bool m_readonlyAccessAccountsHasBeenSet = false;
320
321 Aws::Vector<ResourceReceivingAccess> m_resourcesReceivingAccess;
322 bool m_resourcesReceivingAccessHasBeenSet = false;
323
324 BucketState m_state;
325 bool m_stateHasBeenSet = false;
326
327 BucketAccessLogConfig m_accessLogConfig;
328 bool m_accessLogConfigHasBeenSet = false;
329 };
330
331} // namespace Model
332} // namespace Lightsail
333} // namespace Aws
Bucket & WithState(const BucketState &value)
Definition Bucket.h:265
bool TagsHasBeenSet() const
Definition Bucket.h:182
void SetResourcesReceivingAccess(const Aws::Vector< ResourceReceivingAccess > &value)
Definition Bucket.h:249
void SetSupportCode(const Aws::String &value)
Definition Bucket.h:167
void SetLocation(ResourceLocation &&value)
Definition Bucket.h:140
Bucket & WithSupportCode(const Aws::String &value)
Definition Bucket.h:170
void SetAccessLogConfig(BucketAccessLogConfig &&value)
Definition Bucket.h:276
void SetAbleToUpdateBundle(bool value)
Definition Bucket.h:220
Bucket & AddReadonlyAccessAccounts(Aws::String &&value)
Definition Bucket.h:236
Bucket & WithResourcesReceivingAccess(Aws::Vector< ResourceReceivingAccess > &&value)
Definition Bucket.h:252
const Aws::Vector< Tag > & GetTags() const
Definition Bucket.h:181
void SetBundleId(Aws::String &&value)
Definition Bucket.h:99
void SetName(Aws::String &&value)
Definition Bucket.h:152
Bucket & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Bucket.h:114
void SetResourceType(Aws::String &&value)
Definition Bucket.h:55
void SetUrl(const char *value)
Definition Bucket.h:126
bool LocationHasBeenSet() const
Definition Bucket.h:138
AWS_LIGHTSAIL_API Bucket(Aws::Utils::Json::JsonView jsonValue)
Bucket & WithObjectVersioning(Aws::String &&value)
Definition Bucket.h:206
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
Bucket & WithSupportCode(Aws::String &&value)
Definition Bucket.h:171
Bucket & WithTags(const Aws::Vector< Tag > &value)
Definition Bucket.h:185
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Bucket.h:110
Bucket & WithResourceType(const char *value)
Definition Bucket.h:59
void SetObjectVersioning(const Aws::String &value)
Definition Bucket.h:202
bool ArnHasBeenSet() const
Definition Bucket.h:79
bool ReadonlyAccessAccountsHasBeenSet() const
Definition Bucket.h:230
Bucket & WithUrl(const Aws::String &value)
Definition Bucket.h:127
const Aws::String & GetSupportCode() const
Definition Bucket.h:165
void SetArn(Aws::String &&value)
Definition Bucket.h:81
bool AccessLogConfigHasBeenSet() const
Definition Bucket.h:274
Bucket & WithAccessRules(const AccessRules &value)
Definition Bucket.h:70
const Aws::String & GetResourceType() const
Definition Bucket.h:52
void SetTags(const Aws::Vector< Tag > &value)
Definition Bucket.h:183
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Bucket.h:112
void SetReadonlyAccessAccounts(const Aws::Vector< Aws::String > &value)
Definition Bucket.h:231
Bucket & WithBundleId(Aws::String &&value)
Definition Bucket.h:102
bool CreatedAtHasBeenSet() const
Definition Bucket.h:111
bool AbleToUpdateBundleHasBeenSet() const
Definition Bucket.h:219
Bucket & WithName(Aws::String &&value)
Definition Bucket.h:155
Bucket & WithName(const Aws::String &value)
Definition Bucket.h:154
Bucket & WithArn(const Aws::String &value)
Definition Bucket.h:83
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Bucket.h:113
void SetUrl(const Aws::String &value)
Definition Bucket.h:124
Bucket & WithResourceType(Aws::String &&value)
Definition Bucket.h:58
void SetAccessRules(const AccessRules &value)
Definition Bucket.h:68
Bucket & WithAccessLogConfig(BucketAccessLogConfig &&value)
Definition Bucket.h:278
AWS_LIGHTSAIL_API Bucket()
void SetName(const char *value)
Definition Bucket.h:153
void SetObjectVersioning(Aws::String &&value)
Definition Bucket.h:203
Bucket & AddTags(const Tag &value)
Definition Bucket.h:187
const BucketState & GetState() const
Definition Bucket.h:261
Bucket & WithUrl(Aws::String &&value)
Definition Bucket.h:128
Bucket & WithObjectVersioning(const char *value)
Definition Bucket.h:207
void SetUrl(Aws::String &&value)
Definition Bucket.h:125
Bucket & AddReadonlyAccessAccounts(const Aws::String &value)
Definition Bucket.h:235
void SetResourceType(const Aws::String &value)
Definition Bucket.h:54
const Aws::String & GetName() const
Definition Bucket.h:149
void SetTags(Aws::Vector< Tag > &&value)
Definition Bucket.h:184
void SetAccessLogConfig(const BucketAccessLogConfig &value)
Definition Bucket.h:275
Bucket & WithObjectVersioning(const Aws::String &value)
Definition Bucket.h:205
const Aws::String & GetObjectVersioning() const
Definition Bucket.h:200
void SetArn(const char *value)
Definition Bucket.h:82
Bucket & WithTags(Aws::Vector< Tag > &&value)
Definition Bucket.h:186
void SetAccessRules(AccessRules &&value)
Definition Bucket.h:69
void SetBundleId(const char *value)
Definition Bucket.h:100
bool StateHasBeenSet() const
Definition Bucket.h:262
void SetReadonlyAccessAccounts(Aws::Vector< Aws::String > &&value)
Definition Bucket.h:232
void SetName(const Aws::String &value)
Definition Bucket.h:151
void SetSupportCode(Aws::String &&value)
Definition Bucket.h:168
Bucket & WithBundleId(const Aws::String &value)
Definition Bucket.h:101
Bucket & AddResourcesReceivingAccess(ResourceReceivingAccess &&value)
Definition Bucket.h:254
Bucket & WithLocation(const ResourceLocation &value)
Definition Bucket.h:141
bool ResourcesReceivingAccessHasBeenSet() const
Definition Bucket.h:248
void SetResourceType(const char *value)
Definition Bucket.h:56
Bucket & WithArn(Aws::String &&value)
Definition Bucket.h:84
Bucket & WithResourceType(const Aws::String &value)
Definition Bucket.h:57
const Aws::String & GetArn() const
Definition Bucket.h:78
bool BundleIdHasBeenSet() const
Definition Bucket.h:97
void SetSupportCode(const char *value)
Definition Bucket.h:169
bool ResourceTypeHasBeenSet() const
Definition Bucket.h:53
AWS_LIGHTSAIL_API Bucket & operator=(Aws::Utils::Json::JsonView jsonValue)
Bucket & AddResourcesReceivingAccess(const ResourceReceivingAccess &value)
Definition Bucket.h:253
void SetArn(const Aws::String &value)
Definition Bucket.h:80
Bucket & WithArn(const char *value)
Definition Bucket.h:85
bool SupportCodeHasBeenSet() const
Definition Bucket.h:166
const Aws::String & GetUrl() const
Definition Bucket.h:122
const Aws::String & GetBundleId() const
Definition Bucket.h:96
void SetLocation(const ResourceLocation &value)
Definition Bucket.h:139
Bucket & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Bucket.h:115
Bucket & WithResourcesReceivingAccess(const Aws::Vector< ResourceReceivingAccess > &value)
Definition Bucket.h:251
const Aws::Vector< ResourceReceivingAccess > & GetResourcesReceivingAccess() const
Definition Bucket.h:247
Bucket & WithReadonlyAccessAccounts(const Aws::Vector< Aws::String > &value)
Definition Bucket.h:233
void SetBundleId(const Aws::String &value)
Definition Bucket.h:98
Bucket & AddReadonlyAccessAccounts(const char *value)
Definition Bucket.h:237
const Aws::Vector< Aws::String > & GetReadonlyAccessAccounts() const
Definition Bucket.h:229
const ResourceLocation & GetLocation() const
Definition Bucket.h:137
bool NameHasBeenSet() const
Definition Bucket.h:150
Bucket & WithAbleToUpdateBundle(bool value)
Definition Bucket.h:221
Bucket & AddTags(Tag &&value)
Definition Bucket.h:188
bool ObjectVersioningHasBeenSet() const
Definition Bucket.h:201
const AccessRules & GetAccessRules() const
Definition Bucket.h:66
Bucket & WithAccessRules(AccessRules &&value)
Definition Bucket.h:71
void SetObjectVersioning(const char *value)
Definition Bucket.h:204
void SetResourcesReceivingAccess(Aws::Vector< ResourceReceivingAccess > &&value)
Definition Bucket.h:250
void SetState(const BucketState &value)
Definition Bucket.h:263
const BucketAccessLogConfig & GetAccessLogConfig() const
Definition Bucket.h:273
Bucket & WithBundleId(const char *value)
Definition Bucket.h:103
Bucket & WithReadonlyAccessAccounts(Aws::Vector< Aws::String > &&value)
Definition Bucket.h:234
bool AccessRulesHasBeenSet() const
Definition Bucket.h:67
Bucket & WithAccessLogConfig(const BucketAccessLogConfig &value)
Definition Bucket.h:277
Bucket & WithLocation(ResourceLocation &&value)
Definition Bucket.h:142
Bucket & WithUrl(const char *value)
Definition Bucket.h:129
Bucket & WithState(BucketState &&value)
Definition Bucket.h:266
bool GetAbleToUpdateBundle() const
Definition Bucket.h:218
Bucket & WithSupportCode(const char *value)
Definition Bucket.h:172
Bucket & WithName(const char *value)
Definition Bucket.h:156
void SetState(BucketState &&value)
Definition Bucket.h:264
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue