AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
BucketMetadata.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/macie2/Macie2_EXPORTS.h>
11#include <aws/macie2/model/AllowsUnencryptedObjectUploads.h>
12#include <aws/macie2/model/AutomatedDiscoveryMonitoringStatus.h>
13#include <aws/macie2/model/BucketMetadataErrorCode.h>
14#include <aws/macie2/model/BucketPublicAccess.h>
15#include <aws/macie2/model/BucketServerSideEncryption.h>
16#include <aws/macie2/model/JobDetails.h>
17#include <aws/macie2/model/KeyValuePair.h>
18#include <aws/macie2/model/ObjectCountByEncryptionType.h>
19#include <aws/macie2/model/ObjectLevelStatistics.h>
20#include <aws/macie2/model/ReplicationDetails.h>
21#include <aws/macie2/model/SharedAccess.h>
22
23#include <utility>
24
25namespace Aws {
26namespace Utils {
27namespace Json {
28class JsonValue;
29class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace Macie2 {
33namespace Model {
34
52 public:
53 AWS_MACIE2_API BucketMetadata() = default;
54 AWS_MACIE2_API BucketMetadata(Aws::Utils::Json::JsonView jsonValue);
56 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
57
59
63 inline const Aws::String& GetAccountId() const { return m_accountId; }
64 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
65 template <typename AccountIdT = Aws::String>
66 void SetAccountId(AccountIdT&& value) {
67 m_accountIdHasBeenSet = true;
68 m_accountId = std::forward<AccountIdT>(value);
69 }
70 template <typename AccountIdT = Aws::String>
71 BucketMetadata& WithAccountId(AccountIdT&& value) {
72 SetAccountId(std::forward<AccountIdT>(value));
73 return *this;
74 }
76
78
92 inline AllowsUnencryptedObjectUploads GetAllowsUnencryptedObjectUploads() const { return m_allowsUnencryptedObjectUploads; }
93 inline bool AllowsUnencryptedObjectUploadsHasBeenSet() const { return m_allowsUnencryptedObjectUploadsHasBeenSet; }
95 m_allowsUnencryptedObjectUploadsHasBeenSet = true;
96 m_allowsUnencryptedObjectUploads = value;
97 }
100 return *this;
101 }
103
105
112 inline AutomatedDiscoveryMonitoringStatus GetAutomatedDiscoveryMonitoringStatus() const { return m_automatedDiscoveryMonitoringStatus; }
113 inline bool AutomatedDiscoveryMonitoringStatusHasBeenSet() const { return m_automatedDiscoveryMonitoringStatusHasBeenSet; }
115 m_automatedDiscoveryMonitoringStatusHasBeenSet = true;
116 m_automatedDiscoveryMonitoringStatus = value;
117 }
120 return *this;
121 }
123
125
128 inline const Aws::String& GetBucketArn() const { return m_bucketArn; }
129 inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; }
130 template <typename BucketArnT = Aws::String>
131 void SetBucketArn(BucketArnT&& value) {
132 m_bucketArnHasBeenSet = true;
133 m_bucketArn = std::forward<BucketArnT>(value);
134 }
135 template <typename BucketArnT = Aws::String>
136 BucketMetadata& WithBucketArn(BucketArnT&& value) {
137 SetBucketArn(std::forward<BucketArnT>(value));
138 return *this;
139 }
141
143
148 inline const Aws::Utils::DateTime& GetBucketCreatedAt() const { return m_bucketCreatedAt; }
149 inline bool BucketCreatedAtHasBeenSet() const { return m_bucketCreatedAtHasBeenSet; }
150 template <typename BucketCreatedAtT = Aws::Utils::DateTime>
151 void SetBucketCreatedAt(BucketCreatedAtT&& value) {
152 m_bucketCreatedAtHasBeenSet = true;
153 m_bucketCreatedAt = std::forward<BucketCreatedAtT>(value);
154 }
155 template <typename BucketCreatedAtT = Aws::Utils::DateTime>
156 BucketMetadata& WithBucketCreatedAt(BucketCreatedAtT&& value) {
157 SetBucketCreatedAt(std::forward<BucketCreatedAtT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::String& GetBucketName() const { return m_bucketName; }
167 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
168 template <typename BucketNameT = Aws::String>
169 void SetBucketName(BucketNameT&& value) {
170 m_bucketNameHasBeenSet = true;
171 m_bucketName = std::forward<BucketNameT>(value);
172 }
173 template <typename BucketNameT = Aws::String>
174 BucketMetadata& WithBucketName(BucketNameT&& value) {
175 SetBucketName(std::forward<BucketNameT>(value));
176 return *this;
177 }
179
181
186 inline long long GetClassifiableObjectCount() const { return m_classifiableObjectCount; }
187 inline bool ClassifiableObjectCountHasBeenSet() const { return m_classifiableObjectCountHasBeenSet; }
188 inline void SetClassifiableObjectCount(long long value) {
189 m_classifiableObjectCountHasBeenSet = true;
190 m_classifiableObjectCount = value;
191 }
194 return *this;
195 }
197
199
208 inline long long GetClassifiableSizeInBytes() const { return m_classifiableSizeInBytes; }
209 inline bool ClassifiableSizeInBytesHasBeenSet() const { return m_classifiableSizeInBytesHasBeenSet; }
210 inline void SetClassifiableSizeInBytes(long long value) {
211 m_classifiableSizeInBytesHasBeenSet = true;
212 m_classifiableSizeInBytes = value;
213 }
216 return *this;
217 }
219
221
232 inline BucketMetadataErrorCode GetErrorCode() const { return m_errorCode; }
233 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
235 m_errorCodeHasBeenSet = true;
236 m_errorCode = value;
237 }
239 SetErrorCode(value);
240 return *this;
241 }
243
245
251 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
252 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
253 template <typename ErrorMessageT = Aws::String>
254 void SetErrorMessage(ErrorMessageT&& value) {
255 m_errorMessageHasBeenSet = true;
256 m_errorMessage = std::forward<ErrorMessageT>(value);
257 }
258 template <typename ErrorMessageT = Aws::String>
259 BucketMetadata& WithErrorMessage(ErrorMessageT&& value) {
260 SetErrorMessage(std::forward<ErrorMessageT>(value));
261 return *this;
262 }
264
266
271 inline const JobDetails& GetJobDetails() const { return m_jobDetails; }
272 inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; }
273 template <typename JobDetailsT = JobDetails>
274 void SetJobDetails(JobDetailsT&& value) {
275 m_jobDetailsHasBeenSet = true;
276 m_jobDetails = std::forward<JobDetailsT>(value);
277 }
278 template <typename JobDetailsT = JobDetails>
279 BucketMetadata& WithJobDetails(JobDetailsT&& value) {
280 SetJobDetails(std::forward<JobDetailsT>(value));
281 return *this;
282 }
284
286
292 inline const Aws::Utils::DateTime& GetLastAutomatedDiscoveryTime() const { return m_lastAutomatedDiscoveryTime; }
293 inline bool LastAutomatedDiscoveryTimeHasBeenSet() const { return m_lastAutomatedDiscoveryTimeHasBeenSet; }
294 template <typename LastAutomatedDiscoveryTimeT = Aws::Utils::DateTime>
295 void SetLastAutomatedDiscoveryTime(LastAutomatedDiscoveryTimeT&& value) {
296 m_lastAutomatedDiscoveryTimeHasBeenSet = true;
297 m_lastAutomatedDiscoveryTime = std::forward<LastAutomatedDiscoveryTimeT>(value);
298 }
299 template <typename LastAutomatedDiscoveryTimeT = Aws::Utils::DateTime>
300 BucketMetadata& WithLastAutomatedDiscoveryTime(LastAutomatedDiscoveryTimeT&& value) {
301 SetLastAutomatedDiscoveryTime(std::forward<LastAutomatedDiscoveryTimeT>(value));
302 return *this;
303 }
305
307
312 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
313 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
314 template <typename LastUpdatedT = Aws::Utils::DateTime>
315 void SetLastUpdated(LastUpdatedT&& value) {
316 m_lastUpdatedHasBeenSet = true;
317 m_lastUpdated = std::forward<LastUpdatedT>(value);
318 }
319 template <typename LastUpdatedT = Aws::Utils::DateTime>
320 BucketMetadata& WithLastUpdated(LastUpdatedT&& value) {
321 SetLastUpdated(std::forward<LastUpdatedT>(value));
322 return *this;
323 }
325
327
330 inline long long GetObjectCount() const { return m_objectCount; }
331 inline bool ObjectCountHasBeenSet() const { return m_objectCountHasBeenSet; }
332 inline void SetObjectCount(long long value) {
333 m_objectCountHasBeenSet = true;
334 m_objectCount = value;
335 }
336 inline BucketMetadata& WithObjectCount(long long value) {
337 SetObjectCount(value);
338 return *this;
339 }
341
343
348 inline const ObjectCountByEncryptionType& GetObjectCountByEncryptionType() const { return m_objectCountByEncryptionType; }
349 inline bool ObjectCountByEncryptionTypeHasBeenSet() const { return m_objectCountByEncryptionTypeHasBeenSet; }
350 template <typename ObjectCountByEncryptionTypeT = ObjectCountByEncryptionType>
351 void SetObjectCountByEncryptionType(ObjectCountByEncryptionTypeT&& value) {
352 m_objectCountByEncryptionTypeHasBeenSet = true;
353 m_objectCountByEncryptionType = std::forward<ObjectCountByEncryptionTypeT>(value);
354 }
355 template <typename ObjectCountByEncryptionTypeT = ObjectCountByEncryptionType>
356 BucketMetadata& WithObjectCountByEncryptionType(ObjectCountByEncryptionTypeT&& value) {
357 SetObjectCountByEncryptionType(std::forward<ObjectCountByEncryptionTypeT>(value));
358 return *this;
359 }
361
363
368 inline const BucketPublicAccess& GetPublicAccess() const { return m_publicAccess; }
369 inline bool PublicAccessHasBeenSet() const { return m_publicAccessHasBeenSet; }
370 template <typename PublicAccessT = BucketPublicAccess>
371 void SetPublicAccess(PublicAccessT&& value) {
372 m_publicAccessHasBeenSet = true;
373 m_publicAccess = std::forward<PublicAccessT>(value);
374 }
375 template <typename PublicAccessT = BucketPublicAccess>
376 BucketMetadata& WithPublicAccess(PublicAccessT&& value) {
377 SetPublicAccess(std::forward<PublicAccessT>(value));
378 return *this;
379 }
381
383
386 inline const Aws::String& GetRegion() const { return m_region; }
387 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
388 template <typename RegionT = Aws::String>
389 void SetRegion(RegionT&& value) {
390 m_regionHasBeenSet = true;
391 m_region = std::forward<RegionT>(value);
392 }
393 template <typename RegionT = Aws::String>
394 BucketMetadata& WithRegion(RegionT&& value) {
395 SetRegion(std::forward<RegionT>(value));
396 return *this;
397 }
399
401
406 inline const ReplicationDetails& GetReplicationDetails() const { return m_replicationDetails; }
407 inline bool ReplicationDetailsHasBeenSet() const { return m_replicationDetailsHasBeenSet; }
408 template <typename ReplicationDetailsT = ReplicationDetails>
409 void SetReplicationDetails(ReplicationDetailsT&& value) {
410 m_replicationDetailsHasBeenSet = true;
411 m_replicationDetails = std::forward<ReplicationDetailsT>(value);
412 }
413 template <typename ReplicationDetailsT = ReplicationDetails>
414 BucketMetadata& WithReplicationDetails(ReplicationDetailsT&& value) {
415 SetReplicationDetails(std::forward<ReplicationDetailsT>(value));
416 return *this;
417 }
419
421
429 inline int GetSensitivityScore() const { return m_sensitivityScore; }
430 inline bool SensitivityScoreHasBeenSet() const { return m_sensitivityScoreHasBeenSet; }
431 inline void SetSensitivityScore(int value) {
432 m_sensitivityScoreHasBeenSet = true;
433 m_sensitivityScore = value;
434 }
436 SetSensitivityScore(value);
437 return *this;
438 }
440
442
445 inline const BucketServerSideEncryption& GetServerSideEncryption() const { return m_serverSideEncryption; }
446 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
447 template <typename ServerSideEncryptionT = BucketServerSideEncryption>
448 void SetServerSideEncryption(ServerSideEncryptionT&& value) {
449 m_serverSideEncryptionHasBeenSet = true;
450 m_serverSideEncryption = std::forward<ServerSideEncryptionT>(value);
451 }
452 template <typename ServerSideEncryptionT = BucketServerSideEncryption>
453 BucketMetadata& WithServerSideEncryption(ServerSideEncryptionT&& value) {
454 SetServerSideEncryption(std::forward<ServerSideEncryptionT>(value));
455 return *this;
456 }
458
460
476 inline SharedAccess GetSharedAccess() const { return m_sharedAccess; }
477 inline bool SharedAccessHasBeenSet() const { return m_sharedAccessHasBeenSet; }
478 inline void SetSharedAccess(SharedAccess value) {
479 m_sharedAccessHasBeenSet = true;
480 m_sharedAccess = value;
481 }
483 SetSharedAccess(value);
484 return *this;
485 }
487
489
495 inline long long GetSizeInBytes() const { return m_sizeInBytes; }
496 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
497 inline void SetSizeInBytes(long long value) {
498 m_sizeInBytesHasBeenSet = true;
499 m_sizeInBytes = value;
500 }
501 inline BucketMetadata& WithSizeInBytes(long long value) {
502 SetSizeInBytes(value);
503 return *this;
504 }
506
508
515 inline long long GetSizeInBytesCompressed() const { return m_sizeInBytesCompressed; }
516 inline bool SizeInBytesCompressedHasBeenSet() const { return m_sizeInBytesCompressedHasBeenSet; }
517 inline void SetSizeInBytesCompressed(long long value) {
518 m_sizeInBytesCompressedHasBeenSet = true;
519 m_sizeInBytesCompressed = value;
520 }
521 inline BucketMetadata& WithSizeInBytesCompressed(long long value) {
523 return *this;
524 }
526
528
532 inline const Aws::Vector<KeyValuePair>& GetTags() const { return m_tags; }
533 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
534 template <typename TagsT = Aws::Vector<KeyValuePair>>
535 void SetTags(TagsT&& value) {
536 m_tagsHasBeenSet = true;
537 m_tags = std::forward<TagsT>(value);
538 }
539 template <typename TagsT = Aws::Vector<KeyValuePair>>
540 BucketMetadata& WithTags(TagsT&& value) {
541 SetTags(std::forward<TagsT>(value));
542 return *this;
543 }
544 template <typename TagsT = KeyValuePair>
545 BucketMetadata& AddTags(TagsT&& value) {
546 m_tagsHasBeenSet = true;
547 m_tags.emplace_back(std::forward<TagsT>(value));
548 return *this;
549 }
551
553
558 inline const ObjectLevelStatistics& GetUnclassifiableObjectCount() const { return m_unclassifiableObjectCount; }
559 inline bool UnclassifiableObjectCountHasBeenSet() const { return m_unclassifiableObjectCountHasBeenSet; }
560 template <typename UnclassifiableObjectCountT = ObjectLevelStatistics>
561 void SetUnclassifiableObjectCount(UnclassifiableObjectCountT&& value) {
562 m_unclassifiableObjectCountHasBeenSet = true;
563 m_unclassifiableObjectCount = std::forward<UnclassifiableObjectCountT>(value);
564 }
565 template <typename UnclassifiableObjectCountT = ObjectLevelStatistics>
566 BucketMetadata& WithUnclassifiableObjectCount(UnclassifiableObjectCountT&& value) {
567 SetUnclassifiableObjectCount(std::forward<UnclassifiableObjectCountT>(value));
568 return *this;
569 }
571
573
578 inline const ObjectLevelStatistics& GetUnclassifiableObjectSizeInBytes() const { return m_unclassifiableObjectSizeInBytes; }
579 inline bool UnclassifiableObjectSizeInBytesHasBeenSet() const { return m_unclassifiableObjectSizeInBytesHasBeenSet; }
580 template <typename UnclassifiableObjectSizeInBytesT = ObjectLevelStatistics>
581 void SetUnclassifiableObjectSizeInBytes(UnclassifiableObjectSizeInBytesT&& value) {
582 m_unclassifiableObjectSizeInBytesHasBeenSet = true;
583 m_unclassifiableObjectSizeInBytes = std::forward<UnclassifiableObjectSizeInBytesT>(value);
584 }
585 template <typename UnclassifiableObjectSizeInBytesT = ObjectLevelStatistics>
586 BucketMetadata& WithUnclassifiableObjectSizeInBytes(UnclassifiableObjectSizeInBytesT&& value) {
587 SetUnclassifiableObjectSizeInBytes(std::forward<UnclassifiableObjectSizeInBytesT>(value));
588 return *this;
589 }
591
593
596 inline bool GetVersioning() const { return m_versioning; }
597 inline bool VersioningHasBeenSet() const { return m_versioningHasBeenSet; }
598 inline void SetVersioning(bool value) {
599 m_versioningHasBeenSet = true;
600 m_versioning = value;
601 }
602 inline BucketMetadata& WithVersioning(bool value) {
603 SetVersioning(value);
604 return *this;
605 }
607 private:
608 Aws::String m_accountId;
609
611
613
614 Aws::String m_bucketArn;
615
616 Aws::Utils::DateTime m_bucketCreatedAt{};
617
618 Aws::String m_bucketName;
619
620 long long m_classifiableObjectCount{0};
621
622 long long m_classifiableSizeInBytes{0};
623
625
626 Aws::String m_errorMessage;
627
628 JobDetails m_jobDetails;
629
630 Aws::Utils::DateTime m_lastAutomatedDiscoveryTime{};
631
632 Aws::Utils::DateTime m_lastUpdated{};
633
634 long long m_objectCount{0};
635
636 ObjectCountByEncryptionType m_objectCountByEncryptionType;
637
638 BucketPublicAccess m_publicAccess;
639
640 Aws::String m_region;
641
642 ReplicationDetails m_replicationDetails;
643
644 int m_sensitivityScore{0};
645
646 BucketServerSideEncryption m_serverSideEncryption;
647
648 SharedAccess m_sharedAccess{SharedAccess::NOT_SET};
649
650 long long m_sizeInBytes{0};
651
652 long long m_sizeInBytesCompressed{0};
653
655
656 ObjectLevelStatistics m_unclassifiableObjectCount;
657
658 ObjectLevelStatistics m_unclassifiableObjectSizeInBytes;
659
660 bool m_versioning{false};
661 bool m_accountIdHasBeenSet = false;
662 bool m_allowsUnencryptedObjectUploadsHasBeenSet = false;
663 bool m_automatedDiscoveryMonitoringStatusHasBeenSet = false;
664 bool m_bucketArnHasBeenSet = false;
665 bool m_bucketCreatedAtHasBeenSet = false;
666 bool m_bucketNameHasBeenSet = false;
667 bool m_classifiableObjectCountHasBeenSet = false;
668 bool m_classifiableSizeInBytesHasBeenSet = false;
669 bool m_errorCodeHasBeenSet = false;
670 bool m_errorMessageHasBeenSet = false;
671 bool m_jobDetailsHasBeenSet = false;
672 bool m_lastAutomatedDiscoveryTimeHasBeenSet = false;
673 bool m_lastUpdatedHasBeenSet = false;
674 bool m_objectCountHasBeenSet = false;
675 bool m_objectCountByEncryptionTypeHasBeenSet = false;
676 bool m_publicAccessHasBeenSet = false;
677 bool m_regionHasBeenSet = false;
678 bool m_replicationDetailsHasBeenSet = false;
679 bool m_sensitivityScoreHasBeenSet = false;
680 bool m_serverSideEncryptionHasBeenSet = false;
681 bool m_sharedAccessHasBeenSet = false;
682 bool m_sizeInBytesHasBeenSet = false;
683 bool m_sizeInBytesCompressedHasBeenSet = false;
684 bool m_tagsHasBeenSet = false;
685 bool m_unclassifiableObjectCountHasBeenSet = false;
686 bool m_unclassifiableObjectSizeInBytesHasBeenSet = false;
687 bool m_versioningHasBeenSet = false;
688};
689
690} // namespace Model
691} // namespace Macie2
692} // 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