AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BucketMetadata.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/AllowsUnencryptedObjectUploads.h>
10#include <aws/macie2/model/AutomatedDiscoveryMonitoringStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/macie2/model/BucketMetadataErrorCode.h>
13#include <aws/macie2/model/JobDetails.h>
14#include <aws/macie2/model/ObjectCountByEncryptionType.h>
15#include <aws/macie2/model/BucketPublicAccess.h>
16#include <aws/macie2/model/ReplicationDetails.h>
17#include <aws/macie2/model/BucketServerSideEncryption.h>
18#include <aws/macie2/model/SharedAccess.h>
19#include <aws/core/utils/memory/stl/AWSVector.h>
20#include <aws/macie2/model/ObjectLevelStatistics.h>
21#include <aws/macie2/model/KeyValuePair.h>
22#include <utility>
23
24namespace Aws
25{
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31 class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace Macie2
35{
36namespace Model
37{
38
56 {
57 public:
58 AWS_MACIE2_API BucketMetadata() = default;
59 AWS_MACIE2_API BucketMetadata(Aws::Utils::Json::JsonView jsonValue);
61 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
62
63
65
69 inline const Aws::String& GetAccountId() const { return m_accountId; }
70 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
71 template<typename AccountIdT = Aws::String>
72 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
73 template<typename AccountIdT = Aws::String>
74 BucketMetadata& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
76
78
92 inline AllowsUnencryptedObjectUploads GetAllowsUnencryptedObjectUploads() const { return m_allowsUnencryptedObjectUploads; }
93 inline bool AllowsUnencryptedObjectUploadsHasBeenSet() const { return m_allowsUnencryptedObjectUploadsHasBeenSet; }
94 inline void SetAllowsUnencryptedObjectUploads(AllowsUnencryptedObjectUploads value) { m_allowsUnencryptedObjectUploadsHasBeenSet = true; m_allowsUnencryptedObjectUploads = value; }
97
99
106 inline AutomatedDiscoveryMonitoringStatus GetAutomatedDiscoveryMonitoringStatus() const { return m_automatedDiscoveryMonitoringStatus; }
107 inline bool AutomatedDiscoveryMonitoringStatusHasBeenSet() const { return m_automatedDiscoveryMonitoringStatusHasBeenSet; }
108 inline void SetAutomatedDiscoveryMonitoringStatus(AutomatedDiscoveryMonitoringStatus value) { m_automatedDiscoveryMonitoringStatusHasBeenSet = true; m_automatedDiscoveryMonitoringStatus = value; }
111
113
116 inline const Aws::String& GetBucketArn() const { return m_bucketArn; }
117 inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; }
118 template<typename BucketArnT = Aws::String>
119 void SetBucketArn(BucketArnT&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::forward<BucketArnT>(value); }
120 template<typename BucketArnT = Aws::String>
121 BucketMetadata& WithBucketArn(BucketArnT&& value) { SetBucketArn(std::forward<BucketArnT>(value)); return *this;}
123
125
130 inline const Aws::Utils::DateTime& GetBucketCreatedAt() const { return m_bucketCreatedAt; }
131 inline bool BucketCreatedAtHasBeenSet() const { return m_bucketCreatedAtHasBeenSet; }
132 template<typename BucketCreatedAtT = Aws::Utils::DateTime>
133 void SetBucketCreatedAt(BucketCreatedAtT&& value) { m_bucketCreatedAtHasBeenSet = true; m_bucketCreatedAt = std::forward<BucketCreatedAtT>(value); }
134 template<typename BucketCreatedAtT = Aws::Utils::DateTime>
135 BucketMetadata& WithBucketCreatedAt(BucketCreatedAtT&& value) { SetBucketCreatedAt(std::forward<BucketCreatedAtT>(value)); return *this;}
137
139
142 inline const Aws::String& GetBucketName() const { return m_bucketName; }
143 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
144 template<typename BucketNameT = Aws::String>
145 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
146 template<typename BucketNameT = Aws::String>
147 BucketMetadata& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
149
151
156 inline long long GetClassifiableObjectCount() const { return m_classifiableObjectCount; }
157 inline bool ClassifiableObjectCountHasBeenSet() const { return m_classifiableObjectCountHasBeenSet; }
158 inline void SetClassifiableObjectCount(long long value) { m_classifiableObjectCountHasBeenSet = true; m_classifiableObjectCount = value; }
159 inline BucketMetadata& WithClassifiableObjectCount(long long value) { SetClassifiableObjectCount(value); return *this;}
161
163
172 inline long long GetClassifiableSizeInBytes() const { return m_classifiableSizeInBytes; }
173 inline bool ClassifiableSizeInBytesHasBeenSet() const { return m_classifiableSizeInBytesHasBeenSet; }
174 inline void SetClassifiableSizeInBytes(long long value) { m_classifiableSizeInBytesHasBeenSet = true; m_classifiableSizeInBytes = value; }
175 inline BucketMetadata& WithClassifiableSizeInBytes(long long value) { SetClassifiableSizeInBytes(value); return *this;}
177
179
190 inline BucketMetadataErrorCode GetErrorCode() const { return m_errorCode; }
191 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
192 inline void SetErrorCode(BucketMetadataErrorCode value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
193 inline BucketMetadata& WithErrorCode(BucketMetadataErrorCode value) { SetErrorCode(value); return *this;}
195
197
203 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
204 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
205 template<typename ErrorMessageT = Aws::String>
206 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
207 template<typename ErrorMessageT = Aws::String>
208 BucketMetadata& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
210
212
217 inline const JobDetails& GetJobDetails() const { return m_jobDetails; }
218 inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; }
219 template<typename JobDetailsT = JobDetails>
220 void SetJobDetails(JobDetailsT&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::forward<JobDetailsT>(value); }
221 template<typename JobDetailsT = JobDetails>
222 BucketMetadata& WithJobDetails(JobDetailsT&& value) { SetJobDetails(std::forward<JobDetailsT>(value)); return *this;}
224
226
232 inline const Aws::Utils::DateTime& GetLastAutomatedDiscoveryTime() const { return m_lastAutomatedDiscoveryTime; }
233 inline bool LastAutomatedDiscoveryTimeHasBeenSet() const { return m_lastAutomatedDiscoveryTimeHasBeenSet; }
234 template<typename LastAutomatedDiscoveryTimeT = Aws::Utils::DateTime>
235 void SetLastAutomatedDiscoveryTime(LastAutomatedDiscoveryTimeT&& value) { m_lastAutomatedDiscoveryTimeHasBeenSet = true; m_lastAutomatedDiscoveryTime = std::forward<LastAutomatedDiscoveryTimeT>(value); }
236 template<typename LastAutomatedDiscoveryTimeT = Aws::Utils::DateTime>
237 BucketMetadata& WithLastAutomatedDiscoveryTime(LastAutomatedDiscoveryTimeT&& value) { SetLastAutomatedDiscoveryTime(std::forward<LastAutomatedDiscoveryTimeT>(value)); return *this;}
239
241
246 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
247 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
248 template<typename LastUpdatedT = Aws::Utils::DateTime>
249 void SetLastUpdated(LastUpdatedT&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::forward<LastUpdatedT>(value); }
250 template<typename LastUpdatedT = Aws::Utils::DateTime>
251 BucketMetadata& WithLastUpdated(LastUpdatedT&& value) { SetLastUpdated(std::forward<LastUpdatedT>(value)); return *this;}
253
255
258 inline long long GetObjectCount() const { return m_objectCount; }
259 inline bool ObjectCountHasBeenSet() const { return m_objectCountHasBeenSet; }
260 inline void SetObjectCount(long long value) { m_objectCountHasBeenSet = true; m_objectCount = value; }
261 inline BucketMetadata& WithObjectCount(long long value) { SetObjectCount(value); return *this;}
263
265
270 inline const ObjectCountByEncryptionType& GetObjectCountByEncryptionType() const { return m_objectCountByEncryptionType; }
271 inline bool ObjectCountByEncryptionTypeHasBeenSet() const { return m_objectCountByEncryptionTypeHasBeenSet; }
272 template<typename ObjectCountByEncryptionTypeT = ObjectCountByEncryptionType>
273 void SetObjectCountByEncryptionType(ObjectCountByEncryptionTypeT&& value) { m_objectCountByEncryptionTypeHasBeenSet = true; m_objectCountByEncryptionType = std::forward<ObjectCountByEncryptionTypeT>(value); }
274 template<typename ObjectCountByEncryptionTypeT = ObjectCountByEncryptionType>
275 BucketMetadata& WithObjectCountByEncryptionType(ObjectCountByEncryptionTypeT&& value) { SetObjectCountByEncryptionType(std::forward<ObjectCountByEncryptionTypeT>(value)); return *this;}
277
279
284 inline const BucketPublicAccess& GetPublicAccess() const { return m_publicAccess; }
285 inline bool PublicAccessHasBeenSet() const { return m_publicAccessHasBeenSet; }
286 template<typename PublicAccessT = BucketPublicAccess>
287 void SetPublicAccess(PublicAccessT&& value) { m_publicAccessHasBeenSet = true; m_publicAccess = std::forward<PublicAccessT>(value); }
288 template<typename PublicAccessT = BucketPublicAccess>
289 BucketMetadata& WithPublicAccess(PublicAccessT&& value) { SetPublicAccess(std::forward<PublicAccessT>(value)); return *this;}
291
293
296 inline const Aws::String& GetRegion() const { return m_region; }
297 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
298 template<typename RegionT = Aws::String>
299 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
300 template<typename RegionT = Aws::String>
301 BucketMetadata& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
303
305
310 inline const ReplicationDetails& GetReplicationDetails() const { return m_replicationDetails; }
311 inline bool ReplicationDetailsHasBeenSet() const { return m_replicationDetailsHasBeenSet; }
312 template<typename ReplicationDetailsT = ReplicationDetails>
313 void SetReplicationDetails(ReplicationDetailsT&& value) { m_replicationDetailsHasBeenSet = true; m_replicationDetails = std::forward<ReplicationDetailsT>(value); }
314 template<typename ReplicationDetailsT = ReplicationDetails>
315 BucketMetadata& WithReplicationDetails(ReplicationDetailsT&& value) { SetReplicationDetails(std::forward<ReplicationDetailsT>(value)); return *this;}
317
319
327 inline int GetSensitivityScore() const { return m_sensitivityScore; }
328 inline bool SensitivityScoreHasBeenSet() const { return m_sensitivityScoreHasBeenSet; }
329 inline void SetSensitivityScore(int value) { m_sensitivityScoreHasBeenSet = true; m_sensitivityScore = value; }
330 inline BucketMetadata& WithSensitivityScore(int value) { SetSensitivityScore(value); return *this;}
332
334
337 inline const BucketServerSideEncryption& GetServerSideEncryption() const { return m_serverSideEncryption; }
338 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
339 template<typename ServerSideEncryptionT = BucketServerSideEncryption>
340 void SetServerSideEncryption(ServerSideEncryptionT&& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = std::forward<ServerSideEncryptionT>(value); }
341 template<typename ServerSideEncryptionT = BucketServerSideEncryption>
342 BucketMetadata& WithServerSideEncryption(ServerSideEncryptionT&& value) { SetServerSideEncryption(std::forward<ServerSideEncryptionT>(value)); return *this;}
344
346
362 inline SharedAccess GetSharedAccess() const { return m_sharedAccess; }
363 inline bool SharedAccessHasBeenSet() const { return m_sharedAccessHasBeenSet; }
364 inline void SetSharedAccess(SharedAccess value) { m_sharedAccessHasBeenSet = true; m_sharedAccess = value; }
365 inline BucketMetadata& WithSharedAccess(SharedAccess value) { SetSharedAccess(value); return *this;}
367
369
375 inline long long GetSizeInBytes() const { return m_sizeInBytes; }
376 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
377 inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
378 inline BucketMetadata& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
380
382
389 inline long long GetSizeInBytesCompressed() const { return m_sizeInBytesCompressed; }
390 inline bool SizeInBytesCompressedHasBeenSet() const { return m_sizeInBytesCompressedHasBeenSet; }
391 inline void SetSizeInBytesCompressed(long long value) { m_sizeInBytesCompressedHasBeenSet = true; m_sizeInBytesCompressed = value; }
392 inline BucketMetadata& WithSizeInBytesCompressed(long long value) { SetSizeInBytesCompressed(value); return *this;}
394
396
400 inline const Aws::Vector<KeyValuePair>& GetTags() const { return m_tags; }
401 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
402 template<typename TagsT = Aws::Vector<KeyValuePair>>
403 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
404 template<typename TagsT = Aws::Vector<KeyValuePair>>
405 BucketMetadata& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
406 template<typename TagsT = KeyValuePair>
407 BucketMetadata& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
409
411
416 inline const ObjectLevelStatistics& GetUnclassifiableObjectCount() const { return m_unclassifiableObjectCount; }
417 inline bool UnclassifiableObjectCountHasBeenSet() const { return m_unclassifiableObjectCountHasBeenSet; }
418 template<typename UnclassifiableObjectCountT = ObjectLevelStatistics>
419 void SetUnclassifiableObjectCount(UnclassifiableObjectCountT&& value) { m_unclassifiableObjectCountHasBeenSet = true; m_unclassifiableObjectCount = std::forward<UnclassifiableObjectCountT>(value); }
420 template<typename UnclassifiableObjectCountT = ObjectLevelStatistics>
421 BucketMetadata& WithUnclassifiableObjectCount(UnclassifiableObjectCountT&& value) { SetUnclassifiableObjectCount(std::forward<UnclassifiableObjectCountT>(value)); return *this;}
423
425
430 inline const ObjectLevelStatistics& GetUnclassifiableObjectSizeInBytes() const { return m_unclassifiableObjectSizeInBytes; }
431 inline bool UnclassifiableObjectSizeInBytesHasBeenSet() const { return m_unclassifiableObjectSizeInBytesHasBeenSet; }
432 template<typename UnclassifiableObjectSizeInBytesT = ObjectLevelStatistics>
433 void SetUnclassifiableObjectSizeInBytes(UnclassifiableObjectSizeInBytesT&& value) { m_unclassifiableObjectSizeInBytesHasBeenSet = true; m_unclassifiableObjectSizeInBytes = std::forward<UnclassifiableObjectSizeInBytesT>(value); }
434 template<typename UnclassifiableObjectSizeInBytesT = ObjectLevelStatistics>
435 BucketMetadata& WithUnclassifiableObjectSizeInBytes(UnclassifiableObjectSizeInBytesT&& value) { SetUnclassifiableObjectSizeInBytes(std::forward<UnclassifiableObjectSizeInBytesT>(value)); return *this;}
437
439
442 inline bool GetVersioning() const { return m_versioning; }
443 inline bool VersioningHasBeenSet() const { return m_versioningHasBeenSet; }
444 inline void SetVersioning(bool value) { m_versioningHasBeenSet = true; m_versioning = value; }
445 inline BucketMetadata& WithVersioning(bool value) { SetVersioning(value); return *this;}
447 private:
448
449 Aws::String m_accountId;
450 bool m_accountIdHasBeenSet = false;
451
453 bool m_allowsUnencryptedObjectUploadsHasBeenSet = false;
454
456 bool m_automatedDiscoveryMonitoringStatusHasBeenSet = false;
457
458 Aws::String m_bucketArn;
459 bool m_bucketArnHasBeenSet = false;
460
461 Aws::Utils::DateTime m_bucketCreatedAt{};
462 bool m_bucketCreatedAtHasBeenSet = false;
463
464 Aws::String m_bucketName;
465 bool m_bucketNameHasBeenSet = false;
466
467 long long m_classifiableObjectCount{0};
468 bool m_classifiableObjectCountHasBeenSet = false;
469
470 long long m_classifiableSizeInBytes{0};
471 bool m_classifiableSizeInBytesHasBeenSet = false;
472
474 bool m_errorCodeHasBeenSet = false;
475
476 Aws::String m_errorMessage;
477 bool m_errorMessageHasBeenSet = false;
478
479 JobDetails m_jobDetails;
480 bool m_jobDetailsHasBeenSet = false;
481
482 Aws::Utils::DateTime m_lastAutomatedDiscoveryTime{};
483 bool m_lastAutomatedDiscoveryTimeHasBeenSet = false;
484
485 Aws::Utils::DateTime m_lastUpdated{};
486 bool m_lastUpdatedHasBeenSet = false;
487
488 long long m_objectCount{0};
489 bool m_objectCountHasBeenSet = false;
490
491 ObjectCountByEncryptionType m_objectCountByEncryptionType;
492 bool m_objectCountByEncryptionTypeHasBeenSet = false;
493
494 BucketPublicAccess m_publicAccess;
495 bool m_publicAccessHasBeenSet = false;
496
497 Aws::String m_region;
498 bool m_regionHasBeenSet = false;
499
500 ReplicationDetails m_replicationDetails;
501 bool m_replicationDetailsHasBeenSet = false;
502
503 int m_sensitivityScore{0};
504 bool m_sensitivityScoreHasBeenSet = false;
505
506 BucketServerSideEncryption m_serverSideEncryption;
507 bool m_serverSideEncryptionHasBeenSet = false;
508
509 SharedAccess m_sharedAccess{SharedAccess::NOT_SET};
510 bool m_sharedAccessHasBeenSet = false;
511
512 long long m_sizeInBytes{0};
513 bool m_sizeInBytesHasBeenSet = false;
514
515 long long m_sizeInBytesCompressed{0};
516 bool m_sizeInBytesCompressedHasBeenSet = false;
517
519 bool m_tagsHasBeenSet = false;
520
521 ObjectLevelStatistics m_unclassifiableObjectCount;
522 bool m_unclassifiableObjectCountHasBeenSet = false;
523
524 ObjectLevelStatistics m_unclassifiableObjectSizeInBytes;
525 bool m_unclassifiableObjectSizeInBytesHasBeenSet = false;
526
527 bool m_versioning{false};
528 bool m_versioningHasBeenSet = false;
529 };
530
531} // namespace Model
532} // namespace Macie2
533} // namespace Aws
void SetLastUpdated(LastUpdatedT &&value)
const Aws::String & GetRegion() const
void SetReplicationDetails(ReplicationDetailsT &&value)
BucketMetadata & WithObjectCount(long long value)
BucketMetadata & WithRegion(RegionT &&value)
bool UnclassifiableObjectSizeInBytesHasBeenSet() const
const ObjectLevelStatistics & GetUnclassifiableObjectSizeInBytes() const
BucketMetadata & WithClassifiableSizeInBytes(long long value)
AWS_MACIE2_API BucketMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
BucketMetadata & WithUnclassifiableObjectSizeInBytes(UnclassifiableObjectSizeInBytesT &&value)
const Aws::String & GetBucketName() const
BucketMetadata & WithSensitivityScore(int value)
BucketMetadata & WithBucketArn(BucketArnT &&value)
BucketMetadata & WithAccountId(AccountIdT &&value)
void SetBucketCreatedAt(BucketCreatedAtT &&value)
void SetClassifiableObjectCount(long long value)
BucketMetadata & WithBucketName(BucketNameT &&value)
void SetObjectCountByEncryptionType(ObjectCountByEncryptionTypeT &&value)
BucketMetadata & WithLastAutomatedDiscoveryTime(LastAutomatedDiscoveryTimeT &&value)
void SetBucketName(BucketNameT &&value)
void SetErrorMessage(ErrorMessageT &&value)
void SetUnclassifiableObjectCount(UnclassifiableObjectCountT &&value)
BucketMetadata & AddTags(TagsT &&value)
BucketMetadata & WithServerSideEncryption(ServerSideEncryptionT &&value)
const Aws::String & GetAccountId() const
BucketMetadata & WithErrorCode(BucketMetadataErrorCode value)
void SetSizeInBytes(long long value)
void SetLastAutomatedDiscoveryTime(LastAutomatedDiscoveryTimeT &&value)
BucketMetadata & WithAutomatedDiscoveryMonitoringStatus(AutomatedDiscoveryMonitoringStatus value)
AWS_MACIE2_API BucketMetadata()=default
BucketMetadata & WithTags(TagsT &&value)
BucketMetadata & WithErrorMessage(ErrorMessageT &&value)
BucketMetadata & WithBucketCreatedAt(BucketCreatedAtT &&value)
void SetAllowsUnencryptedObjectUploads(AllowsUnencryptedObjectUploads value)
const Aws::String & GetErrorMessage() const
BucketMetadata & WithReplicationDetails(ReplicationDetailsT &&value)
long long GetClassifiableObjectCount() const
const Aws::Utils::DateTime & GetLastAutomatedDiscoveryTime() const
void SetObjectCount(long long value)
const ObjectCountByEncryptionType & GetObjectCountByEncryptionType() const
const Aws::Vector< KeyValuePair > & GetTags() const
void SetSizeInBytesCompressed(long long value)
AutomatedDiscoveryMonitoringStatus GetAutomatedDiscoveryMonitoringStatus() const
void SetClassifiableSizeInBytes(long long value)
BucketMetadata & WithUnclassifiableObjectCount(UnclassifiableObjectCountT &&value)
BucketMetadata & WithPublicAccess(PublicAccessT &&value)
void SetServerSideEncryption(ServerSideEncryptionT &&value)
const Aws::Utils::DateTime & GetBucketCreatedAt() const
BucketMetadataErrorCode GetErrorCode() const
AWS_MACIE2_API BucketMetadata(Aws::Utils::Json::JsonView jsonValue)
AllowsUnencryptedObjectUploads GetAllowsUnencryptedObjectUploads() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBucketArn() const
void SetUnclassifiableObjectSizeInBytes(UnclassifiableObjectSizeInBytesT &&value)
bool AllowsUnencryptedObjectUploadsHasBeenSet() const
BucketMetadata & WithObjectCountByEncryptionType(ObjectCountByEncryptionTypeT &&value)
const ReplicationDetails & GetReplicationDetails() const
BucketMetadata & WithLastUpdated(LastUpdatedT &&value)
BucketMetadata & WithSizeInBytesCompressed(long long value)
BucketMetadata & WithClassifiableObjectCount(long long value)
bool AutomatedDiscoveryMonitoringStatusHasBeenSet() const
long long GetClassifiableSizeInBytes() const
BucketMetadata & WithJobDetails(JobDetailsT &&value)
void SetAutomatedDiscoveryMonitoringStatus(AutomatedDiscoveryMonitoringStatus value)
void SetJobDetails(JobDetailsT &&value)
void SetAccountId(AccountIdT &&value)
const Aws::Utils::DateTime & GetLastUpdated() const
void SetPublicAccess(PublicAccessT &&value)
const ObjectLevelStatistics & GetUnclassifiableObjectCount() const
BucketMetadata & WithSizeInBytes(long long value)
void SetErrorCode(BucketMetadataErrorCode value)
const BucketPublicAccess & GetPublicAccess() const
const BucketServerSideEncryption & GetServerSideEncryption() const
BucketMetadata & WithVersioning(bool value)
void SetBucketArn(BucketArnT &&value)
BucketMetadata & WithSharedAccess(SharedAccess value)
void SetSharedAccess(SharedAccess value)
BucketMetadata & WithAllowsUnencryptedObjectUploads(AllowsUnencryptedObjectUploads value)
const JobDetails & GetJobDetails() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue