AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisRuleAggregation.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cleanrooms/model/JoinRequiredOption.h>
10#include <aws/cleanrooms/model/AdditionalAnalyses.h>
11#include <aws/cleanrooms/model/AggregateColumn.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/cleanrooms/model/JoinOperator.h>
14#include <aws/cleanrooms/model/ScalarFunctions.h>
15#include <aws/cleanrooms/model/AggregationConstraint.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace CleanRooms
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_CLEANROOMS_API AnalysisRuleAggregation();
45 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::Vector<AggregateColumn>& GetAggregateColumns() const{ return m_aggregateColumns; }
53 inline bool AggregateColumnsHasBeenSet() const { return m_aggregateColumnsHasBeenSet; }
54 inline void SetAggregateColumns(const Aws::Vector<AggregateColumn>& value) { m_aggregateColumnsHasBeenSet = true; m_aggregateColumns = value; }
55 inline void SetAggregateColumns(Aws::Vector<AggregateColumn>&& value) { m_aggregateColumnsHasBeenSet = true; m_aggregateColumns = std::move(value); }
58 inline AnalysisRuleAggregation& AddAggregateColumns(const AggregateColumn& value) { m_aggregateColumnsHasBeenSet = true; m_aggregateColumns.push_back(value); return *this; }
59 inline AnalysisRuleAggregation& AddAggregateColumns(AggregateColumn&& value) { m_aggregateColumnsHasBeenSet = true; m_aggregateColumns.push_back(std::move(value)); return *this; }
61
63
67 inline const Aws::Vector<Aws::String>& GetJoinColumns() const{ return m_joinColumns; }
68 inline bool JoinColumnsHasBeenSet() const { return m_joinColumnsHasBeenSet; }
69 inline void SetJoinColumns(const Aws::Vector<Aws::String>& value) { m_joinColumnsHasBeenSet = true; m_joinColumns = value; }
70 inline void SetJoinColumns(Aws::Vector<Aws::String>&& value) { m_joinColumnsHasBeenSet = true; m_joinColumns = std::move(value); }
72 inline AnalysisRuleAggregation& WithJoinColumns(Aws::Vector<Aws::String>&& value) { SetJoinColumns(std::move(value)); return *this;}
73 inline AnalysisRuleAggregation& AddJoinColumns(const Aws::String& value) { m_joinColumnsHasBeenSet = true; m_joinColumns.push_back(value); return *this; }
74 inline AnalysisRuleAggregation& AddJoinColumns(Aws::String&& value) { m_joinColumnsHasBeenSet = true; m_joinColumns.push_back(std::move(value)); return *this; }
75 inline AnalysisRuleAggregation& AddJoinColumns(const char* value) { m_joinColumnsHasBeenSet = true; m_joinColumns.push_back(value); return *this; }
77
79
83 inline const JoinRequiredOption& GetJoinRequired() const{ return m_joinRequired; }
84 inline bool JoinRequiredHasBeenSet() const { return m_joinRequiredHasBeenSet; }
85 inline void SetJoinRequired(const JoinRequiredOption& value) { m_joinRequiredHasBeenSet = true; m_joinRequired = value; }
86 inline void SetJoinRequired(JoinRequiredOption&& value) { m_joinRequiredHasBeenSet = true; m_joinRequired = std::move(value); }
87 inline AnalysisRuleAggregation& WithJoinRequired(const JoinRequiredOption& value) { SetJoinRequired(value); return *this;}
88 inline AnalysisRuleAggregation& WithJoinRequired(JoinRequiredOption&& value) { SetJoinRequired(std::move(value)); return *this;}
90
92
96 inline const Aws::Vector<JoinOperator>& GetAllowedJoinOperators() const{ return m_allowedJoinOperators; }
97 inline bool AllowedJoinOperatorsHasBeenSet() const { return m_allowedJoinOperatorsHasBeenSet; }
98 inline void SetAllowedJoinOperators(const Aws::Vector<JoinOperator>& value) { m_allowedJoinOperatorsHasBeenSet = true; m_allowedJoinOperators = value; }
99 inline void SetAllowedJoinOperators(Aws::Vector<JoinOperator>&& value) { m_allowedJoinOperatorsHasBeenSet = true; m_allowedJoinOperators = std::move(value); }
102 inline AnalysisRuleAggregation& AddAllowedJoinOperators(const JoinOperator& value) { m_allowedJoinOperatorsHasBeenSet = true; m_allowedJoinOperators.push_back(value); return *this; }
103 inline AnalysisRuleAggregation& AddAllowedJoinOperators(JoinOperator&& value) { m_allowedJoinOperatorsHasBeenSet = true; m_allowedJoinOperators.push_back(std::move(value)); return *this; }
105
107
111 inline const Aws::Vector<Aws::String>& GetDimensionColumns() const{ return m_dimensionColumns; }
112 inline bool DimensionColumnsHasBeenSet() const { return m_dimensionColumnsHasBeenSet; }
113 inline void SetDimensionColumns(const Aws::Vector<Aws::String>& value) { m_dimensionColumnsHasBeenSet = true; m_dimensionColumns = value; }
114 inline void SetDimensionColumns(Aws::Vector<Aws::String>&& value) { m_dimensionColumnsHasBeenSet = true; m_dimensionColumns = std::move(value); }
117 inline AnalysisRuleAggregation& AddDimensionColumns(const Aws::String& value) { m_dimensionColumnsHasBeenSet = true; m_dimensionColumns.push_back(value); return *this; }
118 inline AnalysisRuleAggregation& AddDimensionColumns(Aws::String&& value) { m_dimensionColumnsHasBeenSet = true; m_dimensionColumns.push_back(std::move(value)); return *this; }
119 inline AnalysisRuleAggregation& AddDimensionColumns(const char* value) { m_dimensionColumnsHasBeenSet = true; m_dimensionColumns.push_back(value); return *this; }
121
123
127 inline const Aws::Vector<ScalarFunctions>& GetScalarFunctions() const{ return m_scalarFunctions; }
128 inline bool ScalarFunctionsHasBeenSet() const { return m_scalarFunctionsHasBeenSet; }
129 inline void SetScalarFunctions(const Aws::Vector<ScalarFunctions>& value) { m_scalarFunctionsHasBeenSet = true; m_scalarFunctions = value; }
130 inline void SetScalarFunctions(Aws::Vector<ScalarFunctions>&& value) { m_scalarFunctionsHasBeenSet = true; m_scalarFunctions = std::move(value); }
133 inline AnalysisRuleAggregation& AddScalarFunctions(const ScalarFunctions& value) { m_scalarFunctionsHasBeenSet = true; m_scalarFunctions.push_back(value); return *this; }
134 inline AnalysisRuleAggregation& AddScalarFunctions(ScalarFunctions&& value) { m_scalarFunctionsHasBeenSet = true; m_scalarFunctions.push_back(std::move(value)); return *this; }
136
138
142 inline const Aws::Vector<AggregationConstraint>& GetOutputConstraints() const{ return m_outputConstraints; }
143 inline bool OutputConstraintsHasBeenSet() const { return m_outputConstraintsHasBeenSet; }
144 inline void SetOutputConstraints(const Aws::Vector<AggregationConstraint>& value) { m_outputConstraintsHasBeenSet = true; m_outputConstraints = value; }
145 inline void SetOutputConstraints(Aws::Vector<AggregationConstraint>&& value) { m_outputConstraintsHasBeenSet = true; m_outputConstraints = std::move(value); }
148 inline AnalysisRuleAggregation& AddOutputConstraints(const AggregationConstraint& value) { m_outputConstraintsHasBeenSet = true; m_outputConstraints.push_back(value); return *this; }
149 inline AnalysisRuleAggregation& AddOutputConstraints(AggregationConstraint&& value) { m_outputConstraintsHasBeenSet = true; m_outputConstraints.push_back(std::move(value)); return *this; }
151
153
160 inline const AdditionalAnalyses& GetAdditionalAnalyses() const{ return m_additionalAnalyses; }
161 inline bool AdditionalAnalysesHasBeenSet() const { return m_additionalAnalysesHasBeenSet; }
162 inline void SetAdditionalAnalyses(const AdditionalAnalyses& value) { m_additionalAnalysesHasBeenSet = true; m_additionalAnalyses = value; }
163 inline void SetAdditionalAnalyses(AdditionalAnalyses&& value) { m_additionalAnalysesHasBeenSet = true; m_additionalAnalyses = std::move(value); }
167 private:
168
169 Aws::Vector<AggregateColumn> m_aggregateColumns;
170 bool m_aggregateColumnsHasBeenSet = false;
171
172 Aws::Vector<Aws::String> m_joinColumns;
173 bool m_joinColumnsHasBeenSet = false;
174
175 JoinRequiredOption m_joinRequired;
176 bool m_joinRequiredHasBeenSet = false;
177
178 Aws::Vector<JoinOperator> m_allowedJoinOperators;
179 bool m_allowedJoinOperatorsHasBeenSet = false;
180
181 Aws::Vector<Aws::String> m_dimensionColumns;
182 bool m_dimensionColumnsHasBeenSet = false;
183
184 Aws::Vector<ScalarFunctions> m_scalarFunctions;
185 bool m_scalarFunctionsHasBeenSet = false;
186
187 Aws::Vector<AggregationConstraint> m_outputConstraints;
188 bool m_outputConstraintsHasBeenSet = false;
189
190 AdditionalAnalyses m_additionalAnalyses;
191 bool m_additionalAnalysesHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace CleanRooms
196} // namespace Aws
void SetJoinColumns(Aws::Vector< Aws::String > &&value)
AnalysisRuleAggregation & WithDimensionColumns(const Aws::Vector< Aws::String > &value)
AnalysisRuleAggregation & AddAllowedJoinOperators(JoinOperator &&value)
AnalysisRuleAggregation & AddAggregateColumns(AggregateColumn &&value)
AnalysisRuleAggregation & WithJoinRequired(const JoinRequiredOption &value)
AnalysisRuleAggregation & AddDimensionColumns(Aws::String &&value)
AnalysisRuleAggregation & AddAggregateColumns(const AggregateColumn &value)
void SetAllowedJoinOperators(const Aws::Vector< JoinOperator > &value)
void SetScalarFunctions(const Aws::Vector< ScalarFunctions > &value)
const Aws::Vector< JoinOperator > & GetAllowedJoinOperators() const
AnalysisRuleAggregation & WithAggregateColumns(const Aws::Vector< AggregateColumn > &value)
void SetScalarFunctions(Aws::Vector< ScalarFunctions > &&value)
AnalysisRuleAggregation & WithAdditionalAnalyses(AdditionalAnalyses &&value)
AnalysisRuleAggregation & AddAllowedJoinOperators(const JoinOperator &value)
AnalysisRuleAggregation & WithDimensionColumns(Aws::Vector< Aws::String > &&value)
AnalysisRuleAggregation & WithScalarFunctions(const Aws::Vector< ScalarFunctions > &value)
const AdditionalAnalyses & GetAdditionalAnalyses() const
void SetDimensionColumns(Aws::Vector< Aws::String > &&value)
AnalysisRuleAggregation & AddOutputConstraints(AggregationConstraint &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API AnalysisRuleAggregation(Aws::Utils::Json::JsonView jsonValue)
AnalysisRuleAggregation & AddScalarFunctions(const ScalarFunctions &value)
void SetOutputConstraints(Aws::Vector< AggregationConstraint > &&value)
const Aws::Vector< Aws::String > & GetJoinColumns() const
void SetAggregateColumns(const Aws::Vector< AggregateColumn > &value)
void SetAllowedJoinOperators(Aws::Vector< JoinOperator > &&value)
AnalysisRuleAggregation & WithJoinRequired(JoinRequiredOption &&value)
AnalysisRuleAggregation & WithAllowedJoinOperators(const Aws::Vector< JoinOperator > &value)
AnalysisRuleAggregation & WithOutputConstraints(Aws::Vector< AggregationConstraint > &&value)
const Aws::Vector< AggregateColumn > & GetAggregateColumns() const
AnalysisRuleAggregation & AddJoinColumns(Aws::String &&value)
const Aws::Vector< Aws::String > & GetDimensionColumns() const
AnalysisRuleAggregation & WithAggregateColumns(Aws::Vector< AggregateColumn > &&value)
void SetDimensionColumns(const Aws::Vector< Aws::String > &value)
void SetJoinRequired(const JoinRequiredOption &value)
AnalysisRuleAggregation & WithOutputConstraints(const Aws::Vector< AggregationConstraint > &value)
AnalysisRuleAggregation & WithJoinColumns(Aws::Vector< Aws::String > &&value)
AWS_CLEANROOMS_API AnalysisRuleAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAdditionalAnalyses(const AdditionalAnalyses &value)
void SetAggregateColumns(Aws::Vector< AggregateColumn > &&value)
AnalysisRuleAggregation & WithScalarFunctions(Aws::Vector< ScalarFunctions > &&value)
AnalysisRuleAggregation & WithAllowedJoinOperators(Aws::Vector< JoinOperator > &&value)
AnalysisRuleAggregation & WithAdditionalAnalyses(const AdditionalAnalyses &value)
AnalysisRuleAggregation & AddJoinColumns(const char *value)
AnalysisRuleAggregation & WithJoinColumns(const Aws::Vector< Aws::String > &value)
AnalysisRuleAggregation & AddJoinColumns(const Aws::String &value)
AnalysisRuleAggregation & AddDimensionColumns(const char *value)
AnalysisRuleAggregation & AddDimensionColumns(const Aws::String &value)
const Aws::Vector< ScalarFunctions > & GetScalarFunctions() const
void SetJoinColumns(const Aws::Vector< Aws::String > &value)
const Aws::Vector< AggregationConstraint > & GetOutputConstraints() const
AnalysisRuleAggregation & AddScalarFunctions(ScalarFunctions &&value)
void SetOutputConstraints(const Aws::Vector< AggregationConstraint > &value)
AnalysisRuleAggregation & AddOutputConstraints(const AggregationConstraint &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue