AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace CleanRooms
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_CLEANROOMS_API ConfiguredTable();
41 AWS_CLEANROOMS_API ConfiguredTable(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetId() const{ return m_id; }
51 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
54 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
55 inline ConfiguredTable& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline ConfiguredTable& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline ConfiguredTable& WithId(const char* value) { SetId(value); return *this;}
59
61
64 inline const Aws::String& GetArn() const{ return m_arn; }
65 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
66 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
67 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
68 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
69 inline ConfiguredTable& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 inline ConfiguredTable& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
71 inline ConfiguredTable& WithArn(const char* value) { SetArn(value); return *this;}
73
75
78 inline const Aws::String& GetName() const{ return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
81 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
82 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
83 inline ConfiguredTable& WithName(const Aws::String& value) { SetName(value); return *this;}
84 inline ConfiguredTable& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 inline ConfiguredTable& WithName(const char* value) { SetName(value); return *this;}
87
89
92 inline const Aws::String& GetDescription() const{ return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
96 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
97 inline ConfiguredTable& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
98 inline ConfiguredTable& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
99 inline ConfiguredTable& WithDescription(const char* value) { SetDescription(value); return *this;}
101
103
106 inline const TableReference& GetTableReference() const{ return m_tableReference; }
107 inline bool TableReferenceHasBeenSet() const { return m_tableReferenceHasBeenSet; }
108 inline void SetTableReference(const TableReference& value) { m_tableReferenceHasBeenSet = true; m_tableReference = value; }
109 inline void SetTableReference(TableReference&& value) { m_tableReferenceHasBeenSet = true; m_tableReference = std::move(value); }
110 inline ConfiguredTable& WithTableReference(const TableReference& value) { SetTableReference(value); return *this;}
111 inline ConfiguredTable& WithTableReference(TableReference&& value) { SetTableReference(std::move(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
119 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
120 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
121 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
122 inline ConfiguredTable& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
123 inline ConfiguredTable& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
131 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
132 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
133 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
134 inline ConfiguredTable& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
135 inline ConfiguredTable& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
137
139
143 inline const Aws::Vector<ConfiguredTableAnalysisRuleType>& GetAnalysisRuleTypes() const{ return m_analysisRuleTypes; }
144 inline bool AnalysisRuleTypesHasBeenSet() const { return m_analysisRuleTypesHasBeenSet; }
145 inline void SetAnalysisRuleTypes(const Aws::Vector<ConfiguredTableAnalysisRuleType>& value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes = value; }
146 inline void SetAnalysisRuleTypes(Aws::Vector<ConfiguredTableAnalysisRuleType>&& value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes = std::move(value); }
149 inline ConfiguredTable& AddAnalysisRuleTypes(const ConfiguredTableAnalysisRuleType& value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes.push_back(value); return *this; }
150 inline ConfiguredTable& AddAnalysisRuleTypes(ConfiguredTableAnalysisRuleType&& value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes.push_back(std::move(value)); return *this; }
152
154
158 inline const AnalysisMethod& GetAnalysisMethod() const{ return m_analysisMethod; }
159 inline bool AnalysisMethodHasBeenSet() const { return m_analysisMethodHasBeenSet; }
160 inline void SetAnalysisMethod(const AnalysisMethod& value) { m_analysisMethodHasBeenSet = true; m_analysisMethod = value; }
161 inline void SetAnalysisMethod(AnalysisMethod&& value) { m_analysisMethodHasBeenSet = true; m_analysisMethod = std::move(value); }
162 inline ConfiguredTable& WithAnalysisMethod(const AnalysisMethod& value) { SetAnalysisMethod(value); return *this;}
163 inline ConfiguredTable& WithAnalysisMethod(AnalysisMethod&& value) { SetAnalysisMethod(std::move(value)); return *this;}
165
167
171 inline const Aws::Vector<Aws::String>& GetAllowedColumns() const{ return m_allowedColumns; }
172 inline bool AllowedColumnsHasBeenSet() const { return m_allowedColumnsHasBeenSet; }
173 inline void SetAllowedColumns(const Aws::Vector<Aws::String>& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns = value; }
174 inline void SetAllowedColumns(Aws::Vector<Aws::String>&& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns = std::move(value); }
176 inline ConfiguredTable& WithAllowedColumns(Aws::Vector<Aws::String>&& value) { SetAllowedColumns(std::move(value)); return *this;}
177 inline ConfiguredTable& AddAllowedColumns(const Aws::String& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns.push_back(value); return *this; }
178 inline ConfiguredTable& AddAllowedColumns(Aws::String&& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns.push_back(std::move(value)); return *this; }
179 inline ConfiguredTable& AddAllowedColumns(const char* value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns.push_back(value); return *this; }
181 private:
182
183 Aws::String m_id;
184 bool m_idHasBeenSet = false;
185
186 Aws::String m_arn;
187 bool m_arnHasBeenSet = false;
188
189 Aws::String m_name;
190 bool m_nameHasBeenSet = false;
191
192 Aws::String m_description;
193 bool m_descriptionHasBeenSet = false;
194
195 TableReference m_tableReference;
196 bool m_tableReferenceHasBeenSet = false;
197
198 Aws::Utils::DateTime m_createTime;
199 bool m_createTimeHasBeenSet = false;
200
201 Aws::Utils::DateTime m_updateTime;
202 bool m_updateTimeHasBeenSet = false;
203
205 bool m_analysisRuleTypesHasBeenSet = false;
206
207 AnalysisMethod m_analysisMethod;
208 bool m_analysisMethodHasBeenSet = false;
209
210 Aws::Vector<Aws::String> m_allowedColumns;
211 bool m_allowedColumnsHasBeenSet = false;
212 };
213
214} // namespace Model
215} // namespace CleanRooms
216} // namespace Aws
void SetAnalysisRuleTypes(Aws::Vector< ConfiguredTableAnalysisRuleType > &&value)
ConfiguredTable & WithDescription(const Aws::String &value)
ConfiguredTable & AddAllowedColumns(Aws::String &&value)
const Aws::Vector< ConfiguredTableAnalysisRuleType > & GetAnalysisRuleTypes() const
void SetUpdateTime(Aws::Utils::DateTime &&value)
ConfiguredTable & WithDescription(const char *value)
ConfiguredTable & WithTableReference(const TableReference &value)
void SetAnalysisMethod(const AnalysisMethod &value)
ConfiguredTable & WithAllowedColumns(const Aws::Vector< Aws::String > &value)
void SetTableReference(const TableReference &value)
ConfiguredTable & WithUpdateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
void SetArn(const Aws::String &value)
const AnalysisMethod & GetAnalysisMethod() const
const Aws::Utils::DateTime & GetCreateTime() const
ConfiguredTable & WithId(const char *value)
void SetAnalysisRuleTypes(const Aws::Vector< ConfiguredTableAnalysisRuleType > &value)
ConfiguredTable & WithArn(const char *value)
ConfiguredTable & WithId(const Aws::String &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetAllowedColumns() const
ConfiguredTable & WithAllowedColumns(Aws::Vector< Aws::String > &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
ConfiguredTable & WithId(Aws::String &&value)
ConfiguredTable & WithArn(Aws::String &&value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdateTime() const
ConfiguredTable & WithCreateTime(Aws::Utils::DateTime &&value)
AWS_CLEANROOMS_API ConfiguredTable(Aws::Utils::Json::JsonView jsonValue)
ConfiguredTable & WithAnalysisMethod(const AnalysisMethod &value)
ConfiguredTable & WithDescription(Aws::String &&value)
ConfiguredTable & WithTableReference(TableReference &&value)
void SetId(const Aws::String &value)
void SetDescription(const Aws::String &value)
const Aws::String & GetDescription() const
ConfiguredTable & AddAnalysisRuleTypes(ConfiguredTableAnalysisRuleType &&value)
void SetAllowedColumns(const Aws::Vector< Aws::String > &value)
ConfiguredTable & WithName(Aws::String &&value)
ConfiguredTable & WithAnalysisRuleTypes(const Aws::Vector< ConfiguredTableAnalysisRuleType > &value)
const Aws::String & GetId() const
ConfiguredTable & AddAllowedColumns(const char *value)
const Aws::String & GetArn() const
void SetCreateTime(const Aws::Utils::DateTime &value)
ConfiguredTable & WithUpdateTime(const Aws::Utils::DateTime &value)
const TableReference & GetTableReference() const
ConfiguredTable & WithAnalysisMethod(AnalysisMethod &&value)
void SetTableReference(TableReference &&value)
void SetDescription(Aws::String &&value)
ConfiguredTable & WithName(const char *value)
ConfiguredTable & AddAllowedColumns(const Aws::String &value)
void SetAnalysisMethod(AnalysisMethod &&value)
ConfiguredTable & AddAnalysisRuleTypes(const ConfiguredTableAnalysisRuleType &value)
ConfiguredTable & WithArn(const Aws::String &value)
ConfiguredTable & WithName(const Aws::String &value)
ConfiguredTable & WithAnalysisRuleTypes(Aws::Vector< ConfiguredTableAnalysisRuleType > &&value)
void SetAllowedColumns(Aws::Vector< Aws::String > &&value)
AWS_CLEANROOMS_API ConfiguredTable & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfiguredTable & WithCreateTime(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &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