AWS SDK for C++

AWS SDK for C++ Version 1.11.869

Loading...
Searching...
No Matches
ConsolidatedPolicyCustom.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 ConsolidatedPolicyCustom() = default;
38 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::Vector<Aws::String>& GetAllowedAnalyses() const { return m_allowedAnalyses; }
45 inline bool AllowedAnalysesHasBeenSet() const { return m_allowedAnalysesHasBeenSet; }
46 template <typename AllowedAnalysesT = Aws::Vector<Aws::String>>
47 void SetAllowedAnalyses(AllowedAnalysesT&& value) {
48 m_allowedAnalysesHasBeenSet = true;
49 m_allowedAnalyses = std::forward<AllowedAnalysesT>(value);
50 }
51 template <typename AllowedAnalysesT = Aws::Vector<Aws::String>>
52 ConsolidatedPolicyCustom& WithAllowedAnalyses(AllowedAnalysesT&& value) {
53 SetAllowedAnalyses(std::forward<AllowedAnalysesT>(value));
54 return *this;
55 }
56 template <typename AllowedAnalysesT = Aws::String>
57 ConsolidatedPolicyCustom& AddAllowedAnalyses(AllowedAnalysesT&& value) {
58 m_allowedAnalysesHasBeenSet = true;
59 m_allowedAnalyses.emplace_back(std::forward<AllowedAnalysesT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::Vector<Aws::String>& GetAllowedAnalysisProviders() const { return m_allowedAnalysisProviders; }
69 inline bool AllowedAnalysisProvidersHasBeenSet() const { return m_allowedAnalysisProvidersHasBeenSet; }
70 template <typename AllowedAnalysisProvidersT = Aws::Vector<Aws::String>>
71 void SetAllowedAnalysisProviders(AllowedAnalysisProvidersT&& value) {
72 m_allowedAnalysisProvidersHasBeenSet = true;
73 m_allowedAnalysisProviders = std::forward<AllowedAnalysisProvidersT>(value);
74 }
75 template <typename AllowedAnalysisProvidersT = Aws::Vector<Aws::String>>
76 ConsolidatedPolicyCustom& WithAllowedAnalysisProviders(AllowedAnalysisProvidersT&& value) {
77 SetAllowedAnalysisProviders(std::forward<AllowedAnalysisProvidersT>(value));
78 return *this;
79 }
80 template <typename AllowedAnalysisProvidersT = Aws::String>
81 ConsolidatedPolicyCustom& AddAllowedAnalysisProviders(AllowedAnalysisProvidersT&& value) {
82 m_allowedAnalysisProvidersHasBeenSet = true;
83 m_allowedAnalysisProviders.emplace_back(std::forward<AllowedAnalysisProvidersT>(value));
84 return *this;
85 }
87
89
92 inline AdditionalAnalyses GetAdditionalAnalyses() const { return m_additionalAnalyses; }
93 inline bool AdditionalAnalysesHasBeenSet() const { return m_additionalAnalysesHasBeenSet; }
95 m_additionalAnalysesHasBeenSet = true;
96 m_additionalAnalyses = value;
97 }
100 return *this;
101 }
103
105
108 inline const Aws::Vector<Aws::String>& GetDisallowedOutputColumns() const { return m_disallowedOutputColumns; }
109 inline bool DisallowedOutputColumnsHasBeenSet() const { return m_disallowedOutputColumnsHasBeenSet; }
110 template <typename DisallowedOutputColumnsT = Aws::Vector<Aws::String>>
111 void SetDisallowedOutputColumns(DisallowedOutputColumnsT&& value) {
112 m_disallowedOutputColumnsHasBeenSet = true;
113 m_disallowedOutputColumns = std::forward<DisallowedOutputColumnsT>(value);
114 }
115 template <typename DisallowedOutputColumnsT = Aws::Vector<Aws::String>>
116 ConsolidatedPolicyCustom& WithDisallowedOutputColumns(DisallowedOutputColumnsT&& value) {
117 SetDisallowedOutputColumns(std::forward<DisallowedOutputColumnsT>(value));
118 return *this;
119 }
120 template <typename DisallowedOutputColumnsT = Aws::String>
121 ConsolidatedPolicyCustom& AddDisallowedOutputColumns(DisallowedOutputColumnsT&& value) {
122 m_disallowedOutputColumnsHasBeenSet = true;
123 m_disallowedOutputColumns.emplace_back(std::forward<DisallowedOutputColumnsT>(value));
124 return *this;
125 }
127
129
130 inline const DifferentialPrivacyConfiguration& GetDifferentialPrivacy() const { return m_differentialPrivacy; }
131 inline bool DifferentialPrivacyHasBeenSet() const { return m_differentialPrivacyHasBeenSet; }
132 template <typename DifferentialPrivacyT = DifferentialPrivacyConfiguration>
133 void SetDifferentialPrivacy(DifferentialPrivacyT&& value) {
134 m_differentialPrivacyHasBeenSet = true;
135 m_differentialPrivacy = std::forward<DifferentialPrivacyT>(value);
136 }
137 template <typename DifferentialPrivacyT = DifferentialPrivacyConfiguration>
138 ConsolidatedPolicyCustom& WithDifferentialPrivacy(DifferentialPrivacyT&& value) {
139 SetDifferentialPrivacy(std::forward<DifferentialPrivacyT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Vector<AggregationThreshold>& GetAggregationThresholds() const { return m_aggregationThresholds; }
149 inline bool AggregationThresholdsHasBeenSet() const { return m_aggregationThresholdsHasBeenSet; }
150 template <typename AggregationThresholdsT = Aws::Vector<AggregationThreshold>>
151 void SetAggregationThresholds(AggregationThresholdsT&& value) {
152 m_aggregationThresholdsHasBeenSet = true;
153 m_aggregationThresholds = std::forward<AggregationThresholdsT>(value);
154 }
155 template <typename AggregationThresholdsT = Aws::Vector<AggregationThreshold>>
156 ConsolidatedPolicyCustom& WithAggregationThresholds(AggregationThresholdsT&& value) {
157 SetAggregationThresholds(std::forward<AggregationThresholdsT>(value));
158 return *this;
159 }
160 template <typename AggregationThresholdsT = AggregationThreshold>
161 ConsolidatedPolicyCustom& AddAggregationThresholds(AggregationThresholdsT&& value) {
162 m_aggregationThresholdsHasBeenSet = true;
163 m_aggregationThresholds.emplace_back(std::forward<AggregationThresholdsT>(value));
164 return *this;
165 }
167
169
172 inline const ComparisonControls& GetComparisonControls() const { return m_comparisonControls; }
173 inline bool ComparisonControlsHasBeenSet() const { return m_comparisonControlsHasBeenSet; }
174 template <typename ComparisonControlsT = ComparisonControls>
175 void SetComparisonControls(ComparisonControlsT&& value) {
176 m_comparisonControlsHasBeenSet = true;
177 m_comparisonControls = std::forward<ComparisonControlsT>(value);
178 }
179 template <typename ComparisonControlsT = ComparisonControls>
180 ConsolidatedPolicyCustom& WithComparisonControls(ComparisonControlsT&& value) {
181 SetComparisonControls(std::forward<ComparisonControlsT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::Vector<Aws::String>& GetAllowedResultReceivers() const { return m_allowedResultReceivers; }
191 inline bool AllowedResultReceiversHasBeenSet() const { return m_allowedResultReceiversHasBeenSet; }
192 template <typename AllowedResultReceiversT = Aws::Vector<Aws::String>>
193 void SetAllowedResultReceivers(AllowedResultReceiversT&& value) {
194 m_allowedResultReceiversHasBeenSet = true;
195 m_allowedResultReceivers = std::forward<AllowedResultReceiversT>(value);
196 }
197 template <typename AllowedResultReceiversT = Aws::Vector<Aws::String>>
198 ConsolidatedPolicyCustom& WithAllowedResultReceivers(AllowedResultReceiversT&& value) {
199 SetAllowedResultReceivers(std::forward<AllowedResultReceiversT>(value));
200 return *this;
201 }
202 template <typename AllowedResultReceiversT = Aws::String>
203 ConsolidatedPolicyCustom& AddAllowedResultReceivers(AllowedResultReceiversT&& value) {
204 m_allowedResultReceiversHasBeenSet = true;
205 m_allowedResultReceivers.emplace_back(std::forward<AllowedResultReceiversT>(value));
206 return *this;
207 }
209
211
214 inline const Aws::Vector<Aws::String>& GetAllowedAdditionalAnalyses() const { return m_allowedAdditionalAnalyses; }
215 inline bool AllowedAdditionalAnalysesHasBeenSet() const { return m_allowedAdditionalAnalysesHasBeenSet; }
216 template <typename AllowedAdditionalAnalysesT = Aws::Vector<Aws::String>>
217 void SetAllowedAdditionalAnalyses(AllowedAdditionalAnalysesT&& value) {
218 m_allowedAdditionalAnalysesHasBeenSet = true;
219 m_allowedAdditionalAnalyses = std::forward<AllowedAdditionalAnalysesT>(value);
220 }
221 template <typename AllowedAdditionalAnalysesT = Aws::Vector<Aws::String>>
222 ConsolidatedPolicyCustom& WithAllowedAdditionalAnalyses(AllowedAdditionalAnalysesT&& value) {
223 SetAllowedAdditionalAnalyses(std::forward<AllowedAdditionalAnalysesT>(value));
224 return *this;
225 }
226 template <typename AllowedAdditionalAnalysesT = Aws::String>
227 ConsolidatedPolicyCustom& AddAllowedAdditionalAnalyses(AllowedAdditionalAnalysesT&& value) {
228 m_allowedAdditionalAnalysesHasBeenSet = true;
229 m_allowedAdditionalAnalyses.emplace_back(std::forward<AllowedAdditionalAnalysesT>(value));
230 return *this;
231 }
233 private:
234 Aws::Vector<Aws::String> m_allowedAnalyses;
235
236 Aws::Vector<Aws::String> m_allowedAnalysisProviders;
237
239
240 Aws::Vector<Aws::String> m_disallowedOutputColumns;
241
242 DifferentialPrivacyConfiguration m_differentialPrivacy;
243
244 Aws::Vector<AggregationThreshold> m_aggregationThresholds;
245
246 ComparisonControls m_comparisonControls;
247
248 Aws::Vector<Aws::String> m_allowedResultReceivers;
249
250 Aws::Vector<Aws::String> m_allowedAdditionalAnalyses;
251 bool m_allowedAnalysesHasBeenSet = false;
252 bool m_allowedAnalysisProvidersHasBeenSet = false;
253 bool m_additionalAnalysesHasBeenSet = false;
254 bool m_disallowedOutputColumnsHasBeenSet = false;
255 bool m_differentialPrivacyHasBeenSet = false;
256 bool m_aggregationThresholdsHasBeenSet = false;
257 bool m_comparisonControlsHasBeenSet = false;
258 bool m_allowedResultReceiversHasBeenSet = false;
259 bool m_allowedAdditionalAnalysesHasBeenSet = false;
260};
261
262} // namespace Model
263} // namespace CleanRooms
264} // namespace Aws
void SetAllowedAdditionalAnalyses(AllowedAdditionalAnalysesT &&value)
ConsolidatedPolicyCustom & WithAdditionalAnalyses(AdditionalAnalyses value)
void SetAllowedAnalysisProviders(AllowedAnalysisProvidersT &&value)
const Aws::Vector< Aws::String > & GetAllowedAdditionalAnalyses() const
const Aws::Vector< Aws::String > & GetDisallowedOutputColumns() const
ConsolidatedPolicyCustom & WithAllowedAnalysisProviders(AllowedAnalysisProvidersT &&value)
ConsolidatedPolicyCustom & AddDisallowedOutputColumns(DisallowedOutputColumnsT &&value)
void SetDisallowedOutputColumns(DisallowedOutputColumnsT &&value)
ConsolidatedPolicyCustom & AddAllowedResultReceivers(AllowedResultReceiversT &&value)
void SetAggregationThresholds(AggregationThresholdsT &&value)
ConsolidatedPolicyCustom & WithAllowedAdditionalAnalyses(AllowedAdditionalAnalysesT &&value)
AWS_CLEANROOMS_API ConsolidatedPolicyCustom()=default
const DifferentialPrivacyConfiguration & GetDifferentialPrivacy() const
ConsolidatedPolicyCustom & AddAllowedAnalyses(AllowedAnalysesT &&value)
AWS_CLEANROOMS_API ConsolidatedPolicyCustom(Aws::Utils::Json::JsonView jsonValue)
void SetDifferentialPrivacy(DifferentialPrivacyT &&value)
ConsolidatedPolicyCustom & WithDifferentialPrivacy(DifferentialPrivacyT &&value)
AWS_CLEANROOMS_API ConsolidatedPolicyCustom & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAllowedAnalyses() const
ConsolidatedPolicyCustom & WithAllowedResultReceivers(AllowedResultReceiversT &&value)
ConsolidatedPolicyCustom & WithComparisonControls(ComparisonControlsT &&value)
void SetAllowedResultReceivers(AllowedResultReceiversT &&value)
const Aws::Vector< AggregationThreshold > & GetAggregationThresholds() const
const Aws::Vector< Aws::String > & GetAllowedAnalysisProviders() const
ConsolidatedPolicyCustom & AddAllowedAnalysisProviders(AllowedAnalysisProvidersT &&value)
const Aws::Vector< Aws::String > & GetAllowedResultReceivers() const
ConsolidatedPolicyCustom & WithAllowedAnalyses(AllowedAnalysesT &&value)
ConsolidatedPolicyCustom & AddAllowedAdditionalAnalyses(AllowedAdditionalAnalysesT &&value)
ConsolidatedPolicyCustom & WithDisallowedOutputColumns(DisallowedOutputColumnsT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
ConsolidatedPolicyCustom & WithAggregationThresholds(AggregationThresholdsT &&value)
ConsolidatedPolicyCustom & AddAggregationThresholds(AggregationThresholdsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue