AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
72 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
73 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
74 inline BucketMetadata& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
75 inline BucketMetadata& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
76 inline BucketMetadata& WithAccountId(const char* value) { SetAccountId(value); return *this;}
78
80
94 inline const AllowsUnencryptedObjectUploads& GetAllowsUnencryptedObjectUploads() const{ return m_allowsUnencryptedObjectUploads; }
95 inline bool AllowsUnencryptedObjectUploadsHasBeenSet() const { return m_allowsUnencryptedObjectUploadsHasBeenSet; }
96 inline void SetAllowsUnencryptedObjectUploads(const AllowsUnencryptedObjectUploads& value) { m_allowsUnencryptedObjectUploadsHasBeenSet = true; m_allowsUnencryptedObjectUploads = value; }
97 inline void SetAllowsUnencryptedObjectUploads(AllowsUnencryptedObjectUploads&& value) { m_allowsUnencryptedObjectUploadsHasBeenSet = true; m_allowsUnencryptedObjectUploads = std::move(value); }
101
103
110 inline const AutomatedDiscoveryMonitoringStatus& GetAutomatedDiscoveryMonitoringStatus() const{ return m_automatedDiscoveryMonitoringStatus; }
111 inline bool AutomatedDiscoveryMonitoringStatusHasBeenSet() const { return m_automatedDiscoveryMonitoringStatusHasBeenSet; }
112 inline void SetAutomatedDiscoveryMonitoringStatus(const AutomatedDiscoveryMonitoringStatus& value) { m_automatedDiscoveryMonitoringStatusHasBeenSet = true; m_automatedDiscoveryMonitoringStatus = value; }
113 inline void SetAutomatedDiscoveryMonitoringStatus(AutomatedDiscoveryMonitoringStatus&& value) { m_automatedDiscoveryMonitoringStatusHasBeenSet = true; m_automatedDiscoveryMonitoringStatus = std::move(value); }
117
119
122 inline const Aws::String& GetBucketArn() const{ return m_bucketArn; }
123 inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; }
124 inline void SetBucketArn(const Aws::String& value) { m_bucketArnHasBeenSet = true; m_bucketArn = value; }
125 inline void SetBucketArn(Aws::String&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::move(value); }
126 inline void SetBucketArn(const char* value) { m_bucketArnHasBeenSet = true; m_bucketArn.assign(value); }
127 inline BucketMetadata& WithBucketArn(const Aws::String& value) { SetBucketArn(value); return *this;}
128 inline BucketMetadata& WithBucketArn(Aws::String&& value) { SetBucketArn(std::move(value)); return *this;}
129 inline BucketMetadata& WithBucketArn(const char* value) { SetBucketArn(value); return *this;}
131
133
138 inline const Aws::Utils::DateTime& GetBucketCreatedAt() const{ return m_bucketCreatedAt; }
139 inline bool BucketCreatedAtHasBeenSet() const { return m_bucketCreatedAtHasBeenSet; }
140 inline void SetBucketCreatedAt(const Aws::Utils::DateTime& value) { m_bucketCreatedAtHasBeenSet = true; m_bucketCreatedAt = value; }
141 inline void SetBucketCreatedAt(Aws::Utils::DateTime&& value) { m_bucketCreatedAtHasBeenSet = true; m_bucketCreatedAt = std::move(value); }
142 inline BucketMetadata& WithBucketCreatedAt(const Aws::Utils::DateTime& value) { SetBucketCreatedAt(value); return *this;}
143 inline BucketMetadata& WithBucketCreatedAt(Aws::Utils::DateTime&& value) { SetBucketCreatedAt(std::move(value)); return *this;}
145
147
150 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
151 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
152 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
153 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
154 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
155 inline BucketMetadata& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
156 inline BucketMetadata& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
157 inline BucketMetadata& WithBucketName(const char* value) { SetBucketName(value); return *this;}
159
161
166 inline long long GetClassifiableObjectCount() const{ return m_classifiableObjectCount; }
167 inline bool ClassifiableObjectCountHasBeenSet() const { return m_classifiableObjectCountHasBeenSet; }
168 inline void SetClassifiableObjectCount(long long value) { m_classifiableObjectCountHasBeenSet = true; m_classifiableObjectCount = value; }
169 inline BucketMetadata& WithClassifiableObjectCount(long long value) { SetClassifiableObjectCount(value); return *this;}
171
173
182 inline long long GetClassifiableSizeInBytes() const{ return m_classifiableSizeInBytes; }
183 inline bool ClassifiableSizeInBytesHasBeenSet() const { return m_classifiableSizeInBytesHasBeenSet; }
184 inline void SetClassifiableSizeInBytes(long long value) { m_classifiableSizeInBytesHasBeenSet = true; m_classifiableSizeInBytes = value; }
185 inline BucketMetadata& WithClassifiableSizeInBytes(long long value) { SetClassifiableSizeInBytes(value); return *this;}
187
189
197 inline const BucketMetadataErrorCode& GetErrorCode() const{ return m_errorCode; }
198 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
199 inline void SetErrorCode(const BucketMetadataErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
200 inline void SetErrorCode(BucketMetadataErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
201 inline BucketMetadata& WithErrorCode(const BucketMetadataErrorCode& value) { SetErrorCode(value); return *this;}
202 inline BucketMetadata& WithErrorCode(BucketMetadataErrorCode&& value) { SetErrorCode(std::move(value)); return *this;}
204
206
212 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
213 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
214 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
215 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
216 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
217 inline BucketMetadata& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
218 inline BucketMetadata& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
219 inline BucketMetadata& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
221
223
228 inline const JobDetails& GetJobDetails() const{ return m_jobDetails; }
229 inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; }
230 inline void SetJobDetails(const JobDetails& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = value; }
231 inline void SetJobDetails(JobDetails&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::move(value); }
232 inline BucketMetadata& WithJobDetails(const JobDetails& value) { SetJobDetails(value); return *this;}
233 inline BucketMetadata& WithJobDetails(JobDetails&& value) { SetJobDetails(std::move(value)); return *this;}
235
237
243 inline const Aws::Utils::DateTime& GetLastAutomatedDiscoveryTime() const{ return m_lastAutomatedDiscoveryTime; }
244 inline bool LastAutomatedDiscoveryTimeHasBeenSet() const { return m_lastAutomatedDiscoveryTimeHasBeenSet; }
245 inline void SetLastAutomatedDiscoveryTime(const Aws::Utils::DateTime& value) { m_lastAutomatedDiscoveryTimeHasBeenSet = true; m_lastAutomatedDiscoveryTime = value; }
246 inline void SetLastAutomatedDiscoveryTime(Aws::Utils::DateTime&& value) { m_lastAutomatedDiscoveryTimeHasBeenSet = true; m_lastAutomatedDiscoveryTime = std::move(value); }
250
252
257 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
258 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
259 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
260 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
261 inline BucketMetadata& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
262 inline BucketMetadata& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
264
266
269 inline long long GetObjectCount() const{ return m_objectCount; }
270 inline bool ObjectCountHasBeenSet() const { return m_objectCountHasBeenSet; }
271 inline void SetObjectCount(long long value) { m_objectCountHasBeenSet = true; m_objectCount = value; }
272 inline BucketMetadata& WithObjectCount(long long value) { SetObjectCount(value); return *this;}
274
276
281 inline const ObjectCountByEncryptionType& GetObjectCountByEncryptionType() const{ return m_objectCountByEncryptionType; }
282 inline bool ObjectCountByEncryptionTypeHasBeenSet() const { return m_objectCountByEncryptionTypeHasBeenSet; }
283 inline void SetObjectCountByEncryptionType(const ObjectCountByEncryptionType& value) { m_objectCountByEncryptionTypeHasBeenSet = true; m_objectCountByEncryptionType = value; }
284 inline void SetObjectCountByEncryptionType(ObjectCountByEncryptionType&& value) { m_objectCountByEncryptionTypeHasBeenSet = true; m_objectCountByEncryptionType = std::move(value); }
288
290
295 inline const BucketPublicAccess& GetPublicAccess() const{ return m_publicAccess; }
296 inline bool PublicAccessHasBeenSet() const { return m_publicAccessHasBeenSet; }
297 inline void SetPublicAccess(const BucketPublicAccess& value) { m_publicAccessHasBeenSet = true; m_publicAccess = value; }
298 inline void SetPublicAccess(BucketPublicAccess&& value) { m_publicAccessHasBeenSet = true; m_publicAccess = std::move(value); }
299 inline BucketMetadata& WithPublicAccess(const BucketPublicAccess& value) { SetPublicAccess(value); return *this;}
300 inline BucketMetadata& WithPublicAccess(BucketPublicAccess&& value) { SetPublicAccess(std::move(value)); return *this;}
302
304
307 inline const Aws::String& GetRegion() const{ return m_region; }
308 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
309 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
310 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
311 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
312 inline BucketMetadata& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
313 inline BucketMetadata& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
314 inline BucketMetadata& WithRegion(const char* value) { SetRegion(value); return *this;}
316
318
323 inline const ReplicationDetails& GetReplicationDetails() const{ return m_replicationDetails; }
324 inline bool ReplicationDetailsHasBeenSet() const { return m_replicationDetailsHasBeenSet; }
325 inline void SetReplicationDetails(const ReplicationDetails& value) { m_replicationDetailsHasBeenSet = true; m_replicationDetails = value; }
326 inline void SetReplicationDetails(ReplicationDetails&& value) { m_replicationDetailsHasBeenSet = true; m_replicationDetails = std::move(value); }
328 inline BucketMetadata& WithReplicationDetails(ReplicationDetails&& value) { SetReplicationDetails(std::move(value)); return *this;}
330
332
340 inline int GetSensitivityScore() const{ return m_sensitivityScore; }
341 inline bool SensitivityScoreHasBeenSet() const { return m_sensitivityScoreHasBeenSet; }
342 inline void SetSensitivityScore(int value) { m_sensitivityScoreHasBeenSet = true; m_sensitivityScore = value; }
343 inline BucketMetadata& WithSensitivityScore(int value) { SetSensitivityScore(value); return *this;}
345
347
350 inline const BucketServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
351 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
352 inline void SetServerSideEncryption(const BucketServerSideEncryption& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; }
353 inline void SetServerSideEncryption(BucketServerSideEncryption&& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = std::move(value); }
357
359
375 inline const SharedAccess& GetSharedAccess() const{ return m_sharedAccess; }
376 inline bool SharedAccessHasBeenSet() const { return m_sharedAccessHasBeenSet; }
377 inline void SetSharedAccess(const SharedAccess& value) { m_sharedAccessHasBeenSet = true; m_sharedAccess = value; }
378 inline void SetSharedAccess(SharedAccess&& value) { m_sharedAccessHasBeenSet = true; m_sharedAccess = std::move(value); }
379 inline BucketMetadata& WithSharedAccess(const SharedAccess& value) { SetSharedAccess(value); return *this;}
380 inline BucketMetadata& WithSharedAccess(SharedAccess&& value) { SetSharedAccess(std::move(value)); return *this;}
382
384
390 inline long long GetSizeInBytes() const{ return m_sizeInBytes; }
391 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
392 inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
393 inline BucketMetadata& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
395
397
404 inline long long GetSizeInBytesCompressed() const{ return m_sizeInBytesCompressed; }
405 inline bool SizeInBytesCompressedHasBeenSet() const { return m_sizeInBytesCompressedHasBeenSet; }
406 inline void SetSizeInBytesCompressed(long long value) { m_sizeInBytesCompressedHasBeenSet = true; m_sizeInBytesCompressed = value; }
407 inline BucketMetadata& WithSizeInBytesCompressed(long long value) { SetSizeInBytesCompressed(value); return *this;}
409
411
415 inline const Aws::Vector<KeyValuePair>& GetTags() const{ return m_tags; }
416 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
417 inline void SetTags(const Aws::Vector<KeyValuePair>& value) { m_tagsHasBeenSet = true; m_tags = value; }
418 inline void SetTags(Aws::Vector<KeyValuePair>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
419 inline BucketMetadata& WithTags(const Aws::Vector<KeyValuePair>& value) { SetTags(value); return *this;}
420 inline BucketMetadata& WithTags(Aws::Vector<KeyValuePair>&& value) { SetTags(std::move(value)); return *this;}
421 inline BucketMetadata& AddTags(const KeyValuePair& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
422 inline BucketMetadata& AddTags(KeyValuePair&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
424
426
431 inline const ObjectLevelStatistics& GetUnclassifiableObjectCount() const{ return m_unclassifiableObjectCount; }
432 inline bool UnclassifiableObjectCountHasBeenSet() const { return m_unclassifiableObjectCountHasBeenSet; }
433 inline void SetUnclassifiableObjectCount(const ObjectLevelStatistics& value) { m_unclassifiableObjectCountHasBeenSet = true; m_unclassifiableObjectCount = value; }
434 inline void SetUnclassifiableObjectCount(ObjectLevelStatistics&& value) { m_unclassifiableObjectCountHasBeenSet = true; m_unclassifiableObjectCount = std::move(value); }
438
440
445 inline const ObjectLevelStatistics& GetUnclassifiableObjectSizeInBytes() const{ return m_unclassifiableObjectSizeInBytes; }
446 inline bool UnclassifiableObjectSizeInBytesHasBeenSet() const { return m_unclassifiableObjectSizeInBytesHasBeenSet; }
447 inline void SetUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics& value) { m_unclassifiableObjectSizeInBytesHasBeenSet = true; m_unclassifiableObjectSizeInBytes = value; }
448 inline void SetUnclassifiableObjectSizeInBytes(ObjectLevelStatistics&& value) { m_unclassifiableObjectSizeInBytesHasBeenSet = true; m_unclassifiableObjectSizeInBytes = std::move(value); }
452
454
457 inline bool GetVersioning() const{ return m_versioning; }
458 inline bool VersioningHasBeenSet() const { return m_versioningHasBeenSet; }
459 inline void SetVersioning(bool value) { m_versioningHasBeenSet = true; m_versioning = value; }
460 inline BucketMetadata& WithVersioning(bool value) { SetVersioning(value); return *this;}
462 private:
463
464 Aws::String m_accountId;
465 bool m_accountIdHasBeenSet = false;
466
467 AllowsUnencryptedObjectUploads m_allowsUnencryptedObjectUploads;
468 bool m_allowsUnencryptedObjectUploadsHasBeenSet = false;
469
470 AutomatedDiscoveryMonitoringStatus m_automatedDiscoveryMonitoringStatus;
471 bool m_automatedDiscoveryMonitoringStatusHasBeenSet = false;
472
473 Aws::String m_bucketArn;
474 bool m_bucketArnHasBeenSet = false;
475
476 Aws::Utils::DateTime m_bucketCreatedAt;
477 bool m_bucketCreatedAtHasBeenSet = false;
478
479 Aws::String m_bucketName;
480 bool m_bucketNameHasBeenSet = false;
481
482 long long m_classifiableObjectCount;
483 bool m_classifiableObjectCountHasBeenSet = false;
484
485 long long m_classifiableSizeInBytes;
486 bool m_classifiableSizeInBytesHasBeenSet = false;
487
488 BucketMetadataErrorCode m_errorCode;
489 bool m_errorCodeHasBeenSet = false;
490
491 Aws::String m_errorMessage;
492 bool m_errorMessageHasBeenSet = false;
493
494 JobDetails m_jobDetails;
495 bool m_jobDetailsHasBeenSet = false;
496
497 Aws::Utils::DateTime m_lastAutomatedDiscoveryTime;
498 bool m_lastAutomatedDiscoveryTimeHasBeenSet = false;
499
500 Aws::Utils::DateTime m_lastUpdated;
501 bool m_lastUpdatedHasBeenSet = false;
502
503 long long m_objectCount;
504 bool m_objectCountHasBeenSet = false;
505
506 ObjectCountByEncryptionType m_objectCountByEncryptionType;
507 bool m_objectCountByEncryptionTypeHasBeenSet = false;
508
509 BucketPublicAccess m_publicAccess;
510 bool m_publicAccessHasBeenSet = false;
511
512 Aws::String m_region;
513 bool m_regionHasBeenSet = false;
514
515 ReplicationDetails m_replicationDetails;
516 bool m_replicationDetailsHasBeenSet = false;
517
518 int m_sensitivityScore;
519 bool m_sensitivityScoreHasBeenSet = false;
520
521 BucketServerSideEncryption m_serverSideEncryption;
522 bool m_serverSideEncryptionHasBeenSet = false;
523
524 SharedAccess m_sharedAccess;
525 bool m_sharedAccessHasBeenSet = false;
526
527 long long m_sizeInBytes;
528 bool m_sizeInBytesHasBeenSet = false;
529
530 long long m_sizeInBytesCompressed;
531 bool m_sizeInBytesCompressedHasBeenSet = false;
532
534 bool m_tagsHasBeenSet = false;
535
536 ObjectLevelStatistics m_unclassifiableObjectCount;
537 bool m_unclassifiableObjectCountHasBeenSet = false;
538
539 ObjectLevelStatistics m_unclassifiableObjectSizeInBytes;
540 bool m_unclassifiableObjectSizeInBytesHasBeenSet = false;
541
542 bool m_versioning;
543 bool m_versioningHasBeenSet = false;
544 };
545
546} // namespace Model
547} // namespace Macie2
548} // namespace Aws
void SetErrorCode(const BucketMetadataErrorCode &value)
void SetLastAutomatedDiscoveryTime(Aws::Utils::DateTime &&value)
void SetAccountId(const char *value)
const Aws::String & GetRegion() const
BucketMetadata & WithObjectCount(long long value)
BucketMetadata & WithTags(const Aws::Vector< KeyValuePair > &value)
void SetJobDetails(JobDetails &&value)
void SetLastUpdated(Aws::Utils::DateTime &&value)
BucketMetadata & WithJobDetails(const JobDetails &value)
BucketMetadata & WithAllowsUnencryptedObjectUploads(const AllowsUnencryptedObjectUploads &value)
BucketMetadata & WithSharedAccess(const SharedAccess &value)
BucketMetadata & WithLastAutomatedDiscoveryTime(Aws::Utils::DateTime &&value)
void SetSharedAccess(SharedAccess &&value)
BucketMetadata & WithReplicationDetails(const ReplicationDetails &value)
void SetPublicAccess(const BucketPublicAccess &value)
BucketMetadata & WithReplicationDetails(ReplicationDetails &&value)
bool UnclassifiableObjectSizeInBytesHasBeenSet() const
BucketMetadata & WithObjectCountByEncryptionType(const ObjectCountByEncryptionType &value)
BucketMetadata & WithBucketName(const Aws::String &value)
BucketMetadata & WithSharedAccess(SharedAccess &&value)
BucketMetadata & WithLastUpdated(Aws::Utils::DateTime &&value)
BucketMetadata & WithErrorCode(const BucketMetadataErrorCode &value)
const AllowsUnencryptedObjectUploads & GetAllowsUnencryptedObjectUploads() const
void SetUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics &value)
const ObjectLevelStatistics & GetUnclassifiableObjectSizeInBytes() const
BucketMetadata & WithClassifiableSizeInBytes(long long value)
void SetUnclassifiableObjectCount(const ObjectLevelStatistics &value)
AWS_MACIE2_API BucketMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(const Aws::String &value)
void SetErrorCode(BucketMetadataErrorCode &&value)
const Aws::String & GetBucketName() const
BucketMetadata & WithSensitivityScore(int value)
BucketMetadata & WithAccountId(Aws::String &&value)
BucketMetadata & WithPublicAccess(const BucketPublicAccess &value)
void SetBucketName(Aws::String &&value)
BucketMetadata & WithUnclassifiableObjectSizeInBytes(ObjectLevelStatistics &&value)
void SetLastUpdated(const Aws::Utils::DateTime &value)
void SetClassifiableObjectCount(long long value)
void SetAllowsUnencryptedObjectUploads(AllowsUnencryptedObjectUploads &&value)
BucketMetadata & WithAutomatedDiscoveryMonitoringStatus(AutomatedDiscoveryMonitoringStatus &&value)
BucketMetadata & WithBucketCreatedAt(Aws::Utils::DateTime &&value)
BucketMetadata & WithErrorMessage(const char *value)
void SetReplicationDetails(ReplicationDetails &&value)
BucketMetadata & WithLastAutomatedDiscoveryTime(const Aws::Utils::DateTime &value)
void SetJobDetails(const JobDetails &value)
const SharedAccess & GetSharedAccess() const
void SetServerSideEncryption(const BucketServerSideEncryption &value)
const Aws::String & GetAccountId() const
BucketMetadata & WithJobDetails(JobDetails &&value)
void SetRegion(const Aws::String &value)
void SetErrorMessage(Aws::String &&value)
BucketMetadata & WithPublicAccess(BucketPublicAccess &&value)
BucketMetadata & AddTags(const KeyValuePair &value)
void SetSizeInBytes(long long value)
void SetBucketCreatedAt(Aws::Utils::DateTime &&value)
void SetBucketArn(Aws::String &&value)
void SetRegion(Aws::String &&value)
BucketMetadata & WithObjectCountByEncryptionType(ObjectCountByEncryptionType &&value)
BucketMetadata & WithServerSideEncryption(const BucketServerSideEncryption &value)
BucketMetadata & WithBucketName(Aws::String &&value)
void SetBucketName(const char *value)
void SetAccountId(const Aws::String &value)
void SetLastAutomatedDiscoveryTime(const Aws::Utils::DateTime &value)
BucketMetadata & WithBucketName(const char *value)
void SetObjectCountByEncryptionType(ObjectCountByEncryptionType &&value)
BucketMetadata & WithBucketArn(const Aws::String &value)
const Aws::String & GetErrorMessage() const
void SetBucketArn(const Aws::String &value)
long long GetClassifiableObjectCount() const
const Aws::Utils::DateTime & GetLastAutomatedDiscoveryTime() const
void SetErrorMessage(const char *value)
void SetBucketCreatedAt(const Aws::Utils::DateTime &value)
void SetAccountId(Aws::String &&value)
BucketMetadata & WithUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics &value)
void SetAutomatedDiscoveryMonitoringStatus(AutomatedDiscoveryMonitoringStatus &&value)
void SetObjectCount(long long value)
BucketMetadata & WithErrorCode(BucketMetadataErrorCode &&value)
void SetAutomatedDiscoveryMonitoringStatus(const AutomatedDiscoveryMonitoringStatus &value)
const ObjectCountByEncryptionType & GetObjectCountByEncryptionType() const
BucketMetadata & AddTags(KeyValuePair &&value)
const Aws::Vector< KeyValuePair > & GetTags() const
void SetSizeInBytesCompressed(long long value)
BucketMetadata & WithLastUpdated(const Aws::Utils::DateTime &value)
BucketMetadata & WithErrorMessage(const Aws::String &value)
BucketMetadata & WithAccountId(const Aws::String &value)
void SetClassifiableSizeInBytes(long long value)
const Aws::Utils::DateTime & GetBucketCreatedAt() const
void SetServerSideEncryption(BucketServerSideEncryption &&value)
void SetPublicAccess(BucketPublicAccess &&value)
void SetUnclassifiableObjectCount(ObjectLevelStatistics &&value)
BucketMetadata & WithAllowsUnencryptedObjectUploads(AllowsUnencryptedObjectUploads &&value)
const BucketMetadataErrorCode & GetErrorCode() const
BucketMetadata & WithBucketArn(const char *value)
AWS_MACIE2_API BucketMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
BucketMetadata & WithUnclassifiableObjectCount(ObjectLevelStatistics &&value)
BucketMetadata & WithUnclassifiableObjectCount(const ObjectLevelStatistics &value)
void SetRegion(const char *value)
void SetAllowsUnencryptedObjectUploads(const AllowsUnencryptedObjectUploads &value)
const Aws::String & GetBucketArn() const
bool AllowsUnencryptedObjectUploadsHasBeenSet() const
BucketMetadata & WithRegion(const char *value)
void SetBucketName(const Aws::String &value)
BucketMetadata & WithRegion(Aws::String &&value)
const AutomatedDiscoveryMonitoringStatus & GetAutomatedDiscoveryMonitoringStatus() const
const ReplicationDetails & GetReplicationDetails() const
BucketMetadata & WithSizeInBytesCompressed(long long value)
void SetReplicationDetails(const ReplicationDetails &value)
BucketMetadata & WithClassifiableObjectCount(long long value)
bool AutomatedDiscoveryMonitoringStatusHasBeenSet() const
void SetTags(Aws::Vector< KeyValuePair > &&value)
long long GetClassifiableSizeInBytes() const
void SetUnclassifiableObjectSizeInBytes(ObjectLevelStatistics &&value)
void SetObjectCountByEncryptionType(const ObjectCountByEncryptionType &value)
void SetSharedAccess(const SharedAccess &value)
BucketMetadata & WithAccountId(const char *value)
BucketMetadata & WithRegion(const Aws::String &value)
BucketMetadata & WithErrorMessage(Aws::String &&value)
void SetTags(const Aws::Vector< KeyValuePair > &value)
BucketMetadata & WithAutomatedDiscoveryMonitoringStatus(const AutomatedDiscoveryMonitoringStatus &value)
BucketMetadata & WithBucketCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdated() const
BucketMetadata & WithServerSideEncryption(BucketServerSideEncryption &&value)
const ObjectLevelStatistics & GetUnclassifiableObjectCount() const
void SetBucketArn(const char *value)
BucketMetadata & WithSizeInBytes(long long value)
const BucketPublicAccess & GetPublicAccess() const
BucketMetadata & WithTags(Aws::Vector< KeyValuePair > &&value)
const BucketServerSideEncryption & GetServerSideEncryption() const
BucketMetadata & WithVersioning(bool value)
BucketMetadata & WithBucketArn(Aws::String &&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