AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
DomainStats.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace CustomerProfiles {
17namespace Model {
18
25 public:
26 AWS_CUSTOMERPROFILES_API DomainStats() = default;
27 AWS_CUSTOMERPROFILES_API DomainStats(Aws::Utils::Json::JsonView jsonValue);
28 AWS_CUSTOMERPROFILES_API DomainStats& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline long long GetProfileCount() const { return m_profileCount; }
36 inline bool ProfileCountHasBeenSet() const { return m_profileCountHasBeenSet; }
37 inline void SetProfileCount(long long value) {
38 m_profileCountHasBeenSet = true;
39 m_profileCount = value;
40 }
41 inline DomainStats& WithProfileCount(long long value) {
42 SetProfileCount(value);
43 return *this;
44 }
46
48
54 inline long long GetMeteringProfileCount() const { return m_meteringProfileCount; }
55 inline bool MeteringProfileCountHasBeenSet() const { return m_meteringProfileCountHasBeenSet; }
56 inline void SetMeteringProfileCount(long long value) {
57 m_meteringProfileCountHasBeenSet = true;
58 m_meteringProfileCount = value;
59 }
60 inline DomainStats& WithMeteringProfileCount(long long value) {
62 return *this;
63 }
65
67
70 inline long long GetObjectCount() const { return m_objectCount; }
71 inline bool ObjectCountHasBeenSet() const { return m_objectCountHasBeenSet; }
72 inline void SetObjectCount(long long value) {
73 m_objectCountHasBeenSet = true;
74 m_objectCount = value;
75 }
76 inline DomainStats& WithObjectCount(long long value) {
77 SetObjectCount(value);
78 return *this;
79 }
81
83
86 inline long long GetTotalSize() const { return m_totalSize; }
87 inline bool TotalSizeHasBeenSet() const { return m_totalSizeHasBeenSet; }
88 inline void SetTotalSize(long long value) {
89 m_totalSizeHasBeenSet = true;
90 m_totalSize = value;
91 }
92 inline DomainStats& WithTotalSize(long long value) {
93 SetTotalSize(value);
94 return *this;
95 }
97 private:
98 long long m_profileCount{0};
99
100 long long m_meteringProfileCount{0};
101
102 long long m_objectCount{0};
103
104 long long m_totalSize{0};
105 bool m_profileCountHasBeenSet = false;
106 bool m_meteringProfileCountHasBeenSet = false;
107 bool m_objectCountHasBeenSet = false;
108 bool m_totalSizeHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace CustomerProfiles
113} // namespace Aws
AWS_CUSTOMERPROFILES_API DomainStats()=default
DomainStats & WithObjectCount(long long value)
Definition DomainStats.h:76
AWS_CUSTOMERPROFILES_API DomainStats(Aws::Utils::Json::JsonView jsonValue)
DomainStats & WithMeteringProfileCount(long long value)
Definition DomainStats.h:60
DomainStats & WithProfileCount(long long value)
Definition DomainStats.h:41
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMeteringProfileCount(long long value)
Definition DomainStats.h:56
AWS_CUSTOMERPROFILES_API DomainStats & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainStats & WithTotalSize(long long value)
Definition DomainStats.h:92
Aws::Utils::Json::JsonValue JsonValue