AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DifferentialPrivacyPrivacyBudgetAggregation.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/DifferentialPrivacyAggregationType.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CleanRooms {
20namespace Model {
21
29 public:
30 AWS_CLEANROOMS_API DifferentialPrivacyPrivacyBudgetAggregation() = default;
33 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline DifferentialPrivacyAggregationType GetType() const { return m_type; }
40 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
42 m_typeHasBeenSet = true;
43 m_type = value;
44 }
46 SetType(value);
47 return *this;
48 }
50
52
56 inline int GetMaxCount() const { return m_maxCount; }
57 inline bool MaxCountHasBeenSet() const { return m_maxCountHasBeenSet; }
58 inline void SetMaxCount(int value) {
59 m_maxCountHasBeenSet = true;
60 m_maxCount = value;
61 }
63 SetMaxCount(value);
64 return *this;
65 }
67
69
73 inline int GetRemainingCount() const { return m_remainingCount; }
74 inline bool RemainingCountHasBeenSet() const { return m_remainingCountHasBeenSet; }
75 inline void SetRemainingCount(int value) {
76 m_remainingCountHasBeenSet = true;
77 m_remainingCount = value;
78 }
80 SetRemainingCount(value);
81 return *this;
82 }
84 private:
86
87 int m_maxCount{0};
88
89 int m_remainingCount{0};
90 bool m_typeHasBeenSet = false;
91 bool m_maxCountHasBeenSet = false;
92 bool m_remainingCountHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace CleanRooms
97} // namespace Aws
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API DifferentialPrivacyPrivacyBudgetAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
DifferentialPrivacyPrivacyBudgetAggregation & WithType(DifferentialPrivacyAggregationType value)
AWS_CLEANROOMS_API DifferentialPrivacyPrivacyBudgetAggregation(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue