AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
ConfiguredTableAssociation.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ChildResource.h>
9#include <aws/cleanrooms/model/ConfiguredTableAssociationAnalysisRuleType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CleanRooms {
24namespace Model {
25
33 public:
34 AWS_CLEANROOMS_API ConfiguredTableAssociation() = default;
37 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetId() const { return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 template <typename IdT = Aws::String>
64 void SetId(IdT&& value) {
65 m_idHasBeenSet = true;
66 m_id = std::forward<IdT>(value);
67 }
68 template <typename IdT = Aws::String>
70 SetId(std::forward<IdT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetConfiguredTableId() const { return m_configuredTableId; }
80 inline bool ConfiguredTableIdHasBeenSet() const { return m_configuredTableIdHasBeenSet; }
81 template <typename ConfiguredTableIdT = Aws::String>
82 void SetConfiguredTableId(ConfiguredTableIdT&& value) {
83 m_configuredTableIdHasBeenSet = true;
84 m_configuredTableId = std::forward<ConfiguredTableIdT>(value);
85 }
86 template <typename ConfiguredTableIdT = Aws::String>
88 SetConfiguredTableId(std::forward<ConfiguredTableIdT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetConfiguredTableArn() const { return m_configuredTableArn; }
98 inline bool ConfiguredTableArnHasBeenSet() const { return m_configuredTableArnHasBeenSet; }
99 template <typename ConfiguredTableArnT = Aws::String>
100 void SetConfiguredTableArn(ConfiguredTableArnT&& value) {
101 m_configuredTableArnHasBeenSet = true;
102 m_configuredTableArn = std::forward<ConfiguredTableArnT>(value);
103 }
104 template <typename ConfiguredTableArnT = Aws::String>
106 SetConfiguredTableArn(std::forward<ConfiguredTableArnT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetMembershipId() const { return m_membershipId; }
117 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
118 template <typename MembershipIdT = Aws::String>
119 void SetMembershipId(MembershipIdT&& value) {
120 m_membershipIdHasBeenSet = true;
121 m_membershipId = std::forward<MembershipIdT>(value);
122 }
123 template <typename MembershipIdT = Aws::String>
125 SetMembershipId(std::forward<MembershipIdT>(value));
126 return *this;
127 }
129
131
135 inline const Aws::String& GetMembershipArn() const { return m_membershipArn; }
136 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
137 template <typename MembershipArnT = Aws::String>
138 void SetMembershipArn(MembershipArnT&& value) {
139 m_membershipArnHasBeenSet = true;
140 m_membershipArn = std::forward<MembershipArnT>(value);
141 }
142 template <typename MembershipArnT = Aws::String>
144 SetMembershipArn(std::forward<MembershipArnT>(value));
145 return *this;
146 }
148
150
154 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
155 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
156 template <typename RoleArnT = Aws::String>
157 void SetRoleArn(RoleArnT&& value) {
158 m_roleArnHasBeenSet = true;
159 m_roleArn = std::forward<RoleArnT>(value);
160 }
161 template <typename RoleArnT = Aws::String>
163 SetRoleArn(std::forward<RoleArnT>(value));
164 return *this;
165 }
167
169
174 inline const Aws::String& GetName() const { return m_name; }
175 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
176 template <typename NameT = Aws::String>
177 void SetName(NameT&& value) {
178 m_nameHasBeenSet = true;
179 m_name = std::forward<NameT>(value);
180 }
181 template <typename NameT = Aws::String>
183 SetName(std::forward<NameT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::String& GetDescription() const { return m_description; }
193 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
194 template <typename DescriptionT = Aws::String>
195 void SetDescription(DescriptionT&& value) {
196 m_descriptionHasBeenSet = true;
197 m_description = std::forward<DescriptionT>(value);
198 }
199 template <typename DescriptionT = Aws::String>
201 SetDescription(std::forward<DescriptionT>(value));
202 return *this;
203 }
205
207
210 inline const Aws::Vector<ConfiguredTableAssociationAnalysisRuleType>& GetAnalysisRuleTypes() const { return m_analysisRuleTypes; }
211 inline bool AnalysisRuleTypesHasBeenSet() const { return m_analysisRuleTypesHasBeenSet; }
212 template <typename AnalysisRuleTypesT = Aws::Vector<ConfiguredTableAssociationAnalysisRuleType>>
213 void SetAnalysisRuleTypes(AnalysisRuleTypesT&& value) {
214 m_analysisRuleTypesHasBeenSet = true;
215 m_analysisRuleTypes = std::forward<AnalysisRuleTypesT>(value);
216 }
217 template <typename AnalysisRuleTypesT = Aws::Vector<ConfiguredTableAssociationAnalysisRuleType>>
219 SetAnalysisRuleTypes(std::forward<AnalysisRuleTypesT>(value));
220 return *this;
221 }
223 m_analysisRuleTypesHasBeenSet = true;
224 m_analysisRuleTypes.push_back(value);
225 return *this;
226 }
228
230
233 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
234 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
235 template <typename CreateTimeT = Aws::Utils::DateTime>
236 void SetCreateTime(CreateTimeT&& value) {
237 m_createTimeHasBeenSet = true;
238 m_createTime = std::forward<CreateTimeT>(value);
239 }
240 template <typename CreateTimeT = Aws::Utils::DateTime>
242 SetCreateTime(std::forward<CreateTimeT>(value));
243 return *this;
244 }
246
248
251 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
252 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
253 template <typename UpdateTimeT = Aws::Utils::DateTime>
254 void SetUpdateTime(UpdateTimeT&& value) {
255 m_updateTimeHasBeenSet = true;
256 m_updateTime = std::forward<UpdateTimeT>(value);
257 }
258 template <typename UpdateTimeT = Aws::Utils::DateTime>
260 SetUpdateTime(std::forward<UpdateTimeT>(value));
261 return *this;
262 }
264
266
269 inline const Aws::Vector<ChildResource>& GetChildResources() const { return m_childResources; }
270 inline bool ChildResourcesHasBeenSet() const { return m_childResourcesHasBeenSet; }
271 template <typename ChildResourcesT = Aws::Vector<ChildResource>>
272 void SetChildResources(ChildResourcesT&& value) {
273 m_childResourcesHasBeenSet = true;
274 m_childResources = std::forward<ChildResourcesT>(value);
275 }
276 template <typename ChildResourcesT = Aws::Vector<ChildResource>>
278 SetChildResources(std::forward<ChildResourcesT>(value));
279 return *this;
280 }
281 template <typename ChildResourcesT = ChildResource>
283 m_childResourcesHasBeenSet = true;
284 m_childResources.emplace_back(std::forward<ChildResourcesT>(value));
285 return *this;
286 }
288 private:
289 Aws::String m_arn;
290
291 Aws::String m_id;
292
293 Aws::String m_configuredTableId;
294
295 Aws::String m_configuredTableArn;
296
297 Aws::String m_membershipId;
298
299 Aws::String m_membershipArn;
300
301 Aws::String m_roleArn;
302
303 Aws::String m_name;
304
305 Aws::String m_description;
306
308
309 Aws::Utils::DateTime m_createTime{};
310
311 Aws::Utils::DateTime m_updateTime{};
312
313 Aws::Vector<ChildResource> m_childResources;
314 bool m_arnHasBeenSet = false;
315 bool m_idHasBeenSet = false;
316 bool m_configuredTableIdHasBeenSet = false;
317 bool m_configuredTableArnHasBeenSet = false;
318 bool m_membershipIdHasBeenSet = false;
319 bool m_membershipArnHasBeenSet = false;
320 bool m_roleArnHasBeenSet = false;
321 bool m_nameHasBeenSet = false;
322 bool m_descriptionHasBeenSet = false;
323 bool m_analysisRuleTypesHasBeenSet = false;
324 bool m_createTimeHasBeenSet = false;
325 bool m_updateTimeHasBeenSet = false;
326 bool m_childResourcesHasBeenSet = false;
327};
328
329} // namespace Model
330} // namespace CleanRooms
331} // namespace Aws
AWS_CLEANROOMS_API ConfiguredTableAssociation(Aws::Utils::Json::JsonView jsonValue)
ConfiguredTableAssociation & WithRoleArn(RoleArnT &&value)
AWS_CLEANROOMS_API ConfiguredTableAssociation()=default
ConfiguredTableAssociation & AddChildResources(ChildResourcesT &&value)
ConfiguredTableAssociation & WithDescription(DescriptionT &&value)
AWS_CLEANROOMS_API ConfiguredTableAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ChildResource > & GetChildResources() const
ConfiguredTableAssociation & WithArn(ArnT &&value)
ConfiguredTableAssociation & WithCreateTime(CreateTimeT &&value)
ConfiguredTableAssociation & WithChildResources(ChildResourcesT &&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