AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
Collaboration.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/AnalyticsEngine.h>
9#include <aws/cleanrooms/model/AutoApprovedChangeType.h>
10#include <aws/cleanrooms/model/CollaborationJobLogStatus.h>
11#include <aws/cleanrooms/model/CollaborationQueryLogStatus.h>
12#include <aws/cleanrooms/model/DataEncryptionMetadata.h>
13#include <aws/cleanrooms/model/MemberStatus.h>
14#include <aws/cleanrooms/model/SupportedS3Region.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace CleanRooms {
29namespace Model {
30
38 public:
39 AWS_CLEANROOMS_API Collaboration() = default;
40 AWS_CLEANROOMS_API Collaboration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLEANROOMS_API Collaboration& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template <typename IdT = Aws::String>
51 void SetId(IdT&& value) {
52 m_idHasBeenSet = true;
53 m_id = std::forward<IdT>(value);
54 }
55 template <typename IdT = Aws::String>
56 Collaboration& WithId(IdT&& value) {
57 SetId(std::forward<IdT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetArn() const { return m_arn; }
67 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
68 template <typename ArnT = Aws::String>
69 void SetArn(ArnT&& value) {
70 m_arnHasBeenSet = true;
71 m_arn = std::forward<ArnT>(value);
72 }
73 template <typename ArnT = Aws::String>
74 Collaboration& WithArn(ArnT&& value) {
75 SetArn(std::forward<ArnT>(value));
76 return *this;
77 }
79
81
85 inline const Aws::String& GetName() const { return m_name; }
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 template <typename NameT = Aws::String>
88 void SetName(NameT&& value) {
89 m_nameHasBeenSet = true;
90 m_name = std::forward<NameT>(value);
91 }
92 template <typename NameT = Aws::String>
93 Collaboration& WithName(NameT&& value) {
94 SetName(std::forward<NameT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetDescription() const { return m_description; }
104 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
105 template <typename DescriptionT = Aws::String>
106 void SetDescription(DescriptionT&& value) {
107 m_descriptionHasBeenSet = true;
108 m_description = std::forward<DescriptionT>(value);
109 }
110 template <typename DescriptionT = Aws::String>
111 Collaboration& WithDescription(DescriptionT&& value) {
112 SetDescription(std::forward<DescriptionT>(value));
113 return *this;
114 }
116
118
122 inline const Aws::String& GetCreatorAccountId() const { return m_creatorAccountId; }
123 inline bool CreatorAccountIdHasBeenSet() const { return m_creatorAccountIdHasBeenSet; }
124 template <typename CreatorAccountIdT = Aws::String>
125 void SetCreatorAccountId(CreatorAccountIdT&& value) {
126 m_creatorAccountIdHasBeenSet = true;
127 m_creatorAccountId = std::forward<CreatorAccountIdT>(value);
128 }
129 template <typename CreatorAccountIdT = Aws::String>
130 Collaboration& WithCreatorAccountId(CreatorAccountIdT&& value) {
131 SetCreatorAccountId(std::forward<CreatorAccountIdT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::String& GetCreatorDisplayName() const { return m_creatorDisplayName; }
141 inline bool CreatorDisplayNameHasBeenSet() const { return m_creatorDisplayNameHasBeenSet; }
142 template <typename CreatorDisplayNameT = Aws::String>
143 void SetCreatorDisplayName(CreatorDisplayNameT&& value) {
144 m_creatorDisplayNameHasBeenSet = true;
145 m_creatorDisplayName = std::forward<CreatorDisplayNameT>(value);
146 }
147 template <typename CreatorDisplayNameT = Aws::String>
148 Collaboration& WithCreatorDisplayName(CreatorDisplayNameT&& value) {
149 SetCreatorDisplayName(std::forward<CreatorDisplayNameT>(value));
150 return *this;
151 }
153
155
158 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
159 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
160 template <typename CreateTimeT = Aws::Utils::DateTime>
161 void SetCreateTime(CreateTimeT&& value) {
162 m_createTimeHasBeenSet = true;
163 m_createTime = std::forward<CreateTimeT>(value);
164 }
165 template <typename CreateTimeT = Aws::Utils::DateTime>
166 Collaboration& WithCreateTime(CreateTimeT&& value) {
167 SetCreateTime(std::forward<CreateTimeT>(value));
168 return *this;
169 }
171
173
176 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
177 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
178 template <typename UpdateTimeT = Aws::Utils::DateTime>
179 void SetUpdateTime(UpdateTimeT&& value) {
180 m_updateTimeHasBeenSet = true;
181 m_updateTime = std::forward<UpdateTimeT>(value);
182 }
183 template <typename UpdateTimeT = Aws::Utils::DateTime>
184 Collaboration& WithUpdateTime(UpdateTimeT&& value) {
185 SetUpdateTime(std::forward<UpdateTimeT>(value));
186 return *this;
187 }
189
191
194 inline MemberStatus GetMemberStatus() const { return m_memberStatus; }
195 inline bool MemberStatusHasBeenSet() const { return m_memberStatusHasBeenSet; }
196 inline void SetMemberStatus(MemberStatus value) {
197 m_memberStatusHasBeenSet = true;
198 m_memberStatus = value;
199 }
201 SetMemberStatus(value);
202 return *this;
203 }
205
207
210 inline const Aws::String& GetMembershipId() const { return m_membershipId; }
211 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
212 template <typename MembershipIdT = Aws::String>
213 void SetMembershipId(MembershipIdT&& value) {
214 m_membershipIdHasBeenSet = true;
215 m_membershipId = std::forward<MembershipIdT>(value);
216 }
217 template <typename MembershipIdT = Aws::String>
218 Collaboration& WithMembershipId(MembershipIdT&& value) {
219 SetMembershipId(std::forward<MembershipIdT>(value));
220 return *this;
221 }
223
225
228 inline const Aws::String& GetMembershipArn() const { return m_membershipArn; }
229 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
230 template <typename MembershipArnT = Aws::String>
231 void SetMembershipArn(MembershipArnT&& value) {
232 m_membershipArnHasBeenSet = true;
233 m_membershipArn = std::forward<MembershipArnT>(value);
234 }
235 template <typename MembershipArnT = Aws::String>
236 Collaboration& WithMembershipArn(MembershipArnT&& value) {
237 SetMembershipArn(std::forward<MembershipArnT>(value));
238 return *this;
239 }
241
243
246 inline const DataEncryptionMetadata& GetDataEncryptionMetadata() const { return m_dataEncryptionMetadata; }
247 inline bool DataEncryptionMetadataHasBeenSet() const { return m_dataEncryptionMetadataHasBeenSet; }
248 template <typename DataEncryptionMetadataT = DataEncryptionMetadata>
249 void SetDataEncryptionMetadata(DataEncryptionMetadataT&& value) {
250 m_dataEncryptionMetadataHasBeenSet = true;
251 m_dataEncryptionMetadata = std::forward<DataEncryptionMetadataT>(value);
252 }
253 template <typename DataEncryptionMetadataT = DataEncryptionMetadata>
254 Collaboration& WithDataEncryptionMetadata(DataEncryptionMetadataT&& value) {
255 SetDataEncryptionMetadata(std::forward<DataEncryptionMetadataT>(value));
256 return *this;
257 }
259
261
267 inline CollaborationQueryLogStatus GetQueryLogStatus() const { return m_queryLogStatus; }
268 inline bool QueryLogStatusHasBeenSet() const { return m_queryLogStatusHasBeenSet; }
270 m_queryLogStatusHasBeenSet = true;
271 m_queryLogStatus = value;
272 }
274 SetQueryLogStatus(value);
275 return *this;
276 }
278
280
286 inline CollaborationJobLogStatus GetJobLogStatus() const { return m_jobLogStatus; }
287 inline bool JobLogStatusHasBeenSet() const { return m_jobLogStatusHasBeenSet; }
289 m_jobLogStatusHasBeenSet = true;
290 m_jobLogStatus = value;
291 }
293 SetJobLogStatus(value);
294 return *this;
295 }
297
299
304 inline AnalyticsEngine GetAnalyticsEngine() const { return m_analyticsEngine; }
305 inline bool AnalyticsEngineHasBeenSet() const { return m_analyticsEngineHasBeenSet; }
307 m_analyticsEngineHasBeenSet = true;
308 m_analyticsEngine = value;
309 }
311 SetAnalyticsEngine(value);
312 return *this;
313 }
315
317
321 inline const Aws::Vector<AutoApprovedChangeType>& GetAutoApprovedChangeTypes() const { return m_autoApprovedChangeTypes; }
322 inline bool AutoApprovedChangeTypesHasBeenSet() const { return m_autoApprovedChangeTypesHasBeenSet; }
323 template <typename AutoApprovedChangeTypesT = Aws::Vector<AutoApprovedChangeType>>
324 void SetAutoApprovedChangeTypes(AutoApprovedChangeTypesT&& value) {
325 m_autoApprovedChangeTypesHasBeenSet = true;
326 m_autoApprovedChangeTypes = std::forward<AutoApprovedChangeTypesT>(value);
327 }
328 template <typename AutoApprovedChangeTypesT = Aws::Vector<AutoApprovedChangeType>>
329 Collaboration& WithAutoApprovedChangeTypes(AutoApprovedChangeTypesT&& value) {
330 SetAutoApprovedChangeTypes(std::forward<AutoApprovedChangeTypesT>(value));
331 return *this;
332 }
334 m_autoApprovedChangeTypesHasBeenSet = true;
335 m_autoApprovedChangeTypes.push_back(value);
336 return *this;
337 }
339
341
347 inline const Aws::Vector<SupportedS3Region>& GetAllowedResultRegions() const { return m_allowedResultRegions; }
348 inline bool AllowedResultRegionsHasBeenSet() const { return m_allowedResultRegionsHasBeenSet; }
349 template <typename AllowedResultRegionsT = Aws::Vector<SupportedS3Region>>
350 void SetAllowedResultRegions(AllowedResultRegionsT&& value) {
351 m_allowedResultRegionsHasBeenSet = true;
352 m_allowedResultRegions = std::forward<AllowedResultRegionsT>(value);
353 }
354 template <typename AllowedResultRegionsT = Aws::Vector<SupportedS3Region>>
355 Collaboration& WithAllowedResultRegions(AllowedResultRegionsT&& value) {
356 SetAllowedResultRegions(std::forward<AllowedResultRegionsT>(value));
357 return *this;
358 }
360 m_allowedResultRegionsHasBeenSet = true;
361 m_allowedResultRegions.push_back(value);
362 return *this;
363 }
365
367
372 inline bool GetIsMetricsEnabled() const { return m_isMetricsEnabled; }
373 inline bool IsMetricsEnabledHasBeenSet() const { return m_isMetricsEnabledHasBeenSet; }
374 inline void SetIsMetricsEnabled(bool value) {
375 m_isMetricsEnabledHasBeenSet = true;
376 m_isMetricsEnabled = value;
377 }
379 SetIsMetricsEnabled(value);
380 return *this;
381 }
383 private:
384 Aws::String m_id;
385
386 Aws::String m_arn;
387
388 Aws::String m_name;
389
390 Aws::String m_description;
391
392 Aws::String m_creatorAccountId;
393
394 Aws::String m_creatorDisplayName;
395
396 Aws::Utils::DateTime m_createTime{};
397
398 Aws::Utils::DateTime m_updateTime{};
399
400 MemberStatus m_memberStatus{MemberStatus::NOT_SET};
401
402 Aws::String m_membershipId;
403
404 Aws::String m_membershipArn;
405
406 DataEncryptionMetadata m_dataEncryptionMetadata;
407
409
411
412 AnalyticsEngine m_analyticsEngine{AnalyticsEngine::NOT_SET};
413
414 Aws::Vector<AutoApprovedChangeType> m_autoApprovedChangeTypes;
415
416 Aws::Vector<SupportedS3Region> m_allowedResultRegions;
417
418 bool m_isMetricsEnabled{false};
419 bool m_idHasBeenSet = false;
420 bool m_arnHasBeenSet = false;
421 bool m_nameHasBeenSet = false;
422 bool m_descriptionHasBeenSet = false;
423 bool m_creatorAccountIdHasBeenSet = false;
424 bool m_creatorDisplayNameHasBeenSet = false;
425 bool m_createTimeHasBeenSet = false;
426 bool m_updateTimeHasBeenSet = false;
427 bool m_memberStatusHasBeenSet = false;
428 bool m_membershipIdHasBeenSet = false;
429 bool m_membershipArnHasBeenSet = false;
430 bool m_dataEncryptionMetadataHasBeenSet = false;
431 bool m_queryLogStatusHasBeenSet = false;
432 bool m_jobLogStatusHasBeenSet = false;
433 bool m_analyticsEngineHasBeenSet = false;
434 bool m_autoApprovedChangeTypesHasBeenSet = false;
435 bool m_allowedResultRegionsHasBeenSet = false;
436 bool m_isMetricsEnabledHasBeenSet = false;
437};
438
439} // namespace Model
440} // namespace CleanRooms
441} // namespace Aws
AWS_CLEANROOMS_API Collaboration(Aws::Utils::Json::JsonView jsonValue)
Collaboration & WithName(NameT &&value)
void SetAllowedResultRegions(AllowedResultRegionsT &&value)
void SetCreateTime(CreateTimeT &&value)
Collaboration & WithAllowedResultRegions(AllowedResultRegionsT &&value)
Collaboration & WithMembershipId(MembershipIdT &&value)
CollaborationJobLogStatus GetJobLogStatus() const
Collaboration & WithCreateTime(CreateTimeT &&value)
void SetMembershipArn(MembershipArnT &&value)
Collaboration & WithIsMetricsEnabled(bool value)
const DataEncryptionMetadata & GetDataEncryptionMetadata() const
const Aws::String & GetMembershipId() const
const Aws::String & GetCreatorDisplayName() const
const Aws::String & GetName() const
AWS_CLEANROOMS_API Collaboration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateTime(UpdateTimeT &&value)
void SetJobLogStatus(CollaborationJobLogStatus value)
Collaboration & AddAutoApprovedChangeTypes(AutoApprovedChangeType value)
const Aws::Vector< AutoApprovedChangeType > & GetAutoApprovedChangeTypes() const
CollaborationQueryLogStatus GetQueryLogStatus() const
void SetDescription(DescriptionT &&value)
Collaboration & WithMembershipArn(MembershipArnT &&value)
Collaboration & AddAllowedResultRegions(SupportedS3Region value)
Collaboration & WithUpdateTime(UpdateTimeT &&value)
void SetCreatorAccountId(CreatorAccountIdT &&value)
void SetMembershipId(MembershipIdT &&value)
Collaboration & WithAnalyticsEngine(AnalyticsEngine value)
Collaboration & WithArn(ArnT &&value)
const Aws::String & GetMembershipArn() const
void SetMemberStatus(MemberStatus value)
const Aws::Utils::DateTime & GetUpdateTime() const
Collaboration & WithQueryLogStatus(CollaborationQueryLogStatus value)
Collaboration & WithCreatorDisplayName(CreatorDisplayNameT &&value)
Collaboration & WithAutoApprovedChangeTypes(AutoApprovedChangeTypesT &&value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetCreateTime() const
void SetDataEncryptionMetadata(DataEncryptionMetadataT &&value)
const Aws::String & GetCreatorAccountId() const
const Aws::Vector< SupportedS3Region > & GetAllowedResultRegions() const
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API Collaboration()=default
Collaboration & WithJobLogStatus(CollaborationJobLogStatus value)
void SetQueryLogStatus(CollaborationQueryLogStatus value)
void SetCreatorDisplayName(CreatorDisplayNameT &&value)
Collaboration & WithId(IdT &&value)
Collaboration & WithDescription(DescriptionT &&value)
void SetAnalyticsEngine(AnalyticsEngine value)
void SetAutoApprovedChangeTypes(AutoApprovedChangeTypesT &&value)
const Aws::String & GetDescription() const
Collaboration & WithCreatorAccountId(CreatorAccountIdT &&value)
Collaboration & WithMemberStatus(MemberStatus value)
const Aws::String & GetId() const
AnalyticsEngine GetAnalyticsEngine() const
Collaboration & WithDataEncryptionMetadata(DataEncryptionMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue