AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ConsolidatedPolicyAggregation.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/AdditionalAnalyses.h>
9#include <aws/cleanrooms/model/AggregateColumn.h>
10#include <aws/cleanrooms/model/AggregationConstraint.h>
11#include <aws/cleanrooms/model/JoinOperator.h>
12#include <aws/cleanrooms/model/JoinRequiredOption.h>
13#include <aws/cleanrooms/model/ScalarFunctions.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace CleanRooms {
27namespace Model {
28
36 public:
37 AWS_CLEANROOMS_API ConsolidatedPolicyAggregation() = default;
40 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::Vector<AggregateColumn>& GetAggregateColumns() const { return m_aggregateColumns; }
47 inline bool AggregateColumnsHasBeenSet() const { return m_aggregateColumnsHasBeenSet; }
48 template <typename AggregateColumnsT = Aws::Vector<AggregateColumn>>
49 void SetAggregateColumns(AggregateColumnsT&& value) {
50 m_aggregateColumnsHasBeenSet = true;
51 m_aggregateColumns = std::forward<AggregateColumnsT>(value);
52 }
53 template <typename AggregateColumnsT = Aws::Vector<AggregateColumn>>
55 SetAggregateColumns(std::forward<AggregateColumnsT>(value));
56 return *this;
57 }
58 template <typename AggregateColumnsT = AggregateColumn>
60 m_aggregateColumnsHasBeenSet = true;
61 m_aggregateColumns.emplace_back(std::forward<AggregateColumnsT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Vector<Aws::String>& GetJoinColumns() const { return m_joinColumns; }
71 inline bool JoinColumnsHasBeenSet() const { return m_joinColumnsHasBeenSet; }
72 template <typename JoinColumnsT = Aws::Vector<Aws::String>>
73 void SetJoinColumns(JoinColumnsT&& value) {
74 m_joinColumnsHasBeenSet = true;
75 m_joinColumns = std::forward<JoinColumnsT>(value);
76 }
77 template <typename JoinColumnsT = Aws::Vector<Aws::String>>
79 SetJoinColumns(std::forward<JoinColumnsT>(value));
80 return *this;
81 }
82 template <typename JoinColumnsT = Aws::String>
84 m_joinColumnsHasBeenSet = true;
85 m_joinColumns.emplace_back(std::forward<JoinColumnsT>(value));
86 return *this;
87 }
89
91
94 inline JoinRequiredOption GetJoinRequired() const { return m_joinRequired; }
95 inline bool JoinRequiredHasBeenSet() const { return m_joinRequiredHasBeenSet; }
97 m_joinRequiredHasBeenSet = true;
98 m_joinRequired = value;
99 }
101 SetJoinRequired(value);
102 return *this;
103 }
105
107
110 inline const Aws::Vector<JoinOperator>& GetAllowedJoinOperators() const { return m_allowedJoinOperators; }
111 inline bool AllowedJoinOperatorsHasBeenSet() const { return m_allowedJoinOperatorsHasBeenSet; }
112 template <typename AllowedJoinOperatorsT = Aws::Vector<JoinOperator>>
113 void SetAllowedJoinOperators(AllowedJoinOperatorsT&& value) {
114 m_allowedJoinOperatorsHasBeenSet = true;
115 m_allowedJoinOperators = std::forward<AllowedJoinOperatorsT>(value);
116 }
117 template <typename AllowedJoinOperatorsT = Aws::Vector<JoinOperator>>
119 SetAllowedJoinOperators(std::forward<AllowedJoinOperatorsT>(value));
120 return *this;
121 }
123 m_allowedJoinOperatorsHasBeenSet = true;
124 m_allowedJoinOperators.push_back(value);
125 return *this;
126 }
128
130
133 inline const Aws::Vector<Aws::String>& GetDimensionColumns() const { return m_dimensionColumns; }
134 inline bool DimensionColumnsHasBeenSet() const { return m_dimensionColumnsHasBeenSet; }
135 template <typename DimensionColumnsT = Aws::Vector<Aws::String>>
136 void SetDimensionColumns(DimensionColumnsT&& value) {
137 m_dimensionColumnsHasBeenSet = true;
138 m_dimensionColumns = std::forward<DimensionColumnsT>(value);
139 }
140 template <typename DimensionColumnsT = Aws::Vector<Aws::String>>
142 SetDimensionColumns(std::forward<DimensionColumnsT>(value));
143 return *this;
144 }
145 template <typename DimensionColumnsT = Aws::String>
147 m_dimensionColumnsHasBeenSet = true;
148 m_dimensionColumns.emplace_back(std::forward<DimensionColumnsT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::Vector<ScalarFunctions>& GetScalarFunctions() const { return m_scalarFunctions; }
158 inline bool ScalarFunctionsHasBeenSet() const { return m_scalarFunctionsHasBeenSet; }
159 template <typename ScalarFunctionsT = Aws::Vector<ScalarFunctions>>
160 void SetScalarFunctions(ScalarFunctionsT&& value) {
161 m_scalarFunctionsHasBeenSet = true;
162 m_scalarFunctions = std::forward<ScalarFunctionsT>(value);
163 }
164 template <typename ScalarFunctionsT = Aws::Vector<ScalarFunctions>>
166 SetScalarFunctions(std::forward<ScalarFunctionsT>(value));
167 return *this;
168 }
170 m_scalarFunctionsHasBeenSet = true;
171 m_scalarFunctions.push_back(value);
172 return *this;
173 }
175
177
180 inline const Aws::Vector<AggregationConstraint>& GetOutputConstraints() const { return m_outputConstraints; }
181 inline bool OutputConstraintsHasBeenSet() const { return m_outputConstraintsHasBeenSet; }
182 template <typename OutputConstraintsT = Aws::Vector<AggregationConstraint>>
183 void SetOutputConstraints(OutputConstraintsT&& value) {
184 m_outputConstraintsHasBeenSet = true;
185 m_outputConstraints = std::forward<OutputConstraintsT>(value);
186 }
187 template <typename OutputConstraintsT = Aws::Vector<AggregationConstraint>>
189 SetOutputConstraints(std::forward<OutputConstraintsT>(value));
190 return *this;
191 }
192 template <typename OutputConstraintsT = AggregationConstraint>
194 m_outputConstraintsHasBeenSet = true;
195 m_outputConstraints.emplace_back(std::forward<OutputConstraintsT>(value));
196 return *this;
197 }
199
201
204 inline AdditionalAnalyses GetAdditionalAnalyses() const { return m_additionalAnalyses; }
205 inline bool AdditionalAnalysesHasBeenSet() const { return m_additionalAnalysesHasBeenSet; }
207 m_additionalAnalysesHasBeenSet = true;
208 m_additionalAnalyses = value;
209 }
212 return *this;
213 }
215
217
220 inline const Aws::Vector<Aws::String>& GetAllowedResultReceivers() const { return m_allowedResultReceivers; }
221 inline bool AllowedResultReceiversHasBeenSet() const { return m_allowedResultReceiversHasBeenSet; }
222 template <typename AllowedResultReceiversT = Aws::Vector<Aws::String>>
223 void SetAllowedResultReceivers(AllowedResultReceiversT&& value) {
224 m_allowedResultReceiversHasBeenSet = true;
225 m_allowedResultReceivers = std::forward<AllowedResultReceiversT>(value);
226 }
227 template <typename AllowedResultReceiversT = Aws::Vector<Aws::String>>
229 SetAllowedResultReceivers(std::forward<AllowedResultReceiversT>(value));
230 return *this;
231 }
232 template <typename AllowedResultReceiversT = Aws::String>
234 m_allowedResultReceiversHasBeenSet = true;
235 m_allowedResultReceivers.emplace_back(std::forward<AllowedResultReceiversT>(value));
236 return *this;
237 }
239
241
244 inline const Aws::Vector<Aws::String>& GetAllowedAdditionalAnalyses() const { return m_allowedAdditionalAnalyses; }
245 inline bool AllowedAdditionalAnalysesHasBeenSet() const { return m_allowedAdditionalAnalysesHasBeenSet; }
246 template <typename AllowedAdditionalAnalysesT = Aws::Vector<Aws::String>>
247 void SetAllowedAdditionalAnalyses(AllowedAdditionalAnalysesT&& value) {
248 m_allowedAdditionalAnalysesHasBeenSet = true;
249 m_allowedAdditionalAnalyses = std::forward<AllowedAdditionalAnalysesT>(value);
250 }
251 template <typename AllowedAdditionalAnalysesT = Aws::Vector<Aws::String>>
253 SetAllowedAdditionalAnalyses(std::forward<AllowedAdditionalAnalysesT>(value));
254 return *this;
255 }
256 template <typename AllowedAdditionalAnalysesT = Aws::String>
257 ConsolidatedPolicyAggregation& AddAllowedAdditionalAnalyses(AllowedAdditionalAnalysesT&& value) {
258 m_allowedAdditionalAnalysesHasBeenSet = true;
259 m_allowedAdditionalAnalyses.emplace_back(std::forward<AllowedAdditionalAnalysesT>(value));
260 return *this;
261 }
263 private:
264 Aws::Vector<AggregateColumn> m_aggregateColumns;
265
266 Aws::Vector<Aws::String> m_joinColumns;
267
269
270 Aws::Vector<JoinOperator> m_allowedJoinOperators;
271
272 Aws::Vector<Aws::String> m_dimensionColumns;
273
274 Aws::Vector<ScalarFunctions> m_scalarFunctions;
275
276 Aws::Vector<AggregationConstraint> m_outputConstraints;
277
279
280 Aws::Vector<Aws::String> m_allowedResultReceivers;
281
282 Aws::Vector<Aws::String> m_allowedAdditionalAnalyses;
283 bool m_aggregateColumnsHasBeenSet = false;
284 bool m_joinColumnsHasBeenSet = false;
285 bool m_joinRequiredHasBeenSet = false;
286 bool m_allowedJoinOperatorsHasBeenSet = false;
287 bool m_dimensionColumnsHasBeenSet = false;
288 bool m_scalarFunctionsHasBeenSet = false;
289 bool m_outputConstraintsHasBeenSet = false;
290 bool m_additionalAnalysesHasBeenSet = false;
291 bool m_allowedResultReceiversHasBeenSet = false;
292 bool m_allowedAdditionalAnalysesHasBeenSet = false;
293};
294
295} // namespace Model
296} // namespace CleanRooms
297} // namespace Aws
ConsolidatedPolicyAggregation & WithAllowedAdditionalAnalyses(AllowedAdditionalAnalysesT &&value)
const Aws::Vector< JoinOperator > & GetAllowedJoinOperators() const
ConsolidatedPolicyAggregation & AddAllowedAdditionalAnalyses(AllowedAdditionalAnalysesT &&value)
AWS_CLEANROOMS_API ConsolidatedPolicyAggregation()=default
ConsolidatedPolicyAggregation & AddOutputConstraints(OutputConstraintsT &&value)
const Aws::Vector< AggregationConstraint > & GetOutputConstraints() const
ConsolidatedPolicyAggregation & AddDimensionColumns(DimensionColumnsT &&value)
ConsolidatedPolicyAggregation & AddAllowedResultReceivers(AllowedResultReceiversT &&value)
const Aws::Vector< Aws::String > & GetAllowedResultReceivers() const
ConsolidatedPolicyAggregation & WithJoinRequired(JoinRequiredOption value)
const Aws::Vector< Aws::String > & GetDimensionColumns() const
ConsolidatedPolicyAggregation & WithAdditionalAnalyses(AdditionalAnalyses value)
ConsolidatedPolicyAggregation & WithOutputConstraints(OutputConstraintsT &&value)
ConsolidatedPolicyAggregation & WithScalarFunctions(ScalarFunctionsT &&value)
ConsolidatedPolicyAggregation & WithAllowedResultReceivers(AllowedResultReceiversT &&value)
ConsolidatedPolicyAggregation & WithAggregateColumns(AggregateColumnsT &&value)
ConsolidatedPolicyAggregation & WithJoinColumns(JoinColumnsT &&value)
ConsolidatedPolicyAggregation & AddAllowedJoinOperators(JoinOperator value)
ConsolidatedPolicyAggregation & AddJoinColumns(JoinColumnsT &&value)
ConsolidatedPolicyAggregation & AddScalarFunctions(ScalarFunctions value)
AWS_CLEANROOMS_API ConsolidatedPolicyAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API ConsolidatedPolicyAggregation(Aws::Utils::Json::JsonView jsonValue)
ConsolidatedPolicyAggregation & AddAggregateColumns(AggregateColumnsT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
ConsolidatedPolicyAggregation & WithAllowedJoinOperators(AllowedJoinOperatorsT &&value)
void SetAllowedAdditionalAnalyses(AllowedAdditionalAnalysesT &&value)
ConsolidatedPolicyAggregation & WithDimensionColumns(DimensionColumnsT &&value)
const Aws::Vector< Aws::String > & GetAllowedAdditionalAnalyses() const
const Aws::Vector< ScalarFunctions > & GetScalarFunctions() const
const Aws::Vector< AggregateColumn > & GetAggregateColumns() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue