AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
DifferentialPrivacySensitivityParameters.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/DifferentialPrivacyAggregationType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CleanRooms {
21namespace Model {
22
29 public:
30 AWS_CLEANROOMS_API DifferentialPrivacySensitivityParameters() = default;
33 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline DifferentialPrivacyAggregationType GetAggregationType() const { return m_aggregationType; }
40 inline bool AggregationTypeHasBeenSet() const { return m_aggregationTypeHasBeenSet; }
42 m_aggregationTypeHasBeenSet = true;
43 m_aggregationType = value;
44 }
46 SetAggregationType(value);
47 return *this;
48 }
50
52
55 inline const Aws::String& GetAggregationExpression() const { return m_aggregationExpression; }
56 inline bool AggregationExpressionHasBeenSet() const { return m_aggregationExpressionHasBeenSet; }
57 template <typename AggregationExpressionT = Aws::String>
58 void SetAggregationExpression(AggregationExpressionT&& value) {
59 m_aggregationExpressionHasBeenSet = true;
60 m_aggregationExpression = std::forward<AggregationExpressionT>(value);
61 }
62 template <typename AggregationExpressionT = Aws::String>
64 SetAggregationExpression(std::forward<AggregationExpressionT>(value));
65 return *this;
66 }
68
70
73 inline int GetUserContributionLimit() const { return m_userContributionLimit; }
74 inline bool UserContributionLimitHasBeenSet() const { return m_userContributionLimitHasBeenSet; }
75 inline void SetUserContributionLimit(int value) {
76 m_userContributionLimitHasBeenSet = true;
77 m_userContributionLimit = value;
78 }
81 return *this;
82 }
84
86
89 inline double GetMinColumnValue() const { return m_minColumnValue; }
90 inline bool MinColumnValueHasBeenSet() const { return m_minColumnValueHasBeenSet; }
91 inline void SetMinColumnValue(double value) {
92 m_minColumnValueHasBeenSet = true;
93 m_minColumnValue = value;
94 }
96 SetMinColumnValue(value);
97 return *this;
98 }
100
102
105 inline double GetMaxColumnValue() const { return m_maxColumnValue; }
106 inline bool MaxColumnValueHasBeenSet() const { return m_maxColumnValueHasBeenSet; }
107 inline void SetMaxColumnValue(double value) {
108 m_maxColumnValueHasBeenSet = true;
109 m_maxColumnValue = value;
110 }
112 SetMaxColumnValue(value);
113 return *this;
114 }
116 private:
118
119 Aws::String m_aggregationExpression;
120
121 int m_userContributionLimit{0};
122
123 double m_minColumnValue{0.0};
124
125 double m_maxColumnValue{0.0};
126 bool m_aggregationTypeHasBeenSet = false;
127 bool m_aggregationExpressionHasBeenSet = false;
128 bool m_userContributionLimitHasBeenSet = false;
129 bool m_minColumnValueHasBeenSet = false;
130 bool m_maxColumnValueHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace CleanRooms
135} // namespace Aws
DifferentialPrivacySensitivityParameters & WithMinColumnValue(double value)
AWS_CLEANROOMS_API DifferentialPrivacySensitivityParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
DifferentialPrivacySensitivityParameters & WithAggregationType(DifferentialPrivacyAggregationType value)
AWS_CLEANROOMS_API DifferentialPrivacySensitivityParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
DifferentialPrivacySensitivityParameters & WithAggregationExpression(AggregationExpressionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue