AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBucketStatisticsResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/BucketCountByEffectivePermission.h>
9#include <aws/macie2/model/BucketCountByEncryptionType.h>
10#include <aws/macie2/model/BucketCountPolicyAllowsUnencryptedObjectUploads.h>
11#include <aws/macie2/model/BucketCountBySharedAccessType.h>
12#include <aws/macie2/model/BucketStatisticsBySensitivity.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/macie2/model/ObjectLevelStatistics.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace Macie2
31{
32namespace Model
33{
35 {
36 public:
37 AWS_MACIE2_API GetBucketStatisticsResult();
40
41
43
46 inline long long GetBucketCount() const{ return m_bucketCount; }
47 inline void SetBucketCount(long long value) { m_bucketCount = value; }
48 inline GetBucketStatisticsResult& WithBucketCount(long long value) { SetBucketCount(value); return *this;}
50
52
56 inline const BucketCountByEffectivePermission& GetBucketCountByEffectivePermission() const{ return m_bucketCountByEffectivePermission; }
57 inline void SetBucketCountByEffectivePermission(const BucketCountByEffectivePermission& value) { m_bucketCountByEffectivePermission = value; }
58 inline void SetBucketCountByEffectivePermission(BucketCountByEffectivePermission&& value) { m_bucketCountByEffectivePermission = std::move(value); }
62
64
68 inline const BucketCountByEncryptionType& GetBucketCountByEncryptionType() const{ return m_bucketCountByEncryptionType; }
69 inline void SetBucketCountByEncryptionType(const BucketCountByEncryptionType& value) { m_bucketCountByEncryptionType = value; }
70 inline void SetBucketCountByEncryptionType(BucketCountByEncryptionType&& value) { m_bucketCountByEncryptionType = std::move(value); }
74
76
80 inline const BucketCountPolicyAllowsUnencryptedObjectUploads& GetBucketCountByObjectEncryptionRequirement() const{ return m_bucketCountByObjectEncryptionRequirement; }
81 inline void SetBucketCountByObjectEncryptionRequirement(const BucketCountPolicyAllowsUnencryptedObjectUploads& value) { m_bucketCountByObjectEncryptionRequirement = value; }
82 inline void SetBucketCountByObjectEncryptionRequirement(BucketCountPolicyAllowsUnencryptedObjectUploads&& value) { m_bucketCountByObjectEncryptionRequirement = std::move(value); }
86
88
93 inline const BucketCountBySharedAccessType& GetBucketCountBySharedAccessType() const{ return m_bucketCountBySharedAccessType; }
94 inline void SetBucketCountBySharedAccessType(const BucketCountBySharedAccessType& value) { m_bucketCountBySharedAccessType = value; }
95 inline void SetBucketCountBySharedAccessType(BucketCountBySharedAccessType&& value) { m_bucketCountBySharedAccessType = std::move(value); }
99
101
106 inline const BucketStatisticsBySensitivity& GetBucketStatisticsBySensitivity() const{ return m_bucketStatisticsBySensitivity; }
107 inline void SetBucketStatisticsBySensitivity(const BucketStatisticsBySensitivity& value) { m_bucketStatisticsBySensitivity = value; }
108 inline void SetBucketStatisticsBySensitivity(BucketStatisticsBySensitivity&& value) { m_bucketStatisticsBySensitivity = std::move(value); }
112
114
119 inline long long GetClassifiableObjectCount() const{ return m_classifiableObjectCount; }
120 inline void SetClassifiableObjectCount(long long value) { m_classifiableObjectCount = value; }
123
125
133 inline long long GetClassifiableSizeInBytes() const{ return m_classifiableSizeInBytes; }
134 inline void SetClassifiableSizeInBytes(long long value) { m_classifiableSizeInBytes = value; }
137
139
144 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
145 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdated = value; }
146 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdated = std::move(value); }
148 inline GetBucketStatisticsResult& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
150
152
155 inline long long GetObjectCount() const{ return m_objectCount; }
156 inline void SetObjectCount(long long value) { m_objectCount = value; }
157 inline GetBucketStatisticsResult& WithObjectCount(long long value) { SetObjectCount(value); return *this;}
159
161
167 inline long long GetSizeInBytes() const{ return m_sizeInBytes; }
168 inline void SetSizeInBytes(long long value) { m_sizeInBytes = value; }
169 inline GetBucketStatisticsResult& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
171
173
180 inline long long GetSizeInBytesCompressed() const{ return m_sizeInBytesCompressed; }
181 inline void SetSizeInBytesCompressed(long long value) { m_sizeInBytesCompressed = value; }
182 inline GetBucketStatisticsResult& WithSizeInBytesCompressed(long long value) { SetSizeInBytesCompressed(value); return *this;}
184
186
191 inline const ObjectLevelStatistics& GetUnclassifiableObjectCount() const{ return m_unclassifiableObjectCount; }
192 inline void SetUnclassifiableObjectCount(const ObjectLevelStatistics& value) { m_unclassifiableObjectCount = value; }
193 inline void SetUnclassifiableObjectCount(ObjectLevelStatistics&& value) { m_unclassifiableObjectCount = std::move(value); }
197
199
204 inline const ObjectLevelStatistics& GetUnclassifiableObjectSizeInBytes() const{ return m_unclassifiableObjectSizeInBytes; }
205 inline void SetUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics& value) { m_unclassifiableObjectSizeInBytes = value; }
206 inline void SetUnclassifiableObjectSizeInBytes(ObjectLevelStatistics&& value) { m_unclassifiableObjectSizeInBytes = std::move(value); }
210
212
213 inline const Aws::String& GetRequestId() const{ return m_requestId; }
214 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
215 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
216 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
217 inline GetBucketStatisticsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
218 inline GetBucketStatisticsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
219 inline GetBucketStatisticsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
221 private:
222
223 long long m_bucketCount;
224
225 BucketCountByEffectivePermission m_bucketCountByEffectivePermission;
226
227 BucketCountByEncryptionType m_bucketCountByEncryptionType;
228
229 BucketCountPolicyAllowsUnencryptedObjectUploads m_bucketCountByObjectEncryptionRequirement;
230
231 BucketCountBySharedAccessType m_bucketCountBySharedAccessType;
232
233 BucketStatisticsBySensitivity m_bucketStatisticsBySensitivity;
234
235 long long m_classifiableObjectCount;
236
237 long long m_classifiableSizeInBytes;
238
239 Aws::Utils::DateTime m_lastUpdated;
240
241 long long m_objectCount;
242
243 long long m_sizeInBytes;
244
245 long long m_sizeInBytesCompressed;
246
247 ObjectLevelStatistics m_unclassifiableObjectCount;
248
249 ObjectLevelStatistics m_unclassifiableObjectSizeInBytes;
250
251 Aws::String m_requestId;
252 };
253
254} // namespace Model
255} // namespace Macie2
256} // namespace Aws
GetBucketStatisticsResult & WithBucketCountBySharedAccessType(const BucketCountBySharedAccessType &value)
GetBucketStatisticsResult & WithLastUpdated(Aws::Utils::DateTime &&value)
GetBucketStatisticsResult & WithObjectCount(long long value)
GetBucketStatisticsResult & WithRequestId(const Aws::String &value)
void SetUnclassifiableObjectCount(ObjectLevelStatistics &&value)
void SetBucketCountBySharedAccessType(BucketCountBySharedAccessType &&value)
const BucketCountByEffectivePermission & GetBucketCountByEffectivePermission() const
const ObjectLevelStatistics & GetUnclassifiableObjectCount() const
void SetBucketCountBySharedAccessType(const BucketCountBySharedAccessType &value)
GetBucketStatisticsResult & WithBucketCountByEncryptionType(const BucketCountByEncryptionType &value)
void SetBucketCountByEffectivePermission(const BucketCountByEffectivePermission &value)
GetBucketStatisticsResult & WithSizeInBytesCompressed(long long value)
void SetUnclassifiableObjectCount(const ObjectLevelStatistics &value)
void SetBucketCountByObjectEncryptionRequirement(BucketCountPolicyAllowsUnencryptedObjectUploads &&value)
GetBucketStatisticsResult & WithUnclassifiableObjectCount(const ObjectLevelStatistics &value)
void SetBucketStatisticsBySensitivity(const BucketStatisticsBySensitivity &value)
GetBucketStatisticsResult & WithBucketStatisticsBySensitivity(BucketStatisticsBySensitivity &&value)
void SetBucketCountByObjectEncryptionRequirement(const BucketCountPolicyAllowsUnencryptedObjectUploads &value)
void SetBucketCountByEncryptionType(BucketCountByEncryptionType &&value)
const BucketStatisticsBySensitivity & GetBucketStatisticsBySensitivity() const
void SetBucketCountByEncryptionType(const BucketCountByEncryptionType &value)
GetBucketStatisticsResult & WithSizeInBytes(long long value)
GetBucketStatisticsResult & WithUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics &value)
GetBucketStatisticsResult & WithUnclassifiableObjectSizeInBytes(ObjectLevelStatistics &&value)
GetBucketStatisticsResult & WithBucketStatisticsBySensitivity(const BucketStatisticsBySensitivity &value)
AWS_MACIE2_API GetBucketStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBucketStatisticsResult & WithRequestId(const char *value)
const ObjectLevelStatistics & GetUnclassifiableObjectSizeInBytes() const
GetBucketStatisticsResult & WithBucketCountByObjectEncryptionRequirement(const BucketCountPolicyAllowsUnencryptedObjectUploads &value)
GetBucketStatisticsResult & WithBucketCountByObjectEncryptionRequirement(BucketCountPolicyAllowsUnencryptedObjectUploads &&value)
void SetUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics &value)
const BucketCountByEncryptionType & GetBucketCountByEncryptionType() const
GetBucketStatisticsResult & WithBucketCountByEffectivePermission(BucketCountByEffectivePermission &&value)
const BucketCountBySharedAccessType & GetBucketCountBySharedAccessType() const
GetBucketStatisticsResult & WithBucketCount(long long value)
void SetLastUpdated(const Aws::Utils::DateTime &value)
AWS_MACIE2_API GetBucketStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBucketStatisticsResult & WithClassifiableSizeInBytes(long long value)
GetBucketStatisticsResult & WithLastUpdated(const Aws::Utils::DateTime &value)
GetBucketStatisticsResult & WithUnclassifiableObjectCount(ObjectLevelStatistics &&value)
const Aws::Utils::DateTime & GetLastUpdated() const
GetBucketStatisticsResult & WithClassifiableObjectCount(long long value)
const BucketCountPolicyAllowsUnencryptedObjectUploads & GetBucketCountByObjectEncryptionRequirement() const
void SetBucketCountByEffectivePermission(BucketCountByEffectivePermission &&value)
GetBucketStatisticsResult & WithBucketCountByEffectivePermission(const BucketCountByEffectivePermission &value)
GetBucketStatisticsResult & WithRequestId(Aws::String &&value)
GetBucketStatisticsResult & WithBucketCountByEncryptionType(BucketCountByEncryptionType &&value)
void SetUnclassifiableObjectSizeInBytes(ObjectLevelStatistics &&value)
GetBucketStatisticsResult & WithBucketCountBySharedAccessType(BucketCountBySharedAccessType &&value)
void SetBucketStatisticsBySensitivity(BucketStatisticsBySensitivity &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue