AWS SDK for C++

AWS SDK for C++ Version 1.11.869

Loading...
Searching...
No Matches
IntermediateTable.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ChildResource.h>
9#include <aws/cleanrooms/model/IntermediateTableActiveVersion.h>
10#include <aws/cleanrooms/model/IntermediateTableAnalysisRuleType.h>
11#include <aws/cleanrooms/model/IntermediateTableDependency.h>
12#include <aws/cleanrooms/model/IntermediateTableSchema.h>
13#include <aws/cleanrooms/model/IntermediateTableStatus.h>
14#include <aws/cleanrooms/model/PopulationAnalysisConfiguration.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace CleanRooms {
29namespace Model {
30
39 public:
40 AWS_CLEANROOMS_API IntermediateTable() = default;
41 AWS_CLEANROOMS_API IntermediateTable(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
46
49 inline const Aws::String& GetId() const { return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 template <typename IdT = Aws::String>
52 void SetId(IdT&& value) {
53 m_idHasBeenSet = true;
54 m_id = std::forward<IdT>(value);
55 }
56 template <typename IdT = Aws::String>
57 IntermediateTable& WithId(IdT&& value) {
58 SetId(std::forward<IdT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetArn() const { return m_arn; }
68 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
69 template <typename ArnT = Aws::String>
70 void SetArn(ArnT&& value) {
71 m_arnHasBeenSet = true;
72 m_arn = std::forward<ArnT>(value);
73 }
74 template <typename ArnT = Aws::String>
75 IntermediateTable& WithArn(ArnT&& value) {
76 SetArn(std::forward<ArnT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetName() const { return m_name; }
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 template <typename NameT = Aws::String>
88 void SetName(NameT&& value) {
89 m_nameHasBeenSet = true;
90 m_name = std::forward<NameT>(value);
91 }
92 template <typename NameT = Aws::String>
93 IntermediateTable& WithName(NameT&& value) {
94 SetName(std::forward<NameT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetDescription() const { return m_description; }
104 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
105 template <typename DescriptionT = Aws::String>
106 void SetDescription(DescriptionT&& value) {
107 m_descriptionHasBeenSet = true;
108 m_description = std::forward<DescriptionT>(value);
109 }
110 template <typename DescriptionT = Aws::String>
111 IntermediateTable& WithDescription(DescriptionT&& value) {
112 SetDescription(std::forward<DescriptionT>(value));
113 return *this;
114 }
116
118
122 inline const Aws::String& GetMembershipArn() const { return m_membershipArn; }
123 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
124 template <typename MembershipArnT = Aws::String>
125 void SetMembershipArn(MembershipArnT&& value) {
126 m_membershipArnHasBeenSet = true;
127 m_membershipArn = std::forward<MembershipArnT>(value);
128 }
129 template <typename MembershipArnT = Aws::String>
130 IntermediateTable& WithMembershipArn(MembershipArnT&& value) {
131 SetMembershipArn(std::forward<MembershipArnT>(value));
132 return *this;
133 }
135
137
141 inline const Aws::String& GetMembershipId() const { return m_membershipId; }
142 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
143 template <typename MembershipIdT = Aws::String>
144 void SetMembershipId(MembershipIdT&& value) {
145 m_membershipIdHasBeenSet = true;
146 m_membershipId = std::forward<MembershipIdT>(value);
147 }
148 template <typename MembershipIdT = Aws::String>
149 IntermediateTable& WithMembershipId(MembershipIdT&& value) {
150 SetMembershipId(std::forward<MembershipIdT>(value));
151 return *this;
152 }
154
156
160 inline const Aws::String& GetCollaborationArn() const { return m_collaborationArn; }
161 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
162 template <typename CollaborationArnT = Aws::String>
163 void SetCollaborationArn(CollaborationArnT&& value) {
164 m_collaborationArnHasBeenSet = true;
165 m_collaborationArn = std::forward<CollaborationArnT>(value);
166 }
167 template <typename CollaborationArnT = Aws::String>
168 IntermediateTable& WithCollaborationArn(CollaborationArnT&& value) {
169 SetCollaborationArn(std::forward<CollaborationArnT>(value));
170 return *this;
171 }
173
175
179 inline const Aws::String& GetCollaborationId() const { return m_collaborationId; }
180 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
181 template <typename CollaborationIdT = Aws::String>
182 void SetCollaborationId(CollaborationIdT&& value) {
183 m_collaborationIdHasBeenSet = true;
184 m_collaborationId = std::forward<CollaborationIdT>(value);
185 }
186 template <typename CollaborationIdT = Aws::String>
187 IntermediateTable& WithCollaborationId(CollaborationIdT&& value) {
188 SetCollaborationId(std::forward<CollaborationIdT>(value));
189 return *this;
190 }
192
194
197 inline const Aws::Vector<ChildResource>& GetChildResources() const { return m_childResources; }
198 inline bool ChildResourcesHasBeenSet() const { return m_childResourcesHasBeenSet; }
199 template <typename ChildResourcesT = Aws::Vector<ChildResource>>
200 void SetChildResources(ChildResourcesT&& value) {
201 m_childResourcesHasBeenSet = true;
202 m_childResources = std::forward<ChildResourcesT>(value);
203 }
204 template <typename ChildResourcesT = Aws::Vector<ChildResource>>
205 IntermediateTable& WithChildResources(ChildResourcesT&& value) {
206 SetChildResources(std::forward<ChildResourcesT>(value));
207 return *this;
208 }
209 template <typename ChildResourcesT = ChildResource>
210 IntermediateTable& AddChildResources(ChildResourcesT&& value) {
211 m_childResourcesHasBeenSet = true;
212 m_childResources.emplace_back(std::forward<ChildResourcesT>(value));
213 return *this;
214 }
216
218
221 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
222 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
223 template <typename CreateTimeT = Aws::Utils::DateTime>
224 void SetCreateTime(CreateTimeT&& value) {
225 m_createTimeHasBeenSet = true;
226 m_createTime = std::forward<CreateTimeT>(value);
227 }
228 template <typename CreateTimeT = Aws::Utils::DateTime>
229 IntermediateTable& WithCreateTime(CreateTimeT&& value) {
230 SetCreateTime(std::forward<CreateTimeT>(value));
231 return *this;
232 }
234
236
239 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
240 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
241 template <typename UpdateTimeT = Aws::Utils::DateTime>
242 void SetUpdateTime(UpdateTimeT&& value) {
243 m_updateTimeHasBeenSet = true;
244 m_updateTime = std::forward<UpdateTimeT>(value);
245 }
246 template <typename UpdateTimeT = Aws::Utils::DateTime>
247 IntermediateTable& WithUpdateTime(UpdateTimeT&& value) {
248 SetUpdateTime(std::forward<UpdateTimeT>(value));
249 return *this;
250 }
252
254
257 inline IntermediateTableStatus GetStatus() const { return m_status; }
258 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
260 m_statusHasBeenSet = true;
261 m_status = value;
262 }
264 SetStatus(value);
265 return *this;
266 }
268
270
273 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
274 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
275 template <typename StatusReasonT = Aws::String>
276 void SetStatusReason(StatusReasonT&& value) {
277 m_statusReasonHasBeenSet = true;
278 m_statusReason = std::forward<StatusReasonT>(value);
279 }
280 template <typename StatusReasonT = Aws::String>
281 IntermediateTable& WithStatusReason(StatusReasonT&& value) {
282 SetStatusReason(std::forward<StatusReasonT>(value));
283 return *this;
284 }
286
288
292 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
293 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
294 template <typename KmsKeyArnT = Aws::String>
295 void SetKmsKeyArn(KmsKeyArnT&& value) {
296 m_kmsKeyArnHasBeenSet = true;
297 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
298 }
299 template <typename KmsKeyArnT = Aws::String>
300 IntermediateTable& WithKmsKeyArn(KmsKeyArnT&& value) {
301 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
302 return *this;
303 }
305
307
311 inline const PopulationAnalysisConfiguration& GetPopulationAnalysisConfiguration() const { return m_populationAnalysisConfiguration; }
312 inline bool PopulationAnalysisConfigurationHasBeenSet() const { return m_populationAnalysisConfigurationHasBeenSet; }
313 template <typename PopulationAnalysisConfigurationT = PopulationAnalysisConfiguration>
314 void SetPopulationAnalysisConfiguration(PopulationAnalysisConfigurationT&& value) {
315 m_populationAnalysisConfigurationHasBeenSet = true;
316 m_populationAnalysisConfiguration = std::forward<PopulationAnalysisConfigurationT>(value);
317 }
318 template <typename PopulationAnalysisConfigurationT = PopulationAnalysisConfiguration>
319 IntermediateTable& WithPopulationAnalysisConfiguration(PopulationAnalysisConfigurationT&& value) {
320 SetPopulationAnalysisConfiguration(std::forward<PopulationAnalysisConfigurationT>(value));
321 return *this;
322 }
324
326
329 inline int GetRetentionInDays() const { return m_retentionInDays; }
330 inline bool RetentionInDaysHasBeenSet() const { return m_retentionInDaysHasBeenSet; }
331 inline void SetRetentionInDays(int value) {
332 m_retentionInDaysHasBeenSet = true;
333 m_retentionInDays = value;
334 }
336 SetRetentionInDays(value);
337 return *this;
338 }
340
342
345 inline const Aws::Vector<IntermediateTableDependency>& GetTableDependencies() const { return m_tableDependencies; }
346 inline bool TableDependenciesHasBeenSet() const { return m_tableDependenciesHasBeenSet; }
347 template <typename TableDependenciesT = Aws::Vector<IntermediateTableDependency>>
348 void SetTableDependencies(TableDependenciesT&& value) {
349 m_tableDependenciesHasBeenSet = true;
350 m_tableDependencies = std::forward<TableDependenciesT>(value);
351 }
352 template <typename TableDependenciesT = Aws::Vector<IntermediateTableDependency>>
353 IntermediateTable& WithTableDependencies(TableDependenciesT&& value) {
354 SetTableDependencies(std::forward<TableDependenciesT>(value));
355 return *this;
356 }
357 template <typename TableDependenciesT = IntermediateTableDependency>
358 IntermediateTable& AddTableDependencies(TableDependenciesT&& value) {
359 m_tableDependenciesHasBeenSet = true;
360 m_tableDependencies.emplace_back(std::forward<TableDependenciesT>(value));
361 return *this;
362 }
364
366
369 inline const IntermediateTableActiveVersion& GetIntermediateTableVersion() const { return m_intermediateTableVersion; }
370 inline bool IntermediateTableVersionHasBeenSet() const { return m_intermediateTableVersionHasBeenSet; }
371 template <typename IntermediateTableVersionT = IntermediateTableActiveVersion>
372 void SetIntermediateTableVersion(IntermediateTableVersionT&& value) {
373 m_intermediateTableVersionHasBeenSet = true;
374 m_intermediateTableVersion = std::forward<IntermediateTableVersionT>(value);
375 }
376 template <typename IntermediateTableVersionT = IntermediateTableActiveVersion>
377 IntermediateTable& WithIntermediateTableVersion(IntermediateTableVersionT&& value) {
378 SetIntermediateTableVersion(std::forward<IntermediateTableVersionT>(value));
379 return *this;
380 }
382
384
387 inline const Aws::Vector<IntermediateTableAnalysisRuleType>& GetAnalysisRuleTypes() const { return m_analysisRuleTypes; }
388 inline bool AnalysisRuleTypesHasBeenSet() const { return m_analysisRuleTypesHasBeenSet; }
389 template <typename AnalysisRuleTypesT = Aws::Vector<IntermediateTableAnalysisRuleType>>
390 void SetAnalysisRuleTypes(AnalysisRuleTypesT&& value) {
391 m_analysisRuleTypesHasBeenSet = true;
392 m_analysisRuleTypes = std::forward<AnalysisRuleTypesT>(value);
393 }
394 template <typename AnalysisRuleTypesT = Aws::Vector<IntermediateTableAnalysisRuleType>>
395 IntermediateTable& WithAnalysisRuleTypes(AnalysisRuleTypesT&& value) {
396 SetAnalysisRuleTypes(std::forward<AnalysisRuleTypesT>(value));
397 return *this;
398 }
400 m_analysisRuleTypesHasBeenSet = true;
401 m_analysisRuleTypes.push_back(value);
402 return *this;
403 }
405
407
411 inline const IntermediateTableSchema& GetSchema() const { return m_schema; }
412 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
413 template <typename SchemaT = IntermediateTableSchema>
414 void SetSchema(SchemaT&& value) {
415 m_schemaHasBeenSet = true;
416 m_schema = std::forward<SchemaT>(value);
417 }
418 template <typename SchemaT = IntermediateTableSchema>
419 IntermediateTable& WithSchema(SchemaT&& value) {
420 SetSchema(std::forward<SchemaT>(value));
421 return *this;
422 }
424 private:
425 Aws::String m_id;
426
427 Aws::String m_arn;
428
429 Aws::String m_name;
430
431 Aws::String m_description;
432
433 Aws::String m_membershipArn;
434
435 Aws::String m_membershipId;
436
437 Aws::String m_collaborationArn;
438
439 Aws::String m_collaborationId;
440
441 Aws::Vector<ChildResource> m_childResources;
442
443 Aws::Utils::DateTime m_createTime{};
444
445 Aws::Utils::DateTime m_updateTime{};
446
448
449 Aws::String m_statusReason;
450
451 Aws::String m_kmsKeyArn;
452
453 PopulationAnalysisConfiguration m_populationAnalysisConfiguration;
454
455 int m_retentionInDays{0};
456
458
459 IntermediateTableActiveVersion m_intermediateTableVersion;
460
462
463 IntermediateTableSchema m_schema;
464 bool m_idHasBeenSet = false;
465 bool m_arnHasBeenSet = false;
466 bool m_nameHasBeenSet = false;
467 bool m_descriptionHasBeenSet = false;
468 bool m_membershipArnHasBeenSet = false;
469 bool m_membershipIdHasBeenSet = false;
470 bool m_collaborationArnHasBeenSet = false;
471 bool m_collaborationIdHasBeenSet = false;
472 bool m_childResourcesHasBeenSet = false;
473 bool m_createTimeHasBeenSet = false;
474 bool m_updateTimeHasBeenSet = false;
475 bool m_statusHasBeenSet = false;
476 bool m_statusReasonHasBeenSet = false;
477 bool m_kmsKeyArnHasBeenSet = false;
478 bool m_populationAnalysisConfigurationHasBeenSet = false;
479 bool m_retentionInDaysHasBeenSet = false;
480 bool m_tableDependenciesHasBeenSet = false;
481 bool m_intermediateTableVersionHasBeenSet = false;
482 bool m_analysisRuleTypesHasBeenSet = false;
483 bool m_schemaHasBeenSet = false;
484};
485
486} // namespace Model
487} // namespace CleanRooms
488} // namespace Aws
IntermediateTable & WithStatus(IntermediateTableStatus value)
IntermediateTable & WithTableDependencies(TableDependenciesT &&value)
const Aws::Vector< ChildResource > & GetChildResources() const
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCollaborationArn(CollaborationArnT &&value)
IntermediateTable & AddAnalysisRuleTypes(IntermediateTableAnalysisRuleType value)
const IntermediateTableActiveVersion & GetIntermediateTableVersion() const
void SetMembershipId(MembershipIdT &&value)
void SetPopulationAnalysisConfiguration(PopulationAnalysisConfigurationT &&value)
IntermediateTable & WithDescription(DescriptionT &&value)
void SetCollaborationId(CollaborationIdT &&value)
const Aws::Vector< IntermediateTableDependency > & GetTableDependencies() const
IntermediateTable & WithRetentionInDays(int value)
IntermediateTable & WithAnalysisRuleTypes(AnalysisRuleTypesT &&value)
IntermediateTable & WithPopulationAnalysisConfiguration(PopulationAnalysisConfigurationT &&value)
void SetStatus(IntermediateTableStatus value)
void SetTableDependencies(TableDependenciesT &&value)
IntermediateTableStatus GetStatus() const
IntermediateTable & WithMembershipId(MembershipIdT &&value)
IntermediateTable & WithId(IdT &&value)
IntermediateTable & WithMembershipArn(MembershipArnT &&value)
IntermediateTable & WithName(NameT &&value)
IntermediateTable & WithCollaborationArn(CollaborationArnT &&value)
IntermediateTable & AddChildResources(ChildResourcesT &&value)
const Aws::String & GetCollaborationArn() const
IntermediateTable & WithChildResources(ChildResourcesT &&value)
IntermediateTable & WithArn(ArnT &&value)
IntermediateTable & WithKmsKeyArn(KmsKeyArnT &&value)
IntermediateTable & WithCreateTime(CreateTimeT &&value)
void SetIntermediateTableVersion(IntermediateTableVersionT &&value)
IntermediateTable & WithUpdateTime(UpdateTimeT &&value)
const IntermediateTableSchema & GetSchema() const
AWS_CLEANROOMS_API IntermediateTable(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdateTime() const
IntermediateTable & WithStatusReason(StatusReasonT &&value)
IntermediateTable & WithSchema(SchemaT &&value)
const PopulationAnalysisConfiguration & GetPopulationAnalysisConfiguration() const
const Aws::Utils::DateTime & GetCreateTime() const
void SetMembershipArn(MembershipArnT &&value)
IntermediateTable & WithIntermediateTableVersion(IntermediateTableVersionT &&value)
const Aws::String & GetMembershipArn() const
void SetAnalysisRuleTypes(AnalysisRuleTypesT &&value)
void SetChildResources(ChildResourcesT &&value)
AWS_CLEANROOMS_API IntermediateTable & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API IntermediateTable()=default
IntermediateTable & AddTableDependencies(TableDependenciesT &&value)
const Aws::String & GetStatusReason() const
const Aws::Vector< IntermediateTableAnalysisRuleType > & GetAnalysisRuleTypes() const
const Aws::String & GetCollaborationId() const
void SetStatusReason(StatusReasonT &&value)
const Aws::String & GetMembershipId() const
IntermediateTable & WithCollaborationId(CollaborationIdT &&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