AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
IntermediateTableAnalysisRuleCustom.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/AdditionalAnalyses.h>
9#include <aws/cleanrooms/model/AggregationThreshold.h>
10#include <aws/cleanrooms/model/ComparisonControls.h>
11#include <aws/cleanrooms/model/DifferentialPrivacyConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CleanRooms {
25namespace Model {
26
34 public:
35 AWS_CLEANROOMS_API IntermediateTableAnalysisRuleCustom() = default;
38 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const Aws::Vector<Aws::String>& GetAllowedAnalyses() const { return m_allowedAnalyses; }
46 inline bool AllowedAnalysesHasBeenSet() const { return m_allowedAnalysesHasBeenSet; }
47 template <typename AllowedAnalysesT = Aws::Vector<Aws::String>>
48 void SetAllowedAnalyses(AllowedAnalysesT&& value) {
49 m_allowedAnalysesHasBeenSet = true;
50 m_allowedAnalyses = std::forward<AllowedAnalysesT>(value);
51 }
52 template <typename AllowedAnalysesT = Aws::Vector<Aws::String>>
54 SetAllowedAnalyses(std::forward<AllowedAnalysesT>(value));
55 return *this;
56 }
57 template <typename AllowedAnalysesT = Aws::String>
59 m_allowedAnalysesHasBeenSet = true;
60 m_allowedAnalyses.emplace_back(std::forward<AllowedAnalysesT>(value));
61 return *this;
62 }
64
66
70 inline AdditionalAnalyses GetAdditionalAnalyses() const { return m_additionalAnalyses; }
71 inline bool AdditionalAnalysesHasBeenSet() const { return m_additionalAnalysesHasBeenSet; }
73 m_additionalAnalysesHasBeenSet = true;
74 m_additionalAnalyses = value;
75 }
78 return *this;
79 }
81
83
86 inline const Aws::Vector<Aws::String>& GetAllowedAdditionalAnalyses() const { return m_allowedAdditionalAnalyses; }
87 inline bool AllowedAdditionalAnalysesHasBeenSet() const { return m_allowedAdditionalAnalysesHasBeenSet; }
88 template <typename AllowedAdditionalAnalysesT = Aws::Vector<Aws::String>>
89 void SetAllowedAdditionalAnalyses(AllowedAdditionalAnalysesT&& value) {
90 m_allowedAdditionalAnalysesHasBeenSet = true;
91 m_allowedAdditionalAnalyses = std::forward<AllowedAdditionalAnalysesT>(value);
92 }
93 template <typename AllowedAdditionalAnalysesT = Aws::Vector<Aws::String>>
95 SetAllowedAdditionalAnalyses(std::forward<AllowedAdditionalAnalysesT>(value));
96 return *this;
97 }
98 template <typename AllowedAdditionalAnalysesT = Aws::String>
100 m_allowedAdditionalAnalysesHasBeenSet = true;
101 m_allowedAdditionalAnalyses.emplace_back(std::forward<AllowedAdditionalAnalysesT>(value));
102 return *this;
103 }
105
107
111 inline const Aws::Vector<Aws::String>& GetAllowedAnalysisProviders() const { return m_allowedAnalysisProviders; }
112 inline bool AllowedAnalysisProvidersHasBeenSet() const { return m_allowedAnalysisProvidersHasBeenSet; }
113 template <typename AllowedAnalysisProvidersT = Aws::Vector<Aws::String>>
114 void SetAllowedAnalysisProviders(AllowedAnalysisProvidersT&& value) {
115 m_allowedAnalysisProvidersHasBeenSet = true;
116 m_allowedAnalysisProviders = std::forward<AllowedAnalysisProvidersT>(value);
117 }
118 template <typename AllowedAnalysisProvidersT = Aws::Vector<Aws::String>>
120 SetAllowedAnalysisProviders(std::forward<AllowedAnalysisProvidersT>(value));
121 return *this;
122 }
123 template <typename AllowedAnalysisProvidersT = Aws::String>
125 m_allowedAnalysisProvidersHasBeenSet = true;
126 m_allowedAnalysisProviders.emplace_back(std::forward<AllowedAnalysisProvidersT>(value));
127 return *this;
128 }
130
132
136 inline const Aws::Vector<Aws::String>& GetAllowedResultReceivers() const { return m_allowedResultReceivers; }
137 inline bool AllowedResultReceiversHasBeenSet() const { return m_allowedResultReceiversHasBeenSet; }
138 template <typename AllowedResultReceiversT = Aws::Vector<Aws::String>>
139 void SetAllowedResultReceivers(AllowedResultReceiversT&& value) {
140 m_allowedResultReceiversHasBeenSet = true;
141 m_allowedResultReceivers = std::forward<AllowedResultReceiversT>(value);
142 }
143 template <typename AllowedResultReceiversT = Aws::Vector<Aws::String>>
145 SetAllowedResultReceivers(std::forward<AllowedResultReceiversT>(value));
146 return *this;
147 }
148 template <typename AllowedResultReceiversT = Aws::String>
150 m_allowedResultReceiversHasBeenSet = true;
151 m_allowedResultReceivers.emplace_back(std::forward<AllowedResultReceiversT>(value));
152 return *this;
153 }
155
157
158 inline const DifferentialPrivacyConfiguration& GetDifferentialPrivacy() const { return m_differentialPrivacy; }
159 inline bool DifferentialPrivacyHasBeenSet() const { return m_differentialPrivacyHasBeenSet; }
160 template <typename DifferentialPrivacyT = DifferentialPrivacyConfiguration>
161 void SetDifferentialPrivacy(DifferentialPrivacyT&& value) {
162 m_differentialPrivacyHasBeenSet = true;
163 m_differentialPrivacy = std::forward<DifferentialPrivacyT>(value);
164 }
165 template <typename DifferentialPrivacyT = DifferentialPrivacyConfiguration>
167 SetDifferentialPrivacy(std::forward<DifferentialPrivacyT>(value));
168 return *this;
169 }
171
173
176 inline const Aws::Vector<Aws::String>& GetDisallowedOutputColumns() const { return m_disallowedOutputColumns; }
177 inline bool DisallowedOutputColumnsHasBeenSet() const { return m_disallowedOutputColumnsHasBeenSet; }
178 template <typename DisallowedOutputColumnsT = Aws::Vector<Aws::String>>
179 void SetDisallowedOutputColumns(DisallowedOutputColumnsT&& value) {
180 m_disallowedOutputColumnsHasBeenSet = true;
181 m_disallowedOutputColumns = std::forward<DisallowedOutputColumnsT>(value);
182 }
183 template <typename DisallowedOutputColumnsT = Aws::Vector<Aws::String>>
185 SetDisallowedOutputColumns(std::forward<DisallowedOutputColumnsT>(value));
186 return *this;
187 }
188 template <typename DisallowedOutputColumnsT = Aws::String>
190 m_disallowedOutputColumnsHasBeenSet = true;
191 m_disallowedOutputColumns.emplace_back(std::forward<DisallowedOutputColumnsT>(value));
192 return *this;
193 }
195
197
204 inline const Aws::Vector<AggregationThreshold>& GetAggregationThresholds() const { return m_aggregationThresholds; }
205 inline bool AggregationThresholdsHasBeenSet() const { return m_aggregationThresholdsHasBeenSet; }
206 template <typename AggregationThresholdsT = Aws::Vector<AggregationThreshold>>
207 void SetAggregationThresholds(AggregationThresholdsT&& value) {
208 m_aggregationThresholdsHasBeenSet = true;
209 m_aggregationThresholds = std::forward<AggregationThresholdsT>(value);
210 }
211 template <typename AggregationThresholdsT = Aws::Vector<AggregationThreshold>>
213 SetAggregationThresholds(std::forward<AggregationThresholdsT>(value));
214 return *this;
215 }
216 template <typename AggregationThresholdsT = AggregationThreshold>
218 m_aggregationThresholdsHasBeenSet = true;
219 m_aggregationThresholds.emplace_back(std::forward<AggregationThresholdsT>(value));
220 return *this;
221 }
223
225
230 inline const ComparisonControls& GetComparisonControls() const { return m_comparisonControls; }
231 inline bool ComparisonControlsHasBeenSet() const { return m_comparisonControlsHasBeenSet; }
232 template <typename ComparisonControlsT = ComparisonControls>
233 void SetComparisonControls(ComparisonControlsT&& value) {
234 m_comparisonControlsHasBeenSet = true;
235 m_comparisonControls = std::forward<ComparisonControlsT>(value);
236 }
237 template <typename ComparisonControlsT = ComparisonControls>
239 SetComparisonControls(std::forward<ComparisonControlsT>(value));
240 return *this;
241 }
243 private:
244 Aws::Vector<Aws::String> m_allowedAnalyses;
245
247
248 Aws::Vector<Aws::String> m_allowedAdditionalAnalyses;
249
250 Aws::Vector<Aws::String> m_allowedAnalysisProviders;
251
252 Aws::Vector<Aws::String> m_allowedResultReceivers;
253
254 DifferentialPrivacyConfiguration m_differentialPrivacy;
255
256 Aws::Vector<Aws::String> m_disallowedOutputColumns;
257
258 Aws::Vector<AggregationThreshold> m_aggregationThresholds;
259
260 ComparisonControls m_comparisonControls;
261 bool m_allowedAnalysesHasBeenSet = false;
262 bool m_additionalAnalysesHasBeenSet = false;
263 bool m_allowedAdditionalAnalysesHasBeenSet = false;
264 bool m_allowedAnalysisProvidersHasBeenSet = false;
265 bool m_allowedResultReceiversHasBeenSet = false;
266 bool m_differentialPrivacyHasBeenSet = false;
267 bool m_disallowedOutputColumnsHasBeenSet = false;
268 bool m_aggregationThresholdsHasBeenSet = false;
269 bool m_comparisonControlsHasBeenSet = false;
270};
271
272} // namespace Model
273} // namespace CleanRooms
274} // namespace Aws
IntermediateTableAnalysisRuleCustom & WithDisallowedOutputColumns(DisallowedOutputColumnsT &&value)
IntermediateTableAnalysisRuleCustom & WithDifferentialPrivacy(DifferentialPrivacyT &&value)
IntermediateTableAnalysisRuleCustom & WithAggregationThresholds(AggregationThresholdsT &&value)
AWS_CLEANROOMS_API IntermediateTableAnalysisRuleCustom()=default
IntermediateTableAnalysisRuleCustom & AddAllowedResultReceivers(AllowedResultReceiversT &&value)
IntermediateTableAnalysisRuleCustom & WithAllowedAnalysisProviders(AllowedAnalysisProvidersT &&value)
IntermediateTableAnalysisRuleCustom & AddAllowedAnalyses(AllowedAnalysesT &&value)
IntermediateTableAnalysisRuleCustom & AddAllowedAnalysisProviders(AllowedAnalysisProvidersT &&value)
const Aws::Vector< AggregationThreshold > & GetAggregationThresholds() const
IntermediateTableAnalysisRuleCustom & WithComparisonControls(ComparisonControlsT &&value)
IntermediateTableAnalysisRuleCustom & WithAllowedAnalyses(AllowedAnalysesT &&value)
AWS_CLEANROOMS_API IntermediateTableAnalysisRuleCustom & operator=(Aws::Utils::Json::JsonView jsonValue)
IntermediateTableAnalysisRuleCustom & WithAdditionalAnalyses(AdditionalAnalyses value)
IntermediateTableAnalysisRuleCustom & AddAllowedAdditionalAnalyses(AllowedAdditionalAnalysesT &&value)
IntermediateTableAnalysisRuleCustom & WithAllowedResultReceivers(AllowedResultReceiversT &&value)
AWS_CLEANROOMS_API IntermediateTableAnalysisRuleCustom(Aws::Utils::Json::JsonView jsonValue)
IntermediateTableAnalysisRuleCustom & AddAggregationThresholds(AggregationThresholdsT &&value)
IntermediateTableAnalysisRuleCustom & WithAllowedAdditionalAnalyses(AllowedAdditionalAnalysesT &&value)
IntermediateTableAnalysisRuleCustom & AddDisallowedOutputColumns(DisallowedOutputColumnsT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue