AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ConfiguredTableAssociation.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ConfiguredTableAssociationAnalysisRuleType.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CleanRooms {
23namespace Model {
24
32 public:
33 AWS_CLEANROOMS_API ConfiguredTableAssociation() = default;
36 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
44 template <typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) {
46 m_arnHasBeenSet = true;
47 m_arn = std::forward<ArnT>(value);
48 }
49 template <typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetId() const { return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 template <typename IdT = Aws::String>
63 void SetId(IdT&& value) {
64 m_idHasBeenSet = true;
65 m_id = std::forward<IdT>(value);
66 }
67 template <typename IdT = Aws::String>
69 SetId(std::forward<IdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetConfiguredTableId() const { return m_configuredTableId; }
79 inline bool ConfiguredTableIdHasBeenSet() const { return m_configuredTableIdHasBeenSet; }
80 template <typename ConfiguredTableIdT = Aws::String>
81 void SetConfiguredTableId(ConfiguredTableIdT&& value) {
82 m_configuredTableIdHasBeenSet = true;
83 m_configuredTableId = std::forward<ConfiguredTableIdT>(value);
84 }
85 template <typename ConfiguredTableIdT = Aws::String>
87 SetConfiguredTableId(std::forward<ConfiguredTableIdT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetConfiguredTableArn() const { return m_configuredTableArn; }
97 inline bool ConfiguredTableArnHasBeenSet() const { return m_configuredTableArnHasBeenSet; }
98 template <typename ConfiguredTableArnT = Aws::String>
99 void SetConfiguredTableArn(ConfiguredTableArnT&& value) {
100 m_configuredTableArnHasBeenSet = true;
101 m_configuredTableArn = std::forward<ConfiguredTableArnT>(value);
102 }
103 template <typename ConfiguredTableArnT = Aws::String>
105 SetConfiguredTableArn(std::forward<ConfiguredTableArnT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::String& GetMembershipId() const { return m_membershipId; }
116 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
117 template <typename MembershipIdT = Aws::String>
118 void SetMembershipId(MembershipIdT&& value) {
119 m_membershipIdHasBeenSet = true;
120 m_membershipId = std::forward<MembershipIdT>(value);
121 }
122 template <typename MembershipIdT = Aws::String>
124 SetMembershipId(std::forward<MembershipIdT>(value));
125 return *this;
126 }
128
130
134 inline const Aws::String& GetMembershipArn() const { return m_membershipArn; }
135 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
136 template <typename MembershipArnT = Aws::String>
137 void SetMembershipArn(MembershipArnT&& value) {
138 m_membershipArnHasBeenSet = true;
139 m_membershipArn = std::forward<MembershipArnT>(value);
140 }
141 template <typename MembershipArnT = Aws::String>
143 SetMembershipArn(std::forward<MembershipArnT>(value));
144 return *this;
145 }
147
149
153 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
154 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
155 template <typename RoleArnT = Aws::String>
156 void SetRoleArn(RoleArnT&& value) {
157 m_roleArnHasBeenSet = true;
158 m_roleArn = std::forward<RoleArnT>(value);
159 }
160 template <typename RoleArnT = Aws::String>
162 SetRoleArn(std::forward<RoleArnT>(value));
163 return *this;
164 }
166
168
173 inline const Aws::String& GetName() const { return m_name; }
174 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
175 template <typename NameT = Aws::String>
176 void SetName(NameT&& value) {
177 m_nameHasBeenSet = true;
178 m_name = std::forward<NameT>(value);
179 }
180 template <typename NameT = Aws::String>
182 SetName(std::forward<NameT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::String& GetDescription() const { return m_description; }
192 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
193 template <typename DescriptionT = Aws::String>
194 void SetDescription(DescriptionT&& value) {
195 m_descriptionHasBeenSet = true;
196 m_description = std::forward<DescriptionT>(value);
197 }
198 template <typename DescriptionT = Aws::String>
200 SetDescription(std::forward<DescriptionT>(value));
201 return *this;
202 }
204
206
209 inline const Aws::Vector<ConfiguredTableAssociationAnalysisRuleType>& GetAnalysisRuleTypes() const { return m_analysisRuleTypes; }
210 inline bool AnalysisRuleTypesHasBeenSet() const { return m_analysisRuleTypesHasBeenSet; }
211 template <typename AnalysisRuleTypesT = Aws::Vector<ConfiguredTableAssociationAnalysisRuleType>>
212 void SetAnalysisRuleTypes(AnalysisRuleTypesT&& value) {
213 m_analysisRuleTypesHasBeenSet = true;
214 m_analysisRuleTypes = std::forward<AnalysisRuleTypesT>(value);
215 }
216 template <typename AnalysisRuleTypesT = Aws::Vector<ConfiguredTableAssociationAnalysisRuleType>>
218 SetAnalysisRuleTypes(std::forward<AnalysisRuleTypesT>(value));
219 return *this;
220 }
222 m_analysisRuleTypesHasBeenSet = true;
223 m_analysisRuleTypes.push_back(value);
224 return *this;
225 }
227
229
232 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
233 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
234 template <typename CreateTimeT = Aws::Utils::DateTime>
235 void SetCreateTime(CreateTimeT&& value) {
236 m_createTimeHasBeenSet = true;
237 m_createTime = std::forward<CreateTimeT>(value);
238 }
239 template <typename CreateTimeT = Aws::Utils::DateTime>
241 SetCreateTime(std::forward<CreateTimeT>(value));
242 return *this;
243 }
245
247
250 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
251 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
252 template <typename UpdateTimeT = Aws::Utils::DateTime>
253 void SetUpdateTime(UpdateTimeT&& value) {
254 m_updateTimeHasBeenSet = true;
255 m_updateTime = std::forward<UpdateTimeT>(value);
256 }
257 template <typename UpdateTimeT = Aws::Utils::DateTime>
259 SetUpdateTime(std::forward<UpdateTimeT>(value));
260 return *this;
261 }
263 private:
264 Aws::String m_arn;
265
266 Aws::String m_id;
267
268 Aws::String m_configuredTableId;
269
270 Aws::String m_configuredTableArn;
271
272 Aws::String m_membershipId;
273
274 Aws::String m_membershipArn;
275
276 Aws::String m_roleArn;
277
278 Aws::String m_name;
279
280 Aws::String m_description;
281
283
284 Aws::Utils::DateTime m_createTime{};
285
286 Aws::Utils::DateTime m_updateTime{};
287 bool m_arnHasBeenSet = false;
288 bool m_idHasBeenSet = false;
289 bool m_configuredTableIdHasBeenSet = false;
290 bool m_configuredTableArnHasBeenSet = false;
291 bool m_membershipIdHasBeenSet = false;
292 bool m_membershipArnHasBeenSet = false;
293 bool m_roleArnHasBeenSet = false;
294 bool m_nameHasBeenSet = false;
295 bool m_descriptionHasBeenSet = false;
296 bool m_analysisRuleTypesHasBeenSet = false;
297 bool m_createTimeHasBeenSet = false;
298 bool m_updateTimeHasBeenSet = false;
299};
300
301} // namespace Model
302} // namespace CleanRooms
303} // namespace Aws
AWS_CLEANROOMS_API ConfiguredTableAssociation(Aws::Utils::Json::JsonView jsonValue)
ConfiguredTableAssociation & WithRoleArn(RoleArnT &&value)
AWS_CLEANROOMS_API ConfiguredTableAssociation()=default
ConfiguredTableAssociation & WithDescription(DescriptionT &&value)
AWS_CLEANROOMS_API ConfiguredTableAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfiguredTableAssociation & WithArn(ArnT &&value)
ConfiguredTableAssociation & WithCreateTime(CreateTimeT &&value)
ConfiguredTableAssociation & WithMembershipId(MembershipIdT &&value)
ConfiguredTableAssociation & WithMembershipArn(MembershipArnT &&value)
ConfiguredTableAssociation & WithAnalysisRuleTypes(AnalysisRuleTypesT &&value)
ConfiguredTableAssociation & WithName(NameT &&value)
ConfiguredTableAssociation & WithUpdateTime(UpdateTimeT &&value)
ConfiguredTableAssociation & WithConfiguredTableArn(ConfiguredTableArnT &&value)
const Aws::Vector< ConfiguredTableAssociationAnalysisRuleType > & GetAnalysisRuleTypes() const
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
ConfiguredTableAssociation & WithConfiguredTableId(ConfiguredTableIdT &&value)
ConfiguredTableAssociation & AddAnalysisRuleTypes(ConfiguredTableAssociationAnalysisRuleType 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