AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CleanRooms
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CLEANROOMS_API DifferentialPrivacySensitivityParameters() = default;
38 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline DifferentialPrivacyAggregationType GetAggregationType() const { return m_aggregationType; }
46 inline bool AggregationTypeHasBeenSet() const { return m_aggregationTypeHasBeenSet; }
47 inline void SetAggregationType(DifferentialPrivacyAggregationType value) { m_aggregationTypeHasBeenSet = true; m_aggregationType = value; }
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) { m_aggregationExpressionHasBeenSet = true; m_aggregationExpression = std::forward<AggregationExpressionT>(value); }
59 template<typename AggregationExpressionT = Aws::String>
60 DifferentialPrivacySensitivityParameters& WithAggregationExpression(AggregationExpressionT&& value) { SetAggregationExpression(std::forward<AggregationExpressionT>(value)); return *this;}
62
64
67 inline int GetUserContributionLimit() const { return m_userContributionLimit; }
68 inline bool UserContributionLimitHasBeenSet() const { return m_userContributionLimitHasBeenSet; }
69 inline void SetUserContributionLimit(int value) { m_userContributionLimitHasBeenSet = true; m_userContributionLimit = value; }
72
74
77 inline double GetMinColumnValue() const { return m_minColumnValue; }
78 inline bool MinColumnValueHasBeenSet() const { return m_minColumnValueHasBeenSet; }
79 inline void SetMinColumnValue(double value) { m_minColumnValueHasBeenSet = true; m_minColumnValue = value; }
82
84
87 inline double GetMaxColumnValue() const { return m_maxColumnValue; }
88 inline bool MaxColumnValueHasBeenSet() const { return m_maxColumnValueHasBeenSet; }
89 inline void SetMaxColumnValue(double value) { m_maxColumnValueHasBeenSet = true; m_maxColumnValue = value; }
92 private:
93
95 bool m_aggregationTypeHasBeenSet = false;
96
97 Aws::String m_aggregationExpression;
98 bool m_aggregationExpressionHasBeenSet = false;
99
100 int m_userContributionLimit{0};
101 bool m_userContributionLimitHasBeenSet = false;
102
103 double m_minColumnValue{0.0};
104 bool m_minColumnValueHasBeenSet = false;
105
106 double m_maxColumnValue{0.0};
107 bool m_maxColumnValueHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace CleanRooms
112} // 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)
DifferentialPrivacySensitivityParameters & WithMaxColumnValue(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue