AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
IdMappingTable.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/IdMappingTableInputReferenceConfig.h>
9#include <aws/cleanrooms/model/IdMappingTableInputReferenceProperties.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.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 IdMappingTable() = default;
34 AWS_CLEANROOMS_API IdMappingTable(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CLEANROOMS_API IdMappingTable& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
50 IdMappingTable& WithId(IdT&& value) {
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetArn() const { return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 template <typename ArnT = Aws::String>
63 void SetArn(ArnT&& value) {
64 m_arnHasBeenSet = true;
65 m_arn = std::forward<ArnT>(value);
66 }
67 template <typename ArnT = Aws::String>
68 IdMappingTable& WithArn(ArnT&& value) {
69 SetArn(std::forward<ArnT>(value));
70 return *this;
71 }
73
75
78 inline const IdMappingTableInputReferenceConfig& GetInputReferenceConfig() const { return m_inputReferenceConfig; }
79 inline bool InputReferenceConfigHasBeenSet() const { return m_inputReferenceConfigHasBeenSet; }
80 template <typename InputReferenceConfigT = IdMappingTableInputReferenceConfig>
81 void SetInputReferenceConfig(InputReferenceConfigT&& value) {
82 m_inputReferenceConfigHasBeenSet = true;
83 m_inputReferenceConfig = std::forward<InputReferenceConfigT>(value);
84 }
85 template <typename InputReferenceConfigT = IdMappingTableInputReferenceConfig>
86 IdMappingTable& WithInputReferenceConfig(InputReferenceConfigT&& value) {
87 SetInputReferenceConfig(std::forward<InputReferenceConfigT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetMembershipId() const { return m_membershipId; }
98 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
99 template <typename MembershipIdT = Aws::String>
100 void SetMembershipId(MembershipIdT&& value) {
101 m_membershipIdHasBeenSet = true;
102 m_membershipId = std::forward<MembershipIdT>(value);
103 }
104 template <typename MembershipIdT = Aws::String>
105 IdMappingTable& WithMembershipId(MembershipIdT&& value) {
106 SetMembershipId(std::forward<MembershipIdT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetMembershipArn() const { return m_membershipArn; }
117 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
118 template <typename MembershipArnT = Aws::String>
119 void SetMembershipArn(MembershipArnT&& value) {
120 m_membershipArnHasBeenSet = true;
121 m_membershipArn = std::forward<MembershipArnT>(value);
122 }
123 template <typename MembershipArnT = Aws::String>
124 IdMappingTable& WithMembershipArn(MembershipArnT&& value) {
125 SetMembershipArn(std::forward<MembershipArnT>(value));
126 return *this;
127 }
129
131
135 inline const Aws::String& GetCollaborationId() const { return m_collaborationId; }
136 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
137 template <typename CollaborationIdT = Aws::String>
138 void SetCollaborationId(CollaborationIdT&& value) {
139 m_collaborationIdHasBeenSet = true;
140 m_collaborationId = std::forward<CollaborationIdT>(value);
141 }
142 template <typename CollaborationIdT = Aws::String>
143 IdMappingTable& WithCollaborationId(CollaborationIdT&& value) {
144 SetCollaborationId(std::forward<CollaborationIdT>(value));
145 return *this;
146 }
148
150
154 inline const Aws::String& GetCollaborationArn() const { return m_collaborationArn; }
155 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
156 template <typename CollaborationArnT = Aws::String>
157 void SetCollaborationArn(CollaborationArnT&& value) {
158 m_collaborationArnHasBeenSet = true;
159 m_collaborationArn = std::forward<CollaborationArnT>(value);
160 }
161 template <typename CollaborationArnT = Aws::String>
162 IdMappingTable& WithCollaborationArn(CollaborationArnT&& value) {
163 SetCollaborationArn(std::forward<CollaborationArnT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::String& GetDescription() const { return m_description; }
173 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
174 template <typename DescriptionT = Aws::String>
175 void SetDescription(DescriptionT&& value) {
176 m_descriptionHasBeenSet = true;
177 m_description = std::forward<DescriptionT>(value);
178 }
179 template <typename DescriptionT = Aws::String>
180 IdMappingTable& WithDescription(DescriptionT&& value) {
181 SetDescription(std::forward<DescriptionT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::String& GetName() const { return m_name; }
191 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
192 template <typename NameT = Aws::String>
193 void SetName(NameT&& value) {
194 m_nameHasBeenSet = true;
195 m_name = std::forward<NameT>(value);
196 }
197 template <typename NameT = Aws::String>
198 IdMappingTable& WithName(NameT&& value) {
199 SetName(std::forward<NameT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
209 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
210 template <typename CreateTimeT = Aws::Utils::DateTime>
211 void SetCreateTime(CreateTimeT&& value) {
212 m_createTimeHasBeenSet = true;
213 m_createTime = std::forward<CreateTimeT>(value);
214 }
215 template <typename CreateTimeT = Aws::Utils::DateTime>
216 IdMappingTable& WithCreateTime(CreateTimeT&& value) {
217 SetCreateTime(std::forward<CreateTimeT>(value));
218 return *this;
219 }
221
223
226 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
227 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
228 template <typename UpdateTimeT = Aws::Utils::DateTime>
229 void SetUpdateTime(UpdateTimeT&& value) {
230 m_updateTimeHasBeenSet = true;
231 m_updateTime = std::forward<UpdateTimeT>(value);
232 }
233 template <typename UpdateTimeT = Aws::Utils::DateTime>
234 IdMappingTable& WithUpdateTime(UpdateTimeT&& value) {
235 SetUpdateTime(std::forward<UpdateTimeT>(value));
236 return *this;
237 }
239
241
244 inline const IdMappingTableInputReferenceProperties& GetInputReferenceProperties() const { return m_inputReferenceProperties; }
245 inline bool InputReferencePropertiesHasBeenSet() const { return m_inputReferencePropertiesHasBeenSet; }
246 template <typename InputReferencePropertiesT = IdMappingTableInputReferenceProperties>
247 void SetInputReferenceProperties(InputReferencePropertiesT&& value) {
248 m_inputReferencePropertiesHasBeenSet = true;
249 m_inputReferenceProperties = std::forward<InputReferencePropertiesT>(value);
250 }
251 template <typename InputReferencePropertiesT = IdMappingTableInputReferenceProperties>
252 IdMappingTable& WithInputReferenceProperties(InputReferencePropertiesT&& value) {
253 SetInputReferenceProperties(std::forward<InputReferencePropertiesT>(value));
254 return *this;
255 }
257
259
262 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
263 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
264 template <typename KmsKeyArnT = Aws::String>
265 void SetKmsKeyArn(KmsKeyArnT&& value) {
266 m_kmsKeyArnHasBeenSet = true;
267 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
268 }
269 template <typename KmsKeyArnT = Aws::String>
270 IdMappingTable& WithKmsKeyArn(KmsKeyArnT&& value) {
271 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
272 return *this;
273 }
275 private:
276 Aws::String m_id;
277
278 Aws::String m_arn;
279
280 IdMappingTableInputReferenceConfig m_inputReferenceConfig;
281
282 Aws::String m_membershipId;
283
284 Aws::String m_membershipArn;
285
286 Aws::String m_collaborationId;
287
288 Aws::String m_collaborationArn;
289
290 Aws::String m_description;
291
292 Aws::String m_name;
293
294 Aws::Utils::DateTime m_createTime{};
295
296 Aws::Utils::DateTime m_updateTime{};
297
298 IdMappingTableInputReferenceProperties m_inputReferenceProperties;
299
300 Aws::String m_kmsKeyArn;
301 bool m_idHasBeenSet = false;
302 bool m_arnHasBeenSet = false;
303 bool m_inputReferenceConfigHasBeenSet = false;
304 bool m_membershipIdHasBeenSet = false;
305 bool m_membershipArnHasBeenSet = false;
306 bool m_collaborationIdHasBeenSet = false;
307 bool m_collaborationArnHasBeenSet = false;
308 bool m_descriptionHasBeenSet = false;
309 bool m_nameHasBeenSet = false;
310 bool m_createTimeHasBeenSet = false;
311 bool m_updateTimeHasBeenSet = false;
312 bool m_inputReferencePropertiesHasBeenSet = false;
313 bool m_kmsKeyArnHasBeenSet = false;
314};
315
316} // namespace Model
317} // namespace CleanRooms
318} // namespace Aws
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)
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)
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
Aws::Utils::Json::JsonValue JsonValue