AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
IdNamespaceAssociation.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/IdMappingConfig.h>
9#include <aws/cleanrooms/model/IdNamespaceAssociationInputReferenceConfig.h>
10#include <aws/cleanrooms/model/IdNamespaceAssociationInputReferenceProperties.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.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 IdNamespaceAssociation() = default;
37 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetArn() const { return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 template <typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) {
65 m_arnHasBeenSet = true;
66 m_arn = std::forward<ArnT>(value);
67 }
68 template <typename ArnT = Aws::String>
70 SetArn(std::forward<ArnT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetMembershipId() const { return m_membershipId; }
81 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
82 template <typename MembershipIdT = Aws::String>
83 void SetMembershipId(MembershipIdT&& value) {
84 m_membershipIdHasBeenSet = true;
85 m_membershipId = std::forward<MembershipIdT>(value);
86 }
87 template <typename MembershipIdT = Aws::String>
88 IdNamespaceAssociation& WithMembershipId(MembershipIdT&& value) {
89 SetMembershipId(std::forward<MembershipIdT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::String& GetMembershipArn() const { return m_membershipArn; }
100 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
101 template <typename MembershipArnT = Aws::String>
102 void SetMembershipArn(MembershipArnT&& value) {
103 m_membershipArnHasBeenSet = true;
104 m_membershipArn = std::forward<MembershipArnT>(value);
105 }
106 template <typename MembershipArnT = Aws::String>
107 IdNamespaceAssociation& WithMembershipArn(MembershipArnT&& value) {
108 SetMembershipArn(std::forward<MembershipArnT>(value));
109 return *this;
110 }
112
114
118 inline const Aws::String& GetCollaborationId() const { return m_collaborationId; }
119 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
120 template <typename CollaborationIdT = Aws::String>
121 void SetCollaborationId(CollaborationIdT&& value) {
122 m_collaborationIdHasBeenSet = true;
123 m_collaborationId = std::forward<CollaborationIdT>(value);
124 }
125 template <typename CollaborationIdT = Aws::String>
126 IdNamespaceAssociation& WithCollaborationId(CollaborationIdT&& value) {
127 SetCollaborationId(std::forward<CollaborationIdT>(value));
128 return *this;
129 }
131
133
137 inline const Aws::String& GetCollaborationArn() const { return m_collaborationArn; }
138 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
139 template <typename CollaborationArnT = Aws::String>
140 void SetCollaborationArn(CollaborationArnT&& value) {
141 m_collaborationArnHasBeenSet = true;
142 m_collaborationArn = std::forward<CollaborationArnT>(value);
143 }
144 template <typename CollaborationArnT = Aws::String>
145 IdNamespaceAssociation& WithCollaborationArn(CollaborationArnT&& value) {
146 SetCollaborationArn(std::forward<CollaborationArnT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetName() const { return m_name; }
156 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
157 template <typename NameT = Aws::String>
158 void SetName(NameT&& value) {
159 m_nameHasBeenSet = true;
160 m_name = std::forward<NameT>(value);
161 }
162 template <typename NameT = Aws::String>
164 SetName(std::forward<NameT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::String& GetDescription() const { return m_description; }
174 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
175 template <typename DescriptionT = Aws::String>
176 void SetDescription(DescriptionT&& value) {
177 m_descriptionHasBeenSet = true;
178 m_description = std::forward<DescriptionT>(value);
179 }
180 template <typename DescriptionT = Aws::String>
182 SetDescription(std::forward<DescriptionT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
192 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
193 template <typename CreateTimeT = Aws::Utils::DateTime>
194 void SetCreateTime(CreateTimeT&& value) {
195 m_createTimeHasBeenSet = true;
196 m_createTime = std::forward<CreateTimeT>(value);
197 }
198 template <typename CreateTimeT = Aws::Utils::DateTime>
200 SetCreateTime(std::forward<CreateTimeT>(value));
201 return *this;
202 }
204
206
209 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
210 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
211 template <typename UpdateTimeT = Aws::Utils::DateTime>
212 void SetUpdateTime(UpdateTimeT&& value) {
213 m_updateTimeHasBeenSet = true;
214 m_updateTime = std::forward<UpdateTimeT>(value);
215 }
216 template <typename UpdateTimeT = Aws::Utils::DateTime>
218 SetUpdateTime(std::forward<UpdateTimeT>(value));
219 return *this;
220 }
222
224
227 inline const IdNamespaceAssociationInputReferenceConfig& GetInputReferenceConfig() const { return m_inputReferenceConfig; }
228 inline bool InputReferenceConfigHasBeenSet() const { return m_inputReferenceConfigHasBeenSet; }
229 template <typename InputReferenceConfigT = IdNamespaceAssociationInputReferenceConfig>
230 void SetInputReferenceConfig(InputReferenceConfigT&& value) {
231 m_inputReferenceConfigHasBeenSet = true;
232 m_inputReferenceConfig = std::forward<InputReferenceConfigT>(value);
233 }
234 template <typename InputReferenceConfigT = IdNamespaceAssociationInputReferenceConfig>
235 IdNamespaceAssociation& WithInputReferenceConfig(InputReferenceConfigT&& value) {
236 SetInputReferenceConfig(std::forward<InputReferenceConfigT>(value));
237 return *this;
238 }
240
242
245 inline const IdNamespaceAssociationInputReferenceProperties& GetInputReferenceProperties() const { return m_inputReferenceProperties; }
246 inline bool InputReferencePropertiesHasBeenSet() const { return m_inputReferencePropertiesHasBeenSet; }
247 template <typename InputReferencePropertiesT = IdNamespaceAssociationInputReferenceProperties>
248 void SetInputReferenceProperties(InputReferencePropertiesT&& value) {
249 m_inputReferencePropertiesHasBeenSet = true;
250 m_inputReferenceProperties = std::forward<InputReferencePropertiesT>(value);
251 }
252 template <typename InputReferencePropertiesT = IdNamespaceAssociationInputReferenceProperties>
253 IdNamespaceAssociation& WithInputReferenceProperties(InputReferencePropertiesT&& value) {
254 SetInputReferenceProperties(std::forward<InputReferencePropertiesT>(value));
255 return *this;
256 }
258
260
263 inline const IdMappingConfig& GetIdMappingConfig() const { return m_idMappingConfig; }
264 inline bool IdMappingConfigHasBeenSet() const { return m_idMappingConfigHasBeenSet; }
265 template <typename IdMappingConfigT = IdMappingConfig>
266 void SetIdMappingConfig(IdMappingConfigT&& value) {
267 m_idMappingConfigHasBeenSet = true;
268 m_idMappingConfig = std::forward<IdMappingConfigT>(value);
269 }
270 template <typename IdMappingConfigT = IdMappingConfig>
271 IdNamespaceAssociation& WithIdMappingConfig(IdMappingConfigT&& value) {
272 SetIdMappingConfig(std::forward<IdMappingConfigT>(value));
273 return *this;
274 }
276 private:
277 Aws::String m_id;
278
279 Aws::String m_arn;
280
281 Aws::String m_membershipId;
282
283 Aws::String m_membershipArn;
284
285 Aws::String m_collaborationId;
286
287 Aws::String m_collaborationArn;
288
289 Aws::String m_name;
290
291 Aws::String m_description;
292
293 Aws::Utils::DateTime m_createTime{};
294
295 Aws::Utils::DateTime m_updateTime{};
296
297 IdNamespaceAssociationInputReferenceConfig m_inputReferenceConfig;
298
299 IdNamespaceAssociationInputReferenceProperties m_inputReferenceProperties;
300
301 IdMappingConfig m_idMappingConfig;
302 bool m_idHasBeenSet = false;
303 bool m_arnHasBeenSet = false;
304 bool m_membershipIdHasBeenSet = false;
305 bool m_membershipArnHasBeenSet = false;
306 bool m_collaborationIdHasBeenSet = false;
307 bool m_collaborationArnHasBeenSet = false;
308 bool m_nameHasBeenSet = false;
309 bool m_descriptionHasBeenSet = false;
310 bool m_createTimeHasBeenSet = false;
311 bool m_updateTimeHasBeenSet = false;
312 bool m_inputReferenceConfigHasBeenSet = false;
313 bool m_inputReferencePropertiesHasBeenSet = false;
314 bool m_idMappingConfigHasBeenSet = false;
315};
316
317} // namespace Model
318} // namespace CleanRooms
319} // namespace Aws
IdNamespaceAssociation & WithInputReferenceConfig(InputReferenceConfigT &&value)
IdNamespaceAssociation & WithUpdateTime(UpdateTimeT &&value)
IdNamespaceAssociation & WithCreateTime(CreateTimeT &&value)
IdNamespaceAssociation & WithId(IdT &&value)
IdNamespaceAssociation & WithName(NameT &&value)
const IdNamespaceAssociationInputReferenceConfig & GetInputReferenceConfig() const
IdNamespaceAssociation & WithCollaborationId(CollaborationIdT &&value)
IdNamespaceAssociation & WithCollaborationArn(CollaborationArnT &&value)
IdNamespaceAssociation & WithMembershipId(MembershipIdT &&value)
IdNamespaceAssociation & WithDescription(DescriptionT &&value)
AWS_CLEANROOMS_API IdNamespaceAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
IdNamespaceAssociation & WithIdMappingConfig(IdMappingConfigT &&value)
IdNamespaceAssociation & WithArn(ArnT &&value)
IdNamespaceAssociation & WithInputReferenceProperties(InputReferencePropertiesT &&value)
IdNamespaceAssociation & WithMembershipArn(MembershipArnT &&value)
const IdNamespaceAssociationInputReferenceProperties & GetInputReferenceProperties() const
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API IdNamespaceAssociation(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreateTime() const
AWS_CLEANROOMS_API IdNamespaceAssociation()=default
void SetInputReferenceProperties(InputReferencePropertiesT &&value)
void SetInputReferenceConfig(InputReferenceConfigT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue