AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ConfiguredTable.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/AnalysisMethod.h>
9#include <aws/cleanrooms/model/ConfiguredTableAnalysisRuleType.h>
10#include <aws/cleanrooms/model/SelectedAnalysisMethod.h>
11#include <aws/cleanrooms/model/TableReference.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace CleanRooms {
26namespace Model {
27
35 public:
36 AWS_CLEANROOMS_API ConfiguredTable() = default;
37 AWS_CLEANROOMS_API ConfiguredTable(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template <typename IdT = Aws::String>
48 void SetId(IdT&& value) {
49 m_idHasBeenSet = true;
50 m_id = std::forward<IdT>(value);
51 }
52 template <typename IdT = Aws::String>
53 ConfiguredTable& WithId(IdT&& value) {
54 SetId(std::forward<IdT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetArn() const { return m_arn; }
64 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
65 template <typename ArnT = Aws::String>
66 void SetArn(ArnT&& value) {
67 m_arnHasBeenSet = true;
68 m_arn = std::forward<ArnT>(value);
69 }
70 template <typename ArnT = Aws::String>
71 ConfiguredTable& WithArn(ArnT&& value) {
72 SetArn(std::forward<ArnT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetName() const { return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 template <typename NameT = Aws::String>
84 void SetName(NameT&& value) {
85 m_nameHasBeenSet = true;
86 m_name = std::forward<NameT>(value);
87 }
88 template <typename NameT = Aws::String>
89 ConfiguredTable& WithName(NameT&& value) {
90 SetName(std::forward<NameT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetDescription() const { return m_description; }
100 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
101 template <typename DescriptionT = Aws::String>
102 void SetDescription(DescriptionT&& value) {
103 m_descriptionHasBeenSet = true;
104 m_description = std::forward<DescriptionT>(value);
105 }
106 template <typename DescriptionT = Aws::String>
107 ConfiguredTable& WithDescription(DescriptionT&& value) {
108 SetDescription(std::forward<DescriptionT>(value));
109 return *this;
110 }
112
114
117 inline const TableReference& GetTableReference() const { return m_tableReference; }
118 inline bool TableReferenceHasBeenSet() const { return m_tableReferenceHasBeenSet; }
119 template <typename TableReferenceT = TableReference>
120 void SetTableReference(TableReferenceT&& value) {
121 m_tableReferenceHasBeenSet = true;
122 m_tableReference = std::forward<TableReferenceT>(value);
123 }
124 template <typename TableReferenceT = TableReference>
125 ConfiguredTable& WithTableReference(TableReferenceT&& value) {
126 SetTableReference(std::forward<TableReferenceT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
136 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
137 template <typename CreateTimeT = Aws::Utils::DateTime>
138 void SetCreateTime(CreateTimeT&& value) {
139 m_createTimeHasBeenSet = true;
140 m_createTime = std::forward<CreateTimeT>(value);
141 }
142 template <typename CreateTimeT = Aws::Utils::DateTime>
143 ConfiguredTable& WithCreateTime(CreateTimeT&& value) {
144 SetCreateTime(std::forward<CreateTimeT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
154 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
155 template <typename UpdateTimeT = Aws::Utils::DateTime>
156 void SetUpdateTime(UpdateTimeT&& value) {
157 m_updateTimeHasBeenSet = true;
158 m_updateTime = std::forward<UpdateTimeT>(value);
159 }
160 template <typename UpdateTimeT = Aws::Utils::DateTime>
161 ConfiguredTable& WithUpdateTime(UpdateTimeT&& value) {
162 SetUpdateTime(std::forward<UpdateTimeT>(value));
163 return *this;
164 }
166
168
172 inline const Aws::Vector<ConfiguredTableAnalysisRuleType>& GetAnalysisRuleTypes() const { return m_analysisRuleTypes; }
173 inline bool AnalysisRuleTypesHasBeenSet() const { return m_analysisRuleTypesHasBeenSet; }
174 template <typename AnalysisRuleTypesT = Aws::Vector<ConfiguredTableAnalysisRuleType>>
175 void SetAnalysisRuleTypes(AnalysisRuleTypesT&& value) {
176 m_analysisRuleTypesHasBeenSet = true;
177 m_analysisRuleTypes = std::forward<AnalysisRuleTypesT>(value);
178 }
179 template <typename AnalysisRuleTypesT = Aws::Vector<ConfiguredTableAnalysisRuleType>>
180 ConfiguredTable& WithAnalysisRuleTypes(AnalysisRuleTypesT&& value) {
181 SetAnalysisRuleTypes(std::forward<AnalysisRuleTypesT>(value));
182 return *this;
183 }
185 m_analysisRuleTypesHasBeenSet = true;
186 m_analysisRuleTypes.push_back(value);
187 return *this;
188 }
190
192
199 inline AnalysisMethod GetAnalysisMethod() const { return m_analysisMethod; }
200 inline bool AnalysisMethodHasBeenSet() const { return m_analysisMethodHasBeenSet; }
202 m_analysisMethodHasBeenSet = true;
203 m_analysisMethod = value;
204 }
206 SetAnalysisMethod(value);
207 return *this;
208 }
210
212
216 inline const Aws::Vector<Aws::String>& GetAllowedColumns() const { return m_allowedColumns; }
217 inline bool AllowedColumnsHasBeenSet() const { return m_allowedColumnsHasBeenSet; }
218 template <typename AllowedColumnsT = Aws::Vector<Aws::String>>
219 void SetAllowedColumns(AllowedColumnsT&& value) {
220 m_allowedColumnsHasBeenSet = true;
221 m_allowedColumns = std::forward<AllowedColumnsT>(value);
222 }
223 template <typename AllowedColumnsT = Aws::Vector<Aws::String>>
224 ConfiguredTable& WithAllowedColumns(AllowedColumnsT&& value) {
225 SetAllowedColumns(std::forward<AllowedColumnsT>(value));
226 return *this;
227 }
228 template <typename AllowedColumnsT = Aws::String>
229 ConfiguredTable& AddAllowedColumns(AllowedColumnsT&& value) {
230 m_allowedColumnsHasBeenSet = true;
231 m_allowedColumns.emplace_back(std::forward<AllowedColumnsT>(value));
232 return *this;
233 }
235
237
240 inline const Aws::Vector<SelectedAnalysisMethod>& GetSelectedAnalysisMethods() const { return m_selectedAnalysisMethods; }
241 inline bool SelectedAnalysisMethodsHasBeenSet() const { return m_selectedAnalysisMethodsHasBeenSet; }
242 template <typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
243 void SetSelectedAnalysisMethods(SelectedAnalysisMethodsT&& value) {
244 m_selectedAnalysisMethodsHasBeenSet = true;
245 m_selectedAnalysisMethods = std::forward<SelectedAnalysisMethodsT>(value);
246 }
247 template <typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
248 ConfiguredTable& WithSelectedAnalysisMethods(SelectedAnalysisMethodsT&& value) {
249 SetSelectedAnalysisMethods(std::forward<SelectedAnalysisMethodsT>(value));
250 return *this;
251 }
253 m_selectedAnalysisMethodsHasBeenSet = true;
254 m_selectedAnalysisMethods.push_back(value);
255 return *this;
256 }
258 private:
259 Aws::String m_id;
260
261 Aws::String m_arn;
262
263 Aws::String m_name;
264
265 Aws::String m_description;
266
267 TableReference m_tableReference;
268
269 Aws::Utils::DateTime m_createTime{};
270
271 Aws::Utils::DateTime m_updateTime{};
272
274
275 AnalysisMethod m_analysisMethod{AnalysisMethod::NOT_SET};
276
277 Aws::Vector<Aws::String> m_allowedColumns;
278
279 Aws::Vector<SelectedAnalysisMethod> m_selectedAnalysisMethods;
280 bool m_idHasBeenSet = false;
281 bool m_arnHasBeenSet = false;
282 bool m_nameHasBeenSet = false;
283 bool m_descriptionHasBeenSet = false;
284 bool m_tableReferenceHasBeenSet = false;
285 bool m_createTimeHasBeenSet = false;
286 bool m_updateTimeHasBeenSet = false;
287 bool m_analysisRuleTypesHasBeenSet = false;
288 bool m_analysisMethodHasBeenSet = false;
289 bool m_allowedColumnsHasBeenSet = false;
290 bool m_selectedAnalysisMethodsHasBeenSet = false;
291};
292
293} // namespace Model
294} // namespace CleanRooms
295} // namespace Aws
const Aws::Vector< ConfiguredTableAnalysisRuleType > & GetAnalysisRuleTypes() const
void SetUpdateTime(UpdateTimeT &&value)
ConfiguredTable & WithDescription(DescriptionT &&value)
ConfiguredTable & AddAnalysisRuleTypes(ConfiguredTableAnalysisRuleType value)
const Aws::String & GetName() const
ConfiguredTable & WithSelectedAnalysisMethods(SelectedAnalysisMethodsT &&value)
void SetSelectedAnalysisMethods(SelectedAnalysisMethodsT &&value)
void SetAllowedColumns(AllowedColumnsT &&value)
const Aws::Vector< SelectedAnalysisMethod > & GetSelectedAnalysisMethods() const
ConfiguredTable & WithAnalysisMethod(AnalysisMethod value)
const Aws::Utils::DateTime & GetCreateTime() const
ConfiguredTable & WithArn(ArnT &&value)
void SetAnalysisMethod(AnalysisMethod value)
ConfiguredTable & WithAnalysisRuleTypes(AnalysisRuleTypesT &&value)
ConfiguredTable & WithName(NameT &&value)
const Aws::Vector< Aws::String > & GetAllowedColumns() const
ConfiguredTable & AddAllowedColumns(AllowedColumnsT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
ConfiguredTable & WithUpdateTime(UpdateTimeT &&value)
ConfiguredTable & WithCreateTime(CreateTimeT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
void SetDescription(DescriptionT &&value)
AWS_CLEANROOMS_API ConfiguredTable(Aws::Utils::Json::JsonView jsonValue)
ConfiguredTable & WithTableReference(TableReferenceT &&value)
ConfiguredTable & WithId(IdT &&value)
const Aws::String & GetDescription() const
void SetTableReference(TableReferenceT &&value)
void SetAnalysisRuleTypes(AnalysisRuleTypesT &&value)
const Aws::String & GetId() const
ConfiguredTable & WithAllowedColumns(AllowedColumnsT &&value)
const Aws::String & GetArn() const
const TableReference & GetTableReference() const
AWS_CLEANROOMS_API ConfiguredTable()=default
ConfiguredTable & AddSelectedAnalysisMethods(SelectedAnalysisMethod value)
void SetCreateTime(CreateTimeT &&value)
AWS_CLEANROOMS_API ConfiguredTable & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue