AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ConfiguredTable.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cleanrooms/model/TableReference.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/cleanrooms/model/AnalysisMethod.h>
13#include <aws/cleanrooms/model/ConfiguredTableAnalysisRuleType.h>
14#include <aws/cleanrooms/model/SelectedAnalysisMethod.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace CleanRooms
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_CLEANROOMS_API ConfiguredTable() = default;
42 AWS_CLEANROOMS_API ConfiguredTable(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetId() const { return m_id; }
52 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 template<typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
55 template<typename IdT = Aws::String>
56 ConfiguredTable& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
67 template<typename ArnT = Aws::String>
68 ConfiguredTable& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template<typename NameT = Aws::String>
78 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
79 template<typename NameT = Aws::String>
80 ConfiguredTable& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 template<typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
91 template<typename DescriptionT = Aws::String>
92 ConfiguredTable& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
94
96
99 inline const TableReference& GetTableReference() const { return m_tableReference; }
100 inline bool TableReferenceHasBeenSet() const { return m_tableReferenceHasBeenSet; }
101 template<typename TableReferenceT = TableReference>
102 void SetTableReference(TableReferenceT&& value) { m_tableReferenceHasBeenSet = true; m_tableReference = std::forward<TableReferenceT>(value); }
103 template<typename TableReferenceT = TableReference>
104 ConfiguredTable& WithTableReference(TableReferenceT&& value) { SetTableReference(std::forward<TableReferenceT>(value)); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
112 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
113 template<typename CreateTimeT = Aws::Utils::DateTime>
114 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
115 template<typename CreateTimeT = Aws::Utils::DateTime>
116 ConfiguredTable& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
124 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
125 template<typename UpdateTimeT = Aws::Utils::DateTime>
126 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
127 template<typename UpdateTimeT = Aws::Utils::DateTime>
128 ConfiguredTable& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
130
132
136 inline const Aws::Vector<ConfiguredTableAnalysisRuleType>& GetAnalysisRuleTypes() const { return m_analysisRuleTypes; }
137 inline bool AnalysisRuleTypesHasBeenSet() const { return m_analysisRuleTypesHasBeenSet; }
138 template<typename AnalysisRuleTypesT = Aws::Vector<ConfiguredTableAnalysisRuleType>>
139 void SetAnalysisRuleTypes(AnalysisRuleTypesT&& value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes = std::forward<AnalysisRuleTypesT>(value); }
140 template<typename AnalysisRuleTypesT = Aws::Vector<ConfiguredTableAnalysisRuleType>>
141 ConfiguredTable& WithAnalysisRuleTypes(AnalysisRuleTypesT&& value) { SetAnalysisRuleTypes(std::forward<AnalysisRuleTypesT>(value)); return *this;}
142 inline ConfiguredTable& AddAnalysisRuleTypes(ConfiguredTableAnalysisRuleType value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes.push_back(value); return *this; }
144
146
153 inline AnalysisMethod GetAnalysisMethod() const { return m_analysisMethod; }
154 inline bool AnalysisMethodHasBeenSet() const { return m_analysisMethodHasBeenSet; }
155 inline void SetAnalysisMethod(AnalysisMethod value) { m_analysisMethodHasBeenSet = true; m_analysisMethod = value; }
158
160
164 inline const Aws::Vector<Aws::String>& GetAllowedColumns() const { return m_allowedColumns; }
165 inline bool AllowedColumnsHasBeenSet() const { return m_allowedColumnsHasBeenSet; }
166 template<typename AllowedColumnsT = Aws::Vector<Aws::String>>
167 void SetAllowedColumns(AllowedColumnsT&& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns = std::forward<AllowedColumnsT>(value); }
168 template<typename AllowedColumnsT = Aws::Vector<Aws::String>>
169 ConfiguredTable& WithAllowedColumns(AllowedColumnsT&& value) { SetAllowedColumns(std::forward<AllowedColumnsT>(value)); return *this;}
170 template<typename AllowedColumnsT = Aws::String>
171 ConfiguredTable& AddAllowedColumns(AllowedColumnsT&& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns.emplace_back(std::forward<AllowedColumnsT>(value)); return *this; }
173
175
178 inline const Aws::Vector<SelectedAnalysisMethod>& GetSelectedAnalysisMethods() const { return m_selectedAnalysisMethods; }
179 inline bool SelectedAnalysisMethodsHasBeenSet() const { return m_selectedAnalysisMethodsHasBeenSet; }
180 template<typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
181 void SetSelectedAnalysisMethods(SelectedAnalysisMethodsT&& value) { m_selectedAnalysisMethodsHasBeenSet = true; m_selectedAnalysisMethods = std::forward<SelectedAnalysisMethodsT>(value); }
182 template<typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
183 ConfiguredTable& WithSelectedAnalysisMethods(SelectedAnalysisMethodsT&& value) { SetSelectedAnalysisMethods(std::forward<SelectedAnalysisMethodsT>(value)); return *this;}
184 inline ConfiguredTable& AddSelectedAnalysisMethods(SelectedAnalysisMethod value) { m_selectedAnalysisMethodsHasBeenSet = true; m_selectedAnalysisMethods.push_back(value); return *this; }
186 private:
187
188 Aws::String m_id;
189 bool m_idHasBeenSet = false;
190
191 Aws::String m_arn;
192 bool m_arnHasBeenSet = false;
193
194 Aws::String m_name;
195 bool m_nameHasBeenSet = false;
196
197 Aws::String m_description;
198 bool m_descriptionHasBeenSet = false;
199
200 TableReference m_tableReference;
201 bool m_tableReferenceHasBeenSet = false;
202
203 Aws::Utils::DateTime m_createTime{};
204 bool m_createTimeHasBeenSet = false;
205
206 Aws::Utils::DateTime m_updateTime{};
207 bool m_updateTimeHasBeenSet = false;
208
210 bool m_analysisRuleTypesHasBeenSet = false;
211
212 AnalysisMethod m_analysisMethod{AnalysisMethod::NOT_SET};
213 bool m_analysisMethodHasBeenSet = false;
214
215 Aws::Vector<Aws::String> m_allowedColumns;
216 bool m_allowedColumnsHasBeenSet = false;
217
218 Aws::Vector<SelectedAnalysisMethod> m_selectedAnalysisMethods;
219 bool m_selectedAnalysisMethodsHasBeenSet = false;
220 };
221
222} // namespace Model
223} // namespace CleanRooms
224} // 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