AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CollaborationIdNamespaceAssociation.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 CollaborationIdNamespaceAssociation() = 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
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>
71 SetArn(std::forward<ArnT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetCollaborationId() const { return m_collaborationId; }
82 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
83 template <typename CollaborationIdT = Aws::String>
84 void SetCollaborationId(CollaborationIdT&& value) {
85 m_collaborationIdHasBeenSet = true;
86 m_collaborationId = std::forward<CollaborationIdT>(value);
87 }
88 template <typename CollaborationIdT = Aws::String>
90 SetCollaborationId(std::forward<CollaborationIdT>(value));
91 return *this;
92 }
94
96
100 inline const Aws::String& GetCollaborationArn() const { return m_collaborationArn; }
101 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
102 template <typename CollaborationArnT = Aws::String>
103 void SetCollaborationArn(CollaborationArnT&& value) {
104 m_collaborationArnHasBeenSet = true;
105 m_collaborationArn = std::forward<CollaborationArnT>(value);
106 }
107 template <typename CollaborationArnT = Aws::String>
109 SetCollaborationArn(std::forward<CollaborationArnT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetName() const { return m_name; }
119 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
120 template <typename NameT = Aws::String>
121 void SetName(NameT&& value) {
122 m_nameHasBeenSet = true;
123 m_name = std::forward<NameT>(value);
124 }
125 template <typename NameT = Aws::String>
127 SetName(std::forward<NameT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetDescription() const { return m_description; }
137 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
138 template <typename DescriptionT = Aws::String>
139 void SetDescription(DescriptionT&& value) {
140 m_descriptionHasBeenSet = true;
141 m_description = std::forward<DescriptionT>(value);
142 }
143 template <typename DescriptionT = Aws::String>
145 SetDescription(std::forward<DescriptionT>(value));
146 return *this;
147 }
149
151
155 inline const Aws::String& GetCreatorAccountId() const { return m_creatorAccountId; }
156 inline bool CreatorAccountIdHasBeenSet() const { return m_creatorAccountIdHasBeenSet; }
157 template <typename CreatorAccountIdT = Aws::String>
158 void SetCreatorAccountId(CreatorAccountIdT&& value) {
159 m_creatorAccountIdHasBeenSet = true;
160 m_creatorAccountId = std::forward<CreatorAccountIdT>(value);
161 }
162 template <typename CreatorAccountIdT = Aws::String>
164 SetCreatorAccountId(std::forward<CreatorAccountIdT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
174 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
175 template <typename CreateTimeT = Aws::Utils::DateTime>
176 void SetCreateTime(CreateTimeT&& value) {
177 m_createTimeHasBeenSet = true;
178 m_createTime = std::forward<CreateTimeT>(value);
179 }
180 template <typename CreateTimeT = Aws::Utils::DateTime>
182 SetCreateTime(std::forward<CreateTimeT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
192 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
193 template <typename UpdateTimeT = Aws::Utils::DateTime>
194 void SetUpdateTime(UpdateTimeT&& value) {
195 m_updateTimeHasBeenSet = true;
196 m_updateTime = std::forward<UpdateTimeT>(value);
197 }
198 template <typename UpdateTimeT = Aws::Utils::DateTime>
200 SetUpdateTime(std::forward<UpdateTimeT>(value));
201 return *this;
202 }
204
206
210 inline const IdNamespaceAssociationInputReferenceConfig& GetInputReferenceConfig() const { return m_inputReferenceConfig; }
211 inline bool InputReferenceConfigHasBeenSet() const { return m_inputReferenceConfigHasBeenSet; }
212 template <typename InputReferenceConfigT = IdNamespaceAssociationInputReferenceConfig>
213 void SetInputReferenceConfig(InputReferenceConfigT&& value) {
214 m_inputReferenceConfigHasBeenSet = true;
215 m_inputReferenceConfig = std::forward<InputReferenceConfigT>(value);
216 }
217 template <typename InputReferenceConfigT = IdNamespaceAssociationInputReferenceConfig>
219 SetInputReferenceConfig(std::forward<InputReferenceConfigT>(value));
220 return *this;
221 }
223
225
229 inline const IdNamespaceAssociationInputReferenceProperties& GetInputReferenceProperties() const { return m_inputReferenceProperties; }
230 inline bool InputReferencePropertiesHasBeenSet() const { return m_inputReferencePropertiesHasBeenSet; }
231 template <typename InputReferencePropertiesT = IdNamespaceAssociationInputReferenceProperties>
232 void SetInputReferenceProperties(InputReferencePropertiesT&& value) {
233 m_inputReferencePropertiesHasBeenSet = true;
234 m_inputReferenceProperties = std::forward<InputReferencePropertiesT>(value);
235 }
236 template <typename InputReferencePropertiesT = IdNamespaceAssociationInputReferenceProperties>
238 SetInputReferenceProperties(std::forward<InputReferencePropertiesT>(value));
239 return *this;
240 }
242
244
245 inline const IdMappingConfig& GetIdMappingConfig() const { return m_idMappingConfig; }
246 inline bool IdMappingConfigHasBeenSet() const { return m_idMappingConfigHasBeenSet; }
247 template <typename IdMappingConfigT = IdMappingConfig>
248 void SetIdMappingConfig(IdMappingConfigT&& value) {
249 m_idMappingConfigHasBeenSet = true;
250 m_idMappingConfig = std::forward<IdMappingConfigT>(value);
251 }
252 template <typename IdMappingConfigT = IdMappingConfig>
254 SetIdMappingConfig(std::forward<IdMappingConfigT>(value));
255 return *this;
256 }
258 private:
259 Aws::String m_id;
260
261 Aws::String m_arn;
262
263 Aws::String m_collaborationId;
264
265 Aws::String m_collaborationArn;
266
267 Aws::String m_name;
268
269 Aws::String m_description;
270
271 Aws::String m_creatorAccountId;
272
273 Aws::Utils::DateTime m_createTime{};
274
275 Aws::Utils::DateTime m_updateTime{};
276
277 IdNamespaceAssociationInputReferenceConfig m_inputReferenceConfig;
278
279 IdNamespaceAssociationInputReferenceProperties m_inputReferenceProperties;
280
281 IdMappingConfig m_idMappingConfig;
282 bool m_idHasBeenSet = false;
283 bool m_arnHasBeenSet = false;
284 bool m_collaborationIdHasBeenSet = false;
285 bool m_collaborationArnHasBeenSet = false;
286 bool m_nameHasBeenSet = false;
287 bool m_descriptionHasBeenSet = false;
288 bool m_creatorAccountIdHasBeenSet = false;
289 bool m_createTimeHasBeenSet = false;
290 bool m_updateTimeHasBeenSet = false;
291 bool m_inputReferenceConfigHasBeenSet = false;
292 bool m_inputReferencePropertiesHasBeenSet = false;
293 bool m_idMappingConfigHasBeenSet = false;
294};
295
296} // namespace Model
297} // namespace CleanRooms
298} // namespace Aws
AWS_CLEANROOMS_API CollaborationIdNamespaceAssociation()=default
CollaborationIdNamespaceAssociation & WithDescription(DescriptionT &&value)
AWS_CLEANROOMS_API CollaborationIdNamespaceAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
CollaborationIdNamespaceAssociation & WithCollaborationId(CollaborationIdT &&value)
CollaborationIdNamespaceAssociation & WithUpdateTime(UpdateTimeT &&value)
AWS_CLEANROOMS_API CollaborationIdNamespaceAssociation(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
CollaborationIdNamespaceAssociation & WithIdMappingConfig(IdMappingConfigT &&value)
CollaborationIdNamespaceAssociation & WithInputReferenceProperties(InputReferencePropertiesT &&value)
const IdNamespaceAssociationInputReferenceConfig & GetInputReferenceConfig() const
const IdNamespaceAssociationInputReferenceProperties & GetInputReferenceProperties() const
CollaborationIdNamespaceAssociation & WithCreateTime(CreateTimeT &&value)
CollaborationIdNamespaceAssociation & WithInputReferenceConfig(InputReferenceConfigT &&value)
CollaborationIdNamespaceAssociation & WithCollaborationArn(CollaborationArnT &&value)
CollaborationIdNamespaceAssociation & WithCreatorAccountId(CreatorAccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue