AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ObjectLevelStatistics.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Macie2
20{
21namespace Model
22{
23
36 {
37 public:
38 AWS_MACIE2_API ObjectLevelStatistics();
41 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline long long GetFileType() const{ return m_fileType; }
51 inline bool FileTypeHasBeenSet() const { return m_fileTypeHasBeenSet; }
52 inline void SetFileType(long long value) { m_fileTypeHasBeenSet = true; m_fileType = value; }
53 inline ObjectLevelStatistics& WithFileType(long long value) { SetFileType(value); return *this;}
55
57
61 inline long long GetStorageClass() const{ return m_storageClass; }
62 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
63 inline void SetStorageClass(long long value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
64 inline ObjectLevelStatistics& WithStorageClass(long long value) { SetStorageClass(value); return *this;}
66
68
73 inline long long GetTotal() const{ return m_total; }
74 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
75 inline void SetTotal(long long value) { m_totalHasBeenSet = true; m_total = value; }
76 inline ObjectLevelStatistics& WithTotal(long long value) { SetTotal(value); return *this;}
78 private:
79
80 long long m_fileType;
81 bool m_fileTypeHasBeenSet = false;
82
83 long long m_storageClass;
84 bool m_storageClassHasBeenSet = false;
85
86 long long m_total;
87 bool m_totalHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Macie2
92} // 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(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API ObjectLevelStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue