AWS SDK for C++  1.9.106
AWS SDK for C++
GetBucketStatisticsResult.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 template<typename RESULT_TYPE>
19 class AmazonWebServiceResult;
20 
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace Macie2
29 {
30 namespace Model
31 {
33  {
34  public:
38 
39 
43  inline long long GetBucketCount() const{ return m_bucketCount; }
44 
48  inline void SetBucketCount(long long value) { m_bucketCount = value; }
49 
53  inline GetBucketStatisticsResult& WithBucketCount(long long value) { SetBucketCount(value); return *this;}
54 
55 
60  inline const BucketCountByEffectivePermission& GetBucketCountByEffectivePermission() const{ return m_bucketCountByEffectivePermission; }
61 
66  inline void SetBucketCountByEffectivePermission(const BucketCountByEffectivePermission& value) { m_bucketCountByEffectivePermission = value; }
67 
72  inline void SetBucketCountByEffectivePermission(BucketCountByEffectivePermission&& value) { m_bucketCountByEffectivePermission = std::move(value); }
73 
78  inline GetBucketStatisticsResult& WithBucketCountByEffectivePermission(const BucketCountByEffectivePermission& value) { SetBucketCountByEffectivePermission(value); return *this;}
79 
84  inline GetBucketStatisticsResult& WithBucketCountByEffectivePermission(BucketCountByEffectivePermission&& value) { SetBucketCountByEffectivePermission(std::move(value)); return *this;}
85 
86 
92  inline const BucketCountByEncryptionType& GetBucketCountByEncryptionType() const{ return m_bucketCountByEncryptionType; }
93 
99  inline void SetBucketCountByEncryptionType(const BucketCountByEncryptionType& value) { m_bucketCountByEncryptionType = value; }
100 
106  inline void SetBucketCountByEncryptionType(BucketCountByEncryptionType&& value) { m_bucketCountByEncryptionType = std::move(value); }
107 
113  inline GetBucketStatisticsResult& WithBucketCountByEncryptionType(const BucketCountByEncryptionType& value) { SetBucketCountByEncryptionType(value); return *this;}
114 
120  inline GetBucketStatisticsResult& WithBucketCountByEncryptionType(BucketCountByEncryptionType&& value) { SetBucketCountByEncryptionType(std::move(value)); return *this;}
121 
122 
127  inline const BucketCountPolicyAllowsUnencryptedObjectUploads& GetBucketCountByObjectEncryptionRequirement() const{ return m_bucketCountByObjectEncryptionRequirement; }
128 
133  inline void SetBucketCountByObjectEncryptionRequirement(const BucketCountPolicyAllowsUnencryptedObjectUploads& value) { m_bucketCountByObjectEncryptionRequirement = value; }
134 
139  inline void SetBucketCountByObjectEncryptionRequirement(BucketCountPolicyAllowsUnencryptedObjectUploads&& value) { m_bucketCountByObjectEncryptionRequirement = std::move(value); }
140 
145  inline GetBucketStatisticsResult& WithBucketCountByObjectEncryptionRequirement(const BucketCountPolicyAllowsUnencryptedObjectUploads& value) { SetBucketCountByObjectEncryptionRequirement(value); return *this;}
146 
151  inline GetBucketStatisticsResult& WithBucketCountByObjectEncryptionRequirement(BucketCountPolicyAllowsUnencryptedObjectUploads&& value) { SetBucketCountByObjectEncryptionRequirement(std::move(value)); return *this;}
152 
153 
158  inline const BucketCountBySharedAccessType& GetBucketCountBySharedAccessType() const{ return m_bucketCountBySharedAccessType; }
159 
164  inline void SetBucketCountBySharedAccessType(const BucketCountBySharedAccessType& value) { m_bucketCountBySharedAccessType = value; }
165 
170  inline void SetBucketCountBySharedAccessType(BucketCountBySharedAccessType&& value) { m_bucketCountBySharedAccessType = std::move(value); }
171 
176  inline GetBucketStatisticsResult& WithBucketCountBySharedAccessType(const BucketCountBySharedAccessType& value) { SetBucketCountBySharedAccessType(value); return *this;}
177 
182  inline GetBucketStatisticsResult& WithBucketCountBySharedAccessType(BucketCountBySharedAccessType&& value) { SetBucketCountBySharedAccessType(std::move(value)); return *this;}
183 
184 
190  inline long long GetClassifiableObjectCount() const{ return m_classifiableObjectCount; }
191 
197  inline void SetClassifiableObjectCount(long long value) { m_classifiableObjectCount = value; }
198 
204  inline GetBucketStatisticsResult& WithClassifiableObjectCount(long long value) { SetClassifiableObjectCount(value); return *this;}
205 
206 
216  inline long long GetClassifiableSizeInBytes() const{ return m_classifiableSizeInBytes; }
217 
227  inline void SetClassifiableSizeInBytes(long long value) { m_classifiableSizeInBytes = value; }
228 
238  inline GetBucketStatisticsResult& WithClassifiableSizeInBytes(long long value) { SetClassifiableSizeInBytes(value); return *this;}
239 
240 
246  inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
247 
253  inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdated = value; }
254 
260  inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdated = std::move(value); }
261 
267  inline GetBucketStatisticsResult& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
268 
274  inline GetBucketStatisticsResult& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
275 
276 
280  inline long long GetObjectCount() const{ return m_objectCount; }
281 
285  inline void SetObjectCount(long long value) { m_objectCount = value; }
286 
290  inline GetBucketStatisticsResult& WithObjectCount(long long value) { SetObjectCount(value); return *this;}
291 
292 
299  inline long long GetSizeInBytes() const{ return m_sizeInBytes; }
300 
307  inline void SetSizeInBytes(long long value) { m_sizeInBytes = value; }
308 
315  inline GetBucketStatisticsResult& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
316 
317 
325  inline long long GetSizeInBytesCompressed() const{ return m_sizeInBytesCompressed; }
326 
334  inline void SetSizeInBytesCompressed(long long value) { m_sizeInBytesCompressed = value; }
335 
343  inline GetBucketStatisticsResult& WithSizeInBytesCompressed(long long value) { SetSizeInBytesCompressed(value); return *this;}
344 
345 
351  inline const ObjectLevelStatistics& GetUnclassifiableObjectCount() const{ return m_unclassifiableObjectCount; }
352 
358  inline void SetUnclassifiableObjectCount(const ObjectLevelStatistics& value) { m_unclassifiableObjectCount = value; }
359 
365  inline void SetUnclassifiableObjectCount(ObjectLevelStatistics&& value) { m_unclassifiableObjectCount = std::move(value); }
366 
372  inline GetBucketStatisticsResult& WithUnclassifiableObjectCount(const ObjectLevelStatistics& value) { SetUnclassifiableObjectCount(value); return *this;}
373 
379  inline GetBucketStatisticsResult& WithUnclassifiableObjectCount(ObjectLevelStatistics&& value) { SetUnclassifiableObjectCount(std::move(value)); return *this;}
380 
381 
387  inline const ObjectLevelStatistics& GetUnclassifiableObjectSizeInBytes() const{ return m_unclassifiableObjectSizeInBytes; }
388 
394  inline void SetUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics& value) { m_unclassifiableObjectSizeInBytes = value; }
395 
401  inline void SetUnclassifiableObjectSizeInBytes(ObjectLevelStatistics&& value) { m_unclassifiableObjectSizeInBytes = std::move(value); }
402 
408  inline GetBucketStatisticsResult& WithUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics& value) { SetUnclassifiableObjectSizeInBytes(value); return *this;}
409 
415  inline GetBucketStatisticsResult& WithUnclassifiableObjectSizeInBytes(ObjectLevelStatistics&& value) { SetUnclassifiableObjectSizeInBytes(std::move(value)); return *this;}
416 
417  private:
418 
419  long long m_bucketCount;
420 
421  BucketCountByEffectivePermission m_bucketCountByEffectivePermission;
422 
423  BucketCountByEncryptionType m_bucketCountByEncryptionType;
424 
425  BucketCountPolicyAllowsUnencryptedObjectUploads m_bucketCountByObjectEncryptionRequirement;
426 
427  BucketCountBySharedAccessType m_bucketCountBySharedAccessType;
428 
429  long long m_classifiableObjectCount;
430 
431  long long m_classifiableSizeInBytes;
432 
433  Aws::Utils::DateTime m_lastUpdated;
434 
435  long long m_objectCount;
436 
437  long long m_sizeInBytes;
438 
439  long long m_sizeInBytesCompressed;
440 
441  ObjectLevelStatistics m_unclassifiableObjectCount;
442 
443  ObjectLevelStatistics m_unclassifiableObjectSizeInBytes;
444  };
445 
446 } // namespace Model
447 } // namespace Macie2
448 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Macie2::Model::GetBucketStatisticsResult::GetObjectCount
long long GetObjectCount() const
Definition: GetBucketStatisticsResult.h:280
Aws::Macie2::Model::GetBucketStatisticsResult::WithBucketCountBySharedAccessType
GetBucketStatisticsResult & WithBucketCountBySharedAccessType(const BucketCountBySharedAccessType &value)
Definition: GetBucketStatisticsResult.h:176
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::GetBucketStatisticsResult::SetUnclassifiableObjectSizeInBytes
void SetUnclassifiableObjectSizeInBytes(ObjectLevelStatistics &&value)
Definition: GetBucketStatisticsResult.h:401
Aws::Macie2::Model::BucketCountByEncryptionType
Definition: BucketCountByEncryptionType.h:35
Aws::Macie2::Model::GetBucketStatisticsResult::GetSizeInBytes
long long GetSizeInBytes() const
Definition: GetBucketStatisticsResult.h:299
DateTime.h
Macie2_EXPORTS.h
Aws::Macie2::Model::GetBucketStatisticsResult::GetClassifiableSizeInBytes
long long GetClassifiableSizeInBytes() const
Definition: GetBucketStatisticsResult.h:216
Aws::Macie2::Model::GetBucketStatisticsResult::SetBucketCountByEncryptionType
void SetBucketCountByEncryptionType(const BucketCountByEncryptionType &value)
Definition: GetBucketStatisticsResult.h:99
Aws::Macie2::Model::GetBucketStatisticsResult::SetClassifiableObjectCount
void SetClassifiableObjectCount(long long value)
Definition: GetBucketStatisticsResult.h:197
Aws::Macie2::Model::GetBucketStatisticsResult::SetBucketCountByEffectivePermission
void SetBucketCountByEffectivePermission(BucketCountByEffectivePermission &&value)
Definition: GetBucketStatisticsResult.h:72
Aws::Macie2::Model::GetBucketStatisticsResult::WithBucketCount
GetBucketStatisticsResult & WithBucketCount(long long value)
Definition: GetBucketStatisticsResult.h:53
Aws::Macie2::Model::GetBucketStatisticsResult::GetBucketCountBySharedAccessType
const BucketCountBySharedAccessType & GetBucketCountBySharedAccessType() const
Definition: GetBucketStatisticsResult.h:158
Aws::Macie2::Model::GetBucketStatisticsResult
Definition: GetBucketStatisticsResult.h:33
Aws::Macie2::Model::GetBucketStatisticsResult::WithSizeInBytesCompressed
GetBucketStatisticsResult & WithSizeInBytesCompressed(long long value)
Definition: GetBucketStatisticsResult.h:343
Aws::Macie2::Model::BucketCountByEffectivePermission
Definition: BucketCountByEffectivePermission.h:32
Aws::Macie2::Model::GetBucketStatisticsResult::WithBucketCountByObjectEncryptionRequirement
GetBucketStatisticsResult & WithBucketCountByObjectEncryptionRequirement(const BucketCountPolicyAllowsUnencryptedObjectUploads &value)
Definition: GetBucketStatisticsResult.h:145
Aws::Macie2::Model::GetBucketStatisticsResult::WithClassifiableObjectCount
GetBucketStatisticsResult & WithClassifiableObjectCount(long long value)
Definition: GetBucketStatisticsResult.h:204
Aws::Macie2::Model::GetBucketStatisticsResult::WithUnclassifiableObjectCount
GetBucketStatisticsResult & WithUnclassifiableObjectCount(ObjectLevelStatistics &&value)
Definition: GetBucketStatisticsResult.h:379
Aws::Macie2::Model::GetBucketStatisticsResult::GetBucketCountByObjectEncryptionRequirement
const BucketCountPolicyAllowsUnencryptedObjectUploads & GetBucketCountByObjectEncryptionRequirement() const
Definition: GetBucketStatisticsResult.h:127
Aws::Macie2::Model::GetBucketStatisticsResult::WithObjectCount
GetBucketStatisticsResult & WithObjectCount(long long value)
Definition: GetBucketStatisticsResult.h:290
Aws::Macie2::Model::GetBucketStatisticsResult::SetBucketCountBySharedAccessType
void SetBucketCountBySharedAccessType(const BucketCountBySharedAccessType &value)
Definition: GetBucketStatisticsResult.h:164
Aws::Macie2::Model::GetBucketStatisticsResult::SetBucketCountBySharedAccessType
void SetBucketCountBySharedAccessType(BucketCountBySharedAccessType &&value)
Definition: GetBucketStatisticsResult.h:170
Aws::Macie2::Model::GetBucketStatisticsResult::SetUnclassifiableObjectSizeInBytes
void SetUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics &value)
Definition: GetBucketStatisticsResult.h:394
Aws::Macie2::Model::GetBucketStatisticsResult::SetBucketCountByEffectivePermission
void SetBucketCountByEffectivePermission(const BucketCountByEffectivePermission &value)
Definition: GetBucketStatisticsResult.h:66
BucketCountBySharedAccessType.h
Aws::Macie2::Model::GetBucketStatisticsResult::WithBucketCountByEncryptionType
GetBucketStatisticsResult & WithBucketCountByEncryptionType(BucketCountByEncryptionType &&value)
Definition: GetBucketStatisticsResult.h:120
Aws::Macie2::Model::GetBucketStatisticsResult::SetLastUpdated
void SetLastUpdated(Aws::Utils::DateTime &&value)
Definition: GetBucketStatisticsResult.h:260
Aws::Macie2::Model::GetBucketStatisticsResult::GetUnclassifiableObjectCount
const ObjectLevelStatistics & GetUnclassifiableObjectCount() const
Definition: GetBucketStatisticsResult.h:351
Aws::Macie2::Model::GetBucketStatisticsResult::GetBucketCountByEffectivePermission
const BucketCountByEffectivePermission & GetBucketCountByEffectivePermission() const
Definition: GetBucketStatisticsResult.h:60
Aws::Macie2::Model::GetBucketStatisticsResult::SetUnclassifiableObjectCount
void SetUnclassifiableObjectCount(ObjectLevelStatistics &&value)
Definition: GetBucketStatisticsResult.h:365
Aws::Macie2::Model::GetBucketStatisticsResult::GetBucketCountByEncryptionType
const BucketCountByEncryptionType & GetBucketCountByEncryptionType() const
Definition: GetBucketStatisticsResult.h:92
Aws::Macie2::Model::GetBucketStatisticsResult::GetBucketCount
long long GetBucketCount() const
Definition: GetBucketStatisticsResult.h:43
Aws::Macie2::Model::GetBucketStatisticsResult::WithBucketCountByObjectEncryptionRequirement
GetBucketStatisticsResult & WithBucketCountByObjectEncryptionRequirement(BucketCountPolicyAllowsUnencryptedObjectUploads &&value)
Definition: GetBucketStatisticsResult.h:151
Aws::Macie2::Model::GetBucketStatisticsResult::WithUnclassifiableObjectSizeInBytes
GetBucketStatisticsResult & WithUnclassifiableObjectSizeInBytes(ObjectLevelStatistics &&value)
Definition: GetBucketStatisticsResult.h:415
Aws::Macie2::Model::GetBucketStatisticsResult::SetUnclassifiableObjectCount
void SetUnclassifiableObjectCount(const ObjectLevelStatistics &value)
Definition: GetBucketStatisticsResult.h:358
Aws::Macie2::Model::GetBucketStatisticsResult::SetSizeInBytes
void SetSizeInBytes(long long value)
Definition: GetBucketStatisticsResult.h:307
Aws::Macie2::Model::GetBucketStatisticsResult::WithBucketCountByEncryptionType
GetBucketStatisticsResult & WithBucketCountByEncryptionType(const BucketCountByEncryptionType &value)
Definition: GetBucketStatisticsResult.h:113
Aws::Macie2::Model::GetBucketStatisticsResult::WithLastUpdated
GetBucketStatisticsResult & WithLastUpdated(Aws::Utils::DateTime &&value)
Definition: GetBucketStatisticsResult.h:274
Aws::Macie2::Model::GetBucketStatisticsResult::WithSizeInBytes
GetBucketStatisticsResult & WithSizeInBytes(long long value)
Definition: GetBucketStatisticsResult.h:315
Aws::Macie2::Model::GetBucketStatisticsResult::GetLastUpdated
const Aws::Utils::DateTime & GetLastUpdated() const
Definition: GetBucketStatisticsResult.h:246
Aws::Macie2::Model::GetBucketStatisticsResult::operator=
GetBucketStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BucketCountByEncryptionType.h
Aws::Macie2::Model::GetBucketStatisticsResult::WithUnclassifiableObjectCount
GetBucketStatisticsResult & WithUnclassifiableObjectCount(const ObjectLevelStatistics &value)
Definition: GetBucketStatisticsResult.h:372
Aws::Macie2::Model::GetBucketStatisticsResult::WithBucketCountByEffectivePermission
GetBucketStatisticsResult & WithBucketCountByEffectivePermission(BucketCountByEffectivePermission &&value)
Definition: GetBucketStatisticsResult.h:84
Aws::Macie2::Model::GetBucketStatisticsResult::WithBucketCountBySharedAccessType
GetBucketStatisticsResult & WithBucketCountBySharedAccessType(BucketCountBySharedAccessType &&value)
Definition: GetBucketStatisticsResult.h:182
Aws::Macie2::Model::GetBucketStatisticsResult::WithUnclassifiableObjectSizeInBytes
GetBucketStatisticsResult & WithUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics &value)
Definition: GetBucketStatisticsResult.h:408
Aws::Macie2::Model::GetBucketStatisticsResult::SetBucketCountByObjectEncryptionRequirement
void SetBucketCountByObjectEncryptionRequirement(const BucketCountPolicyAllowsUnencryptedObjectUploads &value)
Definition: GetBucketStatisticsResult.h:133
Aws::Macie2::Model::GetBucketStatisticsResult::GetSizeInBytesCompressed
long long GetSizeInBytesCompressed() const
Definition: GetBucketStatisticsResult.h:325
Aws::Macie2::Model::GetBucketStatisticsResult::SetSizeInBytesCompressed
void SetSizeInBytesCompressed(long long value)
Definition: GetBucketStatisticsResult.h:334
Aws::Macie2::Model::BucketCountPolicyAllowsUnencryptedObjectUploads
Definition: BucketCountPolicyAllowsUnencryptedObjectUploads.h:32
Aws::Macie2::Model::GetBucketStatisticsResult::SetLastUpdated
void SetLastUpdated(const Aws::Utils::DateTime &value)
Definition: GetBucketStatisticsResult.h:253
Aws::Macie2::Model::GetBucketStatisticsResult::WithClassifiableSizeInBytes
GetBucketStatisticsResult & WithClassifiableSizeInBytes(long long value)
Definition: GetBucketStatisticsResult.h:238
Aws::Macie2::Model::ObjectLevelStatistics
Definition: ObjectLevelStatistics.h:36
Aws::Macie2::Model::BucketCountBySharedAccessType
Definition: BucketCountBySharedAccessType.h:31
Aws
Definition: AccessManagementClient.h:15
BucketCountPolicyAllowsUnencryptedObjectUploads.h
BucketCountByEffectivePermission.h
Aws::Macie2::Model::GetBucketStatisticsResult::SetBucketCountByEncryptionType
void SetBucketCountByEncryptionType(BucketCountByEncryptionType &&value)
Definition: GetBucketStatisticsResult.h:106
Aws::Macie2::Model::GetBucketStatisticsResult::GetBucketStatisticsResult
GetBucketStatisticsResult()
Aws::Macie2::Model::GetBucketStatisticsResult::GetUnclassifiableObjectSizeInBytes
const ObjectLevelStatistics & GetUnclassifiableObjectSizeInBytes() const
Definition: GetBucketStatisticsResult.h:387
Aws::Macie2::Model::GetBucketStatisticsResult::WithBucketCountByEffectivePermission
GetBucketStatisticsResult & WithBucketCountByEffectivePermission(const BucketCountByEffectivePermission &value)
Definition: GetBucketStatisticsResult.h:78
Aws::Macie2::Model::GetBucketStatisticsResult::SetBucketCount
void SetBucketCount(long long value)
Definition: GetBucketStatisticsResult.h:48
Aws::Macie2::Model::GetBucketStatisticsResult::SetClassifiableSizeInBytes
void SetClassifiableSizeInBytes(long long value)
Definition: GetBucketStatisticsResult.h:227
Aws::Macie2::Model::GetBucketStatisticsResult::WithLastUpdated
GetBucketStatisticsResult & WithLastUpdated(const Aws::Utils::DateTime &value)
Definition: GetBucketStatisticsResult.h:267
Aws::Macie2::Model::GetBucketStatisticsResult::SetBucketCountByObjectEncryptionRequirement
void SetBucketCountByObjectEncryptionRequirement(BucketCountPolicyAllowsUnencryptedObjectUploads &&value)
Definition: GetBucketStatisticsResult.h:139
ObjectLevelStatistics.h
Aws::Macie2::Model::GetBucketStatisticsResult::GetBucketStatisticsResult
GetBucketStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::GetBucketStatisticsResult::SetObjectCount
void SetObjectCount(long long value)
Definition: GetBucketStatisticsResult.h:285
Aws::Macie2::Model::GetBucketStatisticsResult::GetClassifiableObjectCount
long long GetClassifiableObjectCount() const
Definition: GetBucketStatisticsResult.h:190