AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ConfiguredAudienceModelAssociation.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CleanRooms {
21namespace Model {
22
30 public:
31 AWS_CLEANROOMS_API ConfiguredAudienceModelAssociation() = default;
34 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetConfiguredAudienceModelArn() const { return m_configuredAudienceModelArn; }
79 inline bool ConfiguredAudienceModelArnHasBeenSet() const { return m_configuredAudienceModelArnHasBeenSet; }
80 template <typename ConfiguredAudienceModelArnT = Aws::String>
81 void SetConfiguredAudienceModelArn(ConfiguredAudienceModelArnT&& value) {
82 m_configuredAudienceModelArnHasBeenSet = true;
83 m_configuredAudienceModelArn = std::forward<ConfiguredAudienceModelArnT>(value);
84 }
85 template <typename ConfiguredAudienceModelArnT = Aws::String>
87 SetConfiguredAudienceModelArn(std::forward<ConfiguredAudienceModelArnT>(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>
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>
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>
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>
163 SetCollaborationArn(std::forward<CollaborationArnT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::String& GetName() const { return m_name; }
173 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
174 template <typename NameT = Aws::String>
175 void SetName(NameT&& value) {
176 m_nameHasBeenSet = true;
177 m_name = std::forward<NameT>(value);
178 }
179 template <typename NameT = Aws::String>
181 SetName(std::forward<NameT>(value));
182 return *this;
183 }
185
187
194 inline bool GetManageResourcePolicies() const { return m_manageResourcePolicies; }
195 inline bool ManageResourcePoliciesHasBeenSet() const { return m_manageResourcePoliciesHasBeenSet; }
196 inline void SetManageResourcePolicies(bool value) {
197 m_manageResourcePoliciesHasBeenSet = true;
198 m_manageResourcePolicies = value;
199 }
202 return *this;
203 }
205
207
210 inline const Aws::String& GetDescription() const { return m_description; }
211 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
212 template <typename DescriptionT = Aws::String>
213 void SetDescription(DescriptionT&& value) {
214 m_descriptionHasBeenSet = true;
215 m_description = std::forward<DescriptionT>(value);
216 }
217 template <typename DescriptionT = Aws::String>
219 SetDescription(std::forward<DescriptionT>(value));
220 return *this;
221 }
223
225
228 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
229 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
230 template <typename CreateTimeT = Aws::Utils::DateTime>
231 void SetCreateTime(CreateTimeT&& value) {
232 m_createTimeHasBeenSet = true;
233 m_createTime = std::forward<CreateTimeT>(value);
234 }
235 template <typename CreateTimeT = Aws::Utils::DateTime>
237 SetCreateTime(std::forward<CreateTimeT>(value));
238 return *this;
239 }
241
243
247 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
248 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
249 template <typename UpdateTimeT = Aws::Utils::DateTime>
250 void SetUpdateTime(UpdateTimeT&& value) {
251 m_updateTimeHasBeenSet = true;
252 m_updateTime = std::forward<UpdateTimeT>(value);
253 }
254 template <typename UpdateTimeT = Aws::Utils::DateTime>
256 SetUpdateTime(std::forward<UpdateTimeT>(value));
257 return *this;
258 }
260 private:
261 Aws::String m_id;
262
263 Aws::String m_arn;
264
265 Aws::String m_configuredAudienceModelArn;
266
267 Aws::String m_membershipId;
268
269 Aws::String m_membershipArn;
270
271 Aws::String m_collaborationId;
272
273 Aws::String m_collaborationArn;
274
275 Aws::String m_name;
276
277 bool m_manageResourcePolicies{false};
278
279 Aws::String m_description;
280
281 Aws::Utils::DateTime m_createTime{};
282
283 Aws::Utils::DateTime m_updateTime{};
284 bool m_idHasBeenSet = false;
285 bool m_arnHasBeenSet = false;
286 bool m_configuredAudienceModelArnHasBeenSet = false;
287 bool m_membershipIdHasBeenSet = false;
288 bool m_membershipArnHasBeenSet = false;
289 bool m_collaborationIdHasBeenSet = false;
290 bool m_collaborationArnHasBeenSet = false;
291 bool m_nameHasBeenSet = false;
292 bool m_manageResourcePoliciesHasBeenSet = false;
293 bool m_descriptionHasBeenSet = false;
294 bool m_createTimeHasBeenSet = false;
295 bool m_updateTimeHasBeenSet = false;
296};
297
298} // namespace Model
299} // namespace CleanRooms
300} // namespace Aws
AWS_CLEANROOMS_API ConfiguredAudienceModelAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfiguredAudienceModelAssociation & WithMembershipId(MembershipIdT &&value)
AWS_CLEANROOMS_API ConfiguredAudienceModelAssociation(Aws::Utils::Json::JsonView jsonValue)
ConfiguredAudienceModelAssociation & WithCollaborationArn(CollaborationArnT &&value)
ConfiguredAudienceModelAssociation & WithManageResourcePolicies(bool value)
AWS_CLEANROOMS_API ConfiguredAudienceModelAssociation()=default
ConfiguredAudienceModelAssociation & WithCollaborationId(CollaborationIdT &&value)
ConfiguredAudienceModelAssociation & WithConfiguredAudienceModelArn(ConfiguredAudienceModelArnT &&value)
ConfiguredAudienceModelAssociation & WithMembershipArn(MembershipArnT &&value)
ConfiguredAudienceModelAssociation & WithCreateTime(CreateTimeT &&value)
ConfiguredAudienceModelAssociation & WithDescription(DescriptionT &&value)
ConfiguredAudienceModelAssociation & WithUpdateTime(UpdateTimeT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue