AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
IdMappingTable.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ChildResource.h>
9#include <aws/cleanrooms/model/IdMappingTableInputReferenceConfig.h>
10#include <aws/cleanrooms/model/IdMappingTableInputReferenceProperties.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CleanRooms {
25namespace Model {
26
34 public:
35 AWS_CLEANROOMS_API IdMappingTable() = default;
36 AWS_CLEANROOMS_API IdMappingTable(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLEANROOMS_API IdMappingTable& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetId() const { return m_id; }
45 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 template <typename IdT = Aws::String>
47 void SetId(IdT&& value) {
48 m_idHasBeenSet = true;
49 m_id = std::forward<IdT>(value);
50 }
51 template <typename IdT = Aws::String>
52 IdMappingTable& WithId(IdT&& value) {
53 SetId(std::forward<IdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetArn() const { return m_arn; }
63 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
64 template <typename ArnT = Aws::String>
65 void SetArn(ArnT&& value) {
66 m_arnHasBeenSet = true;
67 m_arn = std::forward<ArnT>(value);
68 }
69 template <typename ArnT = Aws::String>
70 IdMappingTable& WithArn(ArnT&& value) {
71 SetArn(std::forward<ArnT>(value));
72 return *this;
73 }
75
77
80 inline const IdMappingTableInputReferenceConfig& GetInputReferenceConfig() const { return m_inputReferenceConfig; }
81 inline bool InputReferenceConfigHasBeenSet() const { return m_inputReferenceConfigHasBeenSet; }
82 template <typename InputReferenceConfigT = IdMappingTableInputReferenceConfig>
83 void SetInputReferenceConfig(InputReferenceConfigT&& value) {
84 m_inputReferenceConfigHasBeenSet = true;
85 m_inputReferenceConfig = std::forward<InputReferenceConfigT>(value);
86 }
87 template <typename InputReferenceConfigT = IdMappingTableInputReferenceConfig>
88 IdMappingTable& WithInputReferenceConfig(InputReferenceConfigT&& value) {
89 SetInputReferenceConfig(std::forward<InputReferenceConfigT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::String& GetMembershipId() const { return m_membershipId; }
100 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
101 template <typename MembershipIdT = Aws::String>
102 void SetMembershipId(MembershipIdT&& value) {
103 m_membershipIdHasBeenSet = true;
104 m_membershipId = std::forward<MembershipIdT>(value);
105 }
106 template <typename MembershipIdT = Aws::String>
107 IdMappingTable& WithMembershipId(MembershipIdT&& value) {
108 SetMembershipId(std::forward<MembershipIdT>(value));
109 return *this;
110 }
112
114
118 inline const Aws::String& GetMembershipArn() const { return m_membershipArn; }
119 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
120 template <typename MembershipArnT = Aws::String>
121 void SetMembershipArn(MembershipArnT&& value) {
122 m_membershipArnHasBeenSet = true;
123 m_membershipArn = std::forward<MembershipArnT>(value);
124 }
125 template <typename MembershipArnT = Aws::String>
126 IdMappingTable& WithMembershipArn(MembershipArnT&& value) {
127 SetMembershipArn(std::forward<MembershipArnT>(value));
128 return *this;
129 }
131
133
137 inline const Aws::String& GetCollaborationId() const { return m_collaborationId; }
138 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
139 template <typename CollaborationIdT = Aws::String>
140 void SetCollaborationId(CollaborationIdT&& value) {
141 m_collaborationIdHasBeenSet = true;
142 m_collaborationId = std::forward<CollaborationIdT>(value);
143 }
144 template <typename CollaborationIdT = Aws::String>
145 IdMappingTable& WithCollaborationId(CollaborationIdT&& value) {
146 SetCollaborationId(std::forward<CollaborationIdT>(value));
147 return *this;
148 }
150
152
156 inline const Aws::String& GetCollaborationArn() const { return m_collaborationArn; }
157 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
158 template <typename CollaborationArnT = Aws::String>
159 void SetCollaborationArn(CollaborationArnT&& value) {
160 m_collaborationArnHasBeenSet = true;
161 m_collaborationArn = std::forward<CollaborationArnT>(value);
162 }
163 template <typename CollaborationArnT = Aws::String>
164 IdMappingTable& WithCollaborationArn(CollaborationArnT&& value) {
165 SetCollaborationArn(std::forward<CollaborationArnT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::String& GetDescription() const { return m_description; }
175 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
176 template <typename DescriptionT = Aws::String>
177 void SetDescription(DescriptionT&& value) {
178 m_descriptionHasBeenSet = true;
179 m_description = std::forward<DescriptionT>(value);
180 }
181 template <typename DescriptionT = Aws::String>
182 IdMappingTable& WithDescription(DescriptionT&& value) {
183 SetDescription(std::forward<DescriptionT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::String& GetName() const { return m_name; }
193 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
194 template <typename NameT = Aws::String>
195 void SetName(NameT&& value) {
196 m_nameHasBeenSet = true;
197 m_name = std::forward<NameT>(value);
198 }
199 template <typename NameT = Aws::String>
200 IdMappingTable& WithName(NameT&& value) {
201 SetName(std::forward<NameT>(value));
202 return *this;
203 }
205
207
210 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
211 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
212 template <typename CreateTimeT = Aws::Utils::DateTime>
213 void SetCreateTime(CreateTimeT&& value) {
214 m_createTimeHasBeenSet = true;
215 m_createTime = std::forward<CreateTimeT>(value);
216 }
217 template <typename CreateTimeT = Aws::Utils::DateTime>
218 IdMappingTable& WithCreateTime(CreateTimeT&& value) {
219 SetCreateTime(std::forward<CreateTimeT>(value));
220 return *this;
221 }
223
225
228 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
229 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
230 template <typename UpdateTimeT = Aws::Utils::DateTime>
231 void SetUpdateTime(UpdateTimeT&& value) {
232 m_updateTimeHasBeenSet = true;
233 m_updateTime = std::forward<UpdateTimeT>(value);
234 }
235 template <typename UpdateTimeT = Aws::Utils::DateTime>
236 IdMappingTable& WithUpdateTime(UpdateTimeT&& value) {
237 SetUpdateTime(std::forward<UpdateTimeT>(value));
238 return *this;
239 }
241
243
246 inline const IdMappingTableInputReferenceProperties& GetInputReferenceProperties() const { return m_inputReferenceProperties; }
247 inline bool InputReferencePropertiesHasBeenSet() const { return m_inputReferencePropertiesHasBeenSet; }
248 template <typename InputReferencePropertiesT = IdMappingTableInputReferenceProperties>
249 void SetInputReferenceProperties(InputReferencePropertiesT&& value) {
250 m_inputReferencePropertiesHasBeenSet = true;
251 m_inputReferenceProperties = std::forward<InputReferencePropertiesT>(value);
252 }
253 template <typename InputReferencePropertiesT = IdMappingTableInputReferenceProperties>
254 IdMappingTable& WithInputReferenceProperties(InputReferencePropertiesT&& value) {
255 SetInputReferenceProperties(std::forward<InputReferencePropertiesT>(value));
256 return *this;
257 }
259
261
264 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
265 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
266 template <typename KmsKeyArnT = Aws::String>
267 void SetKmsKeyArn(KmsKeyArnT&& value) {
268 m_kmsKeyArnHasBeenSet = true;
269 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
270 }
271 template <typename KmsKeyArnT = Aws::String>
272 IdMappingTable& WithKmsKeyArn(KmsKeyArnT&& value) {
273 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
274 return *this;
275 }
277
279
282 inline const Aws::Vector<ChildResource>& GetChildResources() const { return m_childResources; }
283 inline bool ChildResourcesHasBeenSet() const { return m_childResourcesHasBeenSet; }
284 template <typename ChildResourcesT = Aws::Vector<ChildResource>>
285 void SetChildResources(ChildResourcesT&& value) {
286 m_childResourcesHasBeenSet = true;
287 m_childResources = std::forward<ChildResourcesT>(value);
288 }
289 template <typename ChildResourcesT = Aws::Vector<ChildResource>>
290 IdMappingTable& WithChildResources(ChildResourcesT&& value) {
291 SetChildResources(std::forward<ChildResourcesT>(value));
292 return *this;
293 }
294 template <typename ChildResourcesT = ChildResource>
295 IdMappingTable& AddChildResources(ChildResourcesT&& value) {
296 m_childResourcesHasBeenSet = true;
297 m_childResources.emplace_back(std::forward<ChildResourcesT>(value));
298 return *this;
299 }
301 private:
302 Aws::String m_id;
303
304 Aws::String m_arn;
305
306 IdMappingTableInputReferenceConfig m_inputReferenceConfig;
307
308 Aws::String m_membershipId;
309
310 Aws::String m_membershipArn;
311
312 Aws::String m_collaborationId;
313
314 Aws::String m_collaborationArn;
315
316 Aws::String m_description;
317
318 Aws::String m_name;
319
320 Aws::Utils::DateTime m_createTime{};
321
322 Aws::Utils::DateTime m_updateTime{};
323
324 IdMappingTableInputReferenceProperties m_inputReferenceProperties;
325
326 Aws::String m_kmsKeyArn;
327
328 Aws::Vector<ChildResource> m_childResources;
329 bool m_idHasBeenSet = false;
330 bool m_arnHasBeenSet = false;
331 bool m_inputReferenceConfigHasBeenSet = false;
332 bool m_membershipIdHasBeenSet = false;
333 bool m_membershipArnHasBeenSet = false;
334 bool m_collaborationIdHasBeenSet = false;
335 bool m_collaborationArnHasBeenSet = false;
336 bool m_descriptionHasBeenSet = false;
337 bool m_nameHasBeenSet = false;
338 bool m_createTimeHasBeenSet = false;
339 bool m_updateTimeHasBeenSet = false;
340 bool m_inputReferencePropertiesHasBeenSet = false;
341 bool m_kmsKeyArnHasBeenSet = false;
342 bool m_childResourcesHasBeenSet = false;
343};
344
345} // namespace Model
346} // namespace CleanRooms
347} // namespace Aws
void SetChildResources(ChildResourcesT &&value)
void SetInputReferenceConfig(InputReferenceConfigT &&value)
const Aws::String & GetMembershipId() const
const Aws::Utils::DateTime & GetCreateTime() const
const Aws::String & GetDescription() const
void SetCollaborationId(CollaborationIdT &&value)
const Aws::String & GetArn() const
const Aws::String & GetName() const
IdMappingTable & WithArn(ArnT &&value)
const Aws::String & GetId() const
IdMappingTable & WithCollaborationArn(CollaborationArnT &&value)
IdMappingTable & WithInputReferenceConfig(InputReferenceConfigT &&value)
IdMappingTable & WithKmsKeyArn(KmsKeyArnT &&value)
void SetDescription(DescriptionT &&value)
void SetUpdateTime(UpdateTimeT &&value)
const Aws::String & GetCollaborationArn() const
const Aws::String & GetMembershipArn() const
IdMappingTable & WithMembershipId(MembershipIdT &&value)
void SetInputReferenceProperties(InputReferencePropertiesT &&value)
void SetCreateTime(CreateTimeT &&value)
IdMappingTable & WithChildResources(ChildResourcesT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCollaborationArn(CollaborationArnT &&value)
IdMappingTable & WithUpdateTime(UpdateTimeT &&value)
IdMappingTable & WithId(IdT &&value)
IdMappingTable & WithName(NameT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
void SetMembershipArn(MembershipArnT &&value)
AWS_CLEANROOMS_API IdMappingTable()=default
AWS_CLEANROOMS_API IdMappingTable & operator=(Aws::Utils::Json::JsonView jsonValue)
IdMappingTable & WithCreateTime(CreateTimeT &&value)
AWS_CLEANROOMS_API IdMappingTable(Aws::Utils::Json::JsonView jsonValue)
const IdMappingTableInputReferenceProperties & GetInputReferenceProperties() const
void SetMembershipId(MembershipIdT &&value)
IdMappingTable & WithMembershipArn(MembershipArnT &&value)
const Aws::String & GetCollaborationId() const
void SetKmsKeyArn(KmsKeyArnT &&value)
const Aws::Vector< ChildResource > & GetChildResources() const
IdMappingTable & AddChildResources(ChildResourcesT &&value)
IdMappingTable & WithInputReferenceProperties(InputReferencePropertiesT &&value)
const IdMappingTableInputReferenceConfig & GetInputReferenceConfig() const
const Aws::String & GetKmsKeyArn() const
IdMappingTable & WithCollaborationId(CollaborationIdT &&value)
IdMappingTable & WithDescription(DescriptionT &&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