AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainStats.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_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 CustomerProfiles
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_CUSTOMERPROFILES_API DomainStats();
33 AWS_CUSTOMERPROFILES_API DomainStats(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CUSTOMERPROFILES_API DomainStats& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline long long GetProfileCount() const{ return m_profileCount; }
43 inline bool ProfileCountHasBeenSet() const { return m_profileCountHasBeenSet; }
44 inline void SetProfileCount(long long value) { m_profileCountHasBeenSet = true; m_profileCount = value; }
45 inline DomainStats& WithProfileCount(long long value) { SetProfileCount(value); return *this;}
47
49
55 inline long long GetMeteringProfileCount() const{ return m_meteringProfileCount; }
56 inline bool MeteringProfileCountHasBeenSet() const { return m_meteringProfileCountHasBeenSet; }
57 inline void SetMeteringProfileCount(long long value) { m_meteringProfileCountHasBeenSet = true; m_meteringProfileCount = value; }
58 inline DomainStats& WithMeteringProfileCount(long long value) { SetMeteringProfileCount(value); return *this;}
60
62
65 inline long long GetObjectCount() const{ return m_objectCount; }
66 inline bool ObjectCountHasBeenSet() const { return m_objectCountHasBeenSet; }
67 inline void SetObjectCount(long long value) { m_objectCountHasBeenSet = true; m_objectCount = value; }
68 inline DomainStats& WithObjectCount(long long value) { SetObjectCount(value); return *this;}
70
72
75 inline long long GetTotalSize() const{ return m_totalSize; }
76 inline bool TotalSizeHasBeenSet() const { return m_totalSizeHasBeenSet; }
77 inline void SetTotalSize(long long value) { m_totalSizeHasBeenSet = true; m_totalSize = value; }
78 inline DomainStats& WithTotalSize(long long value) { SetTotalSize(value); return *this;}
80 private:
81
82 long long m_profileCount;
83 bool m_profileCountHasBeenSet = false;
84
85 long long m_meteringProfileCount;
86 bool m_meteringProfileCountHasBeenSet = false;
87
88 long long m_objectCount;
89 bool m_objectCountHasBeenSet = false;
90
91 long long m_totalSize;
92 bool m_totalSizeHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace CustomerProfiles
97} // namespace Aws
DomainStats & WithObjectCount(long long value)
Definition DomainStats.h:68
AWS_CUSTOMERPROFILES_API DomainStats(Aws::Utils::Json::JsonView jsonValue)
DomainStats & WithMeteringProfileCount(long long value)
Definition DomainStats.h:58
DomainStats & WithProfileCount(long long value)
Definition DomainStats.h:45
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMeteringProfileCount(long long value)
Definition DomainStats.h:57
AWS_CUSTOMERPROFILES_API DomainStats & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API DomainStats()
DomainStats & WithTotalSize(long long value)
Definition DomainStats.h:78
Aws::Utils::Json::JsonValue JsonValue