AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ObjectLevelStatistics.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Macie2 {
17namespace Model {
18
31 public:
32 AWS_MACIE2_API ObjectLevelStatistics() = default;
35 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline long long GetFileType() const { return m_fileType; }
44 inline bool FileTypeHasBeenSet() const { return m_fileTypeHasBeenSet; }
45 inline void SetFileType(long long value) {
46 m_fileTypeHasBeenSet = true;
47 m_fileType = value;
48 }
49 inline ObjectLevelStatistics& WithFileType(long long value) {
50 SetFileType(value);
51 return *this;
52 }
54
56
60 inline long long GetStorageClass() const { return m_storageClass; }
61 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
62 inline void SetStorageClass(long long value) {
63 m_storageClassHasBeenSet = true;
64 m_storageClass = value;
65 }
66 inline ObjectLevelStatistics& WithStorageClass(long long value) {
67 SetStorageClass(value);
68 return *this;
69 }
71
73
78 inline long long GetTotal() const { return m_total; }
79 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
80 inline void SetTotal(long long value) {
81 m_totalHasBeenSet = true;
82 m_total = value;
83 }
84 inline ObjectLevelStatistics& WithTotal(long long value) {
85 SetTotal(value);
86 return *this;
87 }
89 private:
90 long long m_fileType{0};
91
92 long long m_storageClass{0};
93
94 long long m_total{0};
95 bool m_fileTypeHasBeenSet = false;
96 bool m_storageClassHasBeenSet = false;
97 bool m_totalHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Macie2
102} // namespace Aws
ObjectLevelStatistics & WithTotal(long long value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
ObjectLevelStatistics & WithStorageClass(long long value)
ObjectLevelStatistics & WithFileType(long long value)
AWS_MACIE2_API ObjectLevelStatistics()=default
AWS_MACIE2_API ObjectLevelStatistics(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API ObjectLevelStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue