AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CleanRooms
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLEANROOMS_API DifferentialPrivacyPrivacyBudgetAggregation() = default;
38 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline DifferentialPrivacyAggregationType GetType() const { return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(DifferentialPrivacyAggregationType value) { m_typeHasBeenSet = true; m_type = value; }
50
52
56 inline int GetMaxCount() const { return m_maxCount; }
57 inline bool MaxCountHasBeenSet() const { return m_maxCountHasBeenSet; }
58 inline void SetMaxCount(int value) { m_maxCountHasBeenSet = true; m_maxCount = value; }
59 inline DifferentialPrivacyPrivacyBudgetAggregation& WithMaxCount(int value) { SetMaxCount(value); return *this;}
61
63
67 inline int GetRemainingCount() const { return m_remainingCount; }
68 inline bool RemainingCountHasBeenSet() const { return m_remainingCountHasBeenSet; }
69 inline void SetRemainingCount(int value) { m_remainingCountHasBeenSet = true; m_remainingCount = value; }
72 private:
73
75 bool m_typeHasBeenSet = false;
76
77 int m_maxCount{0};
78 bool m_maxCountHasBeenSet = false;
79
80 int m_remainingCount{0};
81 bool m_remainingCountHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace CleanRooms
86} // 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