AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
IdNamespaceAssociation.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/cleanrooms/model/IdNamespaceAssociationInputReferenceConfig.h>
11#include <aws/cleanrooms/model/IdNamespaceAssociationInputReferenceProperties.h>
12#include <aws/cleanrooms/model/IdMappingConfig.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace CleanRooms
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_CLEANROOMS_API IdNamespaceAssociation() = default;
42 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const { return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 template<typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
53 template<typename IdT = Aws::String>
54 IdNamespaceAssociation& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
65 template<typename ArnT = Aws::String>
66 IdNamespaceAssociation& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
68
70
74 inline const Aws::String& GetMembershipId() const { return m_membershipId; }
75 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
76 template<typename MembershipIdT = Aws::String>
77 void SetMembershipId(MembershipIdT&& value) { m_membershipIdHasBeenSet = true; m_membershipId = std::forward<MembershipIdT>(value); }
78 template<typename MembershipIdT = Aws::String>
79 IdNamespaceAssociation& WithMembershipId(MembershipIdT&& value) { SetMembershipId(std::forward<MembershipIdT>(value)); return *this;}
81
83
87 inline const Aws::String& GetMembershipArn() const { return m_membershipArn; }
88 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
89 template<typename MembershipArnT = Aws::String>
90 void SetMembershipArn(MembershipArnT&& value) { m_membershipArnHasBeenSet = true; m_membershipArn = std::forward<MembershipArnT>(value); }
91 template<typename MembershipArnT = Aws::String>
92 IdNamespaceAssociation& WithMembershipArn(MembershipArnT&& value) { SetMembershipArn(std::forward<MembershipArnT>(value)); return *this;}
94
96
100 inline const Aws::String& GetCollaborationId() const { return m_collaborationId; }
101 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
102 template<typename CollaborationIdT = Aws::String>
103 void SetCollaborationId(CollaborationIdT&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::forward<CollaborationIdT>(value); }
104 template<typename CollaborationIdT = Aws::String>
105 IdNamespaceAssociation& WithCollaborationId(CollaborationIdT&& value) { SetCollaborationId(std::forward<CollaborationIdT>(value)); return *this;}
107
109
113 inline const Aws::String& GetCollaborationArn() const { return m_collaborationArn; }
114 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
115 template<typename CollaborationArnT = Aws::String>
116 void SetCollaborationArn(CollaborationArnT&& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = std::forward<CollaborationArnT>(value); }
117 template<typename CollaborationArnT = Aws::String>
118 IdNamespaceAssociation& WithCollaborationArn(CollaborationArnT&& value) { SetCollaborationArn(std::forward<CollaborationArnT>(value)); return *this;}
120
122
125 inline const Aws::String& GetName() const { return m_name; }
126 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
127 template<typename NameT = Aws::String>
128 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
129 template<typename NameT = Aws::String>
130 IdNamespaceAssociation& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
132
134
137 inline const Aws::String& GetDescription() const { return m_description; }
138 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
139 template<typename DescriptionT = Aws::String>
140 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
141 template<typename DescriptionT = Aws::String>
142 IdNamespaceAssociation& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
144
146
149 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
150 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
151 template<typename CreateTimeT = Aws::Utils::DateTime>
152 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
153 template<typename CreateTimeT = Aws::Utils::DateTime>
154 IdNamespaceAssociation& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
156
158
161 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
162 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
163 template<typename UpdateTimeT = Aws::Utils::DateTime>
164 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
165 template<typename UpdateTimeT = Aws::Utils::DateTime>
166 IdNamespaceAssociation& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
168
170
173 inline const IdNamespaceAssociationInputReferenceConfig& GetInputReferenceConfig() const { return m_inputReferenceConfig; }
174 inline bool InputReferenceConfigHasBeenSet() const { return m_inputReferenceConfigHasBeenSet; }
175 template<typename InputReferenceConfigT = IdNamespaceAssociationInputReferenceConfig>
176 void SetInputReferenceConfig(InputReferenceConfigT&& value) { m_inputReferenceConfigHasBeenSet = true; m_inputReferenceConfig = std::forward<InputReferenceConfigT>(value); }
177 template<typename InputReferenceConfigT = IdNamespaceAssociationInputReferenceConfig>
178 IdNamespaceAssociation& WithInputReferenceConfig(InputReferenceConfigT&& value) { SetInputReferenceConfig(std::forward<InputReferenceConfigT>(value)); return *this;}
180
182
185 inline const IdNamespaceAssociationInputReferenceProperties& GetInputReferenceProperties() const { return m_inputReferenceProperties; }
186 inline bool InputReferencePropertiesHasBeenSet() const { return m_inputReferencePropertiesHasBeenSet; }
187 template<typename InputReferencePropertiesT = IdNamespaceAssociationInputReferenceProperties>
188 void SetInputReferenceProperties(InputReferencePropertiesT&& value) { m_inputReferencePropertiesHasBeenSet = true; m_inputReferenceProperties = std::forward<InputReferencePropertiesT>(value); }
189 template<typename InputReferencePropertiesT = IdNamespaceAssociationInputReferenceProperties>
190 IdNamespaceAssociation& WithInputReferenceProperties(InputReferencePropertiesT&& value) { SetInputReferenceProperties(std::forward<InputReferencePropertiesT>(value)); return *this;}
192
194
197 inline const IdMappingConfig& GetIdMappingConfig() const { return m_idMappingConfig; }
198 inline bool IdMappingConfigHasBeenSet() const { return m_idMappingConfigHasBeenSet; }
199 template<typename IdMappingConfigT = IdMappingConfig>
200 void SetIdMappingConfig(IdMappingConfigT&& value) { m_idMappingConfigHasBeenSet = true; m_idMappingConfig = std::forward<IdMappingConfigT>(value); }
201 template<typename IdMappingConfigT = IdMappingConfig>
202 IdNamespaceAssociation& WithIdMappingConfig(IdMappingConfigT&& value) { SetIdMappingConfig(std::forward<IdMappingConfigT>(value)); return *this;}
204 private:
205
206 Aws::String m_id;
207 bool m_idHasBeenSet = false;
208
209 Aws::String m_arn;
210 bool m_arnHasBeenSet = false;
211
212 Aws::String m_membershipId;
213 bool m_membershipIdHasBeenSet = false;
214
215 Aws::String m_membershipArn;
216 bool m_membershipArnHasBeenSet = false;
217
218 Aws::String m_collaborationId;
219 bool m_collaborationIdHasBeenSet = false;
220
221 Aws::String m_collaborationArn;
222 bool m_collaborationArnHasBeenSet = false;
223
224 Aws::String m_name;
225 bool m_nameHasBeenSet = false;
226
227 Aws::String m_description;
228 bool m_descriptionHasBeenSet = false;
229
230 Aws::Utils::DateTime m_createTime{};
231 bool m_createTimeHasBeenSet = false;
232
233 Aws::Utils::DateTime m_updateTime{};
234 bool m_updateTimeHasBeenSet = false;
235
236 IdNamespaceAssociationInputReferenceConfig m_inputReferenceConfig;
237 bool m_inputReferenceConfigHasBeenSet = false;
238
239 IdNamespaceAssociationInputReferenceProperties m_inputReferenceProperties;
240 bool m_inputReferencePropertiesHasBeenSet = false;
241
242 IdMappingConfig m_idMappingConfig;
243 bool m_idMappingConfigHasBeenSet = false;
244 };
245
246} // namespace Model
247} // namespace CleanRooms
248} // 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