AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DifferentialPrivacyPreviewAggregation.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
30 public:
31 AWS_CLEANROOMS_API DifferentialPrivacyPreviewAggregation() = default;
34 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline DifferentialPrivacyAggregationType GetType() const { return m_type; }
41 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
43 m_typeHasBeenSet = true;
44 m_type = value;
45 }
47 SetType(value);
48 return *this;
49 }
51
53
57 inline int GetMaxCount() const { return m_maxCount; }
58 inline bool MaxCountHasBeenSet() const { return m_maxCountHasBeenSet; }
59 inline void SetMaxCount(int value) {
60 m_maxCountHasBeenSet = true;
61 m_maxCount = value;
62 }
64 SetMaxCount(value);
65 return *this;
66 }
68 private:
70
71 int m_maxCount{0};
72 bool m_typeHasBeenSet = false;
73 bool m_maxCountHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace CleanRooms
78} // namespace Aws
AWS_CLEANROOMS_API DifferentialPrivacyPreviewAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API DifferentialPrivacyPreviewAggregation(Aws::Utils::Json::JsonView jsonValue)
DifferentialPrivacyPreviewAggregation & WithType(DifferentialPrivacyAggregationType value)
Aws::Utils::Json::JsonValue JsonValue