AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
Collaboration.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/MemberStatus.h>
11#include <aws/cleanrooms/model/DataEncryptionMetadata.h>
12#include <aws/cleanrooms/model/CollaborationQueryLogStatus.h>
13#include <aws/cleanrooms/model/CollaborationJobLogStatus.h>
14#include <aws/cleanrooms/model/AnalyticsEngine.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/cleanrooms/model/AutoApprovedChangeType.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace CleanRooms
30{
31namespace Model
32{
33
41 {
42 public:
43 AWS_CLEANROOMS_API Collaboration() = default;
44 AWS_CLEANROOMS_API Collaboration(Aws::Utils::Json::JsonView jsonValue);
45 AWS_CLEANROOMS_API Collaboration& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetId() const { return m_id; }
54 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
55 template<typename IdT = Aws::String>
56 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
57 template<typename IdT = Aws::String>
58 Collaboration& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetArn() const { return m_arn; }
66 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
67 template<typename ArnT = Aws::String>
68 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
69 template<typename ArnT = Aws::String>
70 Collaboration& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
72
74
78 inline const Aws::String& GetName() const { return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 template<typename NameT = Aws::String>
81 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
82 template<typename NameT = Aws::String>
83 Collaboration& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 template<typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
94 template<typename DescriptionT = Aws::String>
95 Collaboration& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
97
99
103 inline const Aws::String& GetCreatorAccountId() const { return m_creatorAccountId; }
104 inline bool CreatorAccountIdHasBeenSet() const { return m_creatorAccountIdHasBeenSet; }
105 template<typename CreatorAccountIdT = Aws::String>
106 void SetCreatorAccountId(CreatorAccountIdT&& value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId = std::forward<CreatorAccountIdT>(value); }
107 template<typename CreatorAccountIdT = Aws::String>
108 Collaboration& WithCreatorAccountId(CreatorAccountIdT&& value) { SetCreatorAccountId(std::forward<CreatorAccountIdT>(value)); return *this;}
110
112
115 inline const Aws::String& GetCreatorDisplayName() const { return m_creatorDisplayName; }
116 inline bool CreatorDisplayNameHasBeenSet() const { return m_creatorDisplayNameHasBeenSet; }
117 template<typename CreatorDisplayNameT = Aws::String>
118 void SetCreatorDisplayName(CreatorDisplayNameT&& value) { m_creatorDisplayNameHasBeenSet = true; m_creatorDisplayName = std::forward<CreatorDisplayNameT>(value); }
119 template<typename CreatorDisplayNameT = Aws::String>
120 Collaboration& WithCreatorDisplayName(CreatorDisplayNameT&& value) { SetCreatorDisplayName(std::forward<CreatorDisplayNameT>(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
128 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
129 template<typename CreateTimeT = Aws::Utils::DateTime>
130 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
131 template<typename CreateTimeT = Aws::Utils::DateTime>
132 Collaboration& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
140 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
141 template<typename UpdateTimeT = Aws::Utils::DateTime>
142 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
143 template<typename UpdateTimeT = Aws::Utils::DateTime>
144 Collaboration& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
146
148
151 inline MemberStatus GetMemberStatus() const { return m_memberStatus; }
152 inline bool MemberStatusHasBeenSet() const { return m_memberStatusHasBeenSet; }
153 inline void SetMemberStatus(MemberStatus value) { m_memberStatusHasBeenSet = true; m_memberStatus = value; }
154 inline Collaboration& WithMemberStatus(MemberStatus value) { SetMemberStatus(value); return *this;}
156
158
161 inline const Aws::String& GetMembershipId() const { return m_membershipId; }
162 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
163 template<typename MembershipIdT = Aws::String>
164 void SetMembershipId(MembershipIdT&& value) { m_membershipIdHasBeenSet = true; m_membershipId = std::forward<MembershipIdT>(value); }
165 template<typename MembershipIdT = Aws::String>
166 Collaboration& WithMembershipId(MembershipIdT&& value) { SetMembershipId(std::forward<MembershipIdT>(value)); return *this;}
168
170
173 inline const Aws::String& GetMembershipArn() const { return m_membershipArn; }
174 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
175 template<typename MembershipArnT = Aws::String>
176 void SetMembershipArn(MembershipArnT&& value) { m_membershipArnHasBeenSet = true; m_membershipArn = std::forward<MembershipArnT>(value); }
177 template<typename MembershipArnT = Aws::String>
178 Collaboration& WithMembershipArn(MembershipArnT&& value) { SetMembershipArn(std::forward<MembershipArnT>(value)); return *this;}
180
182
185 inline const DataEncryptionMetadata& GetDataEncryptionMetadata() const { return m_dataEncryptionMetadata; }
186 inline bool DataEncryptionMetadataHasBeenSet() const { return m_dataEncryptionMetadataHasBeenSet; }
187 template<typename DataEncryptionMetadataT = DataEncryptionMetadata>
188 void SetDataEncryptionMetadata(DataEncryptionMetadataT&& value) { m_dataEncryptionMetadataHasBeenSet = true; m_dataEncryptionMetadata = std::forward<DataEncryptionMetadataT>(value); }
189 template<typename DataEncryptionMetadataT = DataEncryptionMetadata>
190 Collaboration& WithDataEncryptionMetadata(DataEncryptionMetadataT&& value) { SetDataEncryptionMetadata(std::forward<DataEncryptionMetadataT>(value)); return *this;}
192
194
200 inline CollaborationQueryLogStatus GetQueryLogStatus() const { return m_queryLogStatus; }
201 inline bool QueryLogStatusHasBeenSet() const { return m_queryLogStatusHasBeenSet; }
202 inline void SetQueryLogStatus(CollaborationQueryLogStatus value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = value; }
205
207
213 inline CollaborationJobLogStatus GetJobLogStatus() const { return m_jobLogStatus; }
214 inline bool JobLogStatusHasBeenSet() const { return m_jobLogStatusHasBeenSet; }
215 inline void SetJobLogStatus(CollaborationJobLogStatus value) { m_jobLogStatusHasBeenSet = true; m_jobLogStatus = value; }
218
220
225 inline AnalyticsEngine GetAnalyticsEngine() const { return m_analyticsEngine; }
226 inline bool AnalyticsEngineHasBeenSet() const { return m_analyticsEngineHasBeenSet; }
227 inline void SetAnalyticsEngine(AnalyticsEngine value) { m_analyticsEngineHasBeenSet = true; m_analyticsEngine = value; }
230
232
236 inline const Aws::Vector<AutoApprovedChangeType>& GetAutoApprovedChangeTypes() const { return m_autoApprovedChangeTypes; }
237 inline bool AutoApprovedChangeTypesHasBeenSet() const { return m_autoApprovedChangeTypesHasBeenSet; }
238 template<typename AutoApprovedChangeTypesT = Aws::Vector<AutoApprovedChangeType>>
239 void SetAutoApprovedChangeTypes(AutoApprovedChangeTypesT&& value) { m_autoApprovedChangeTypesHasBeenSet = true; m_autoApprovedChangeTypes = std::forward<AutoApprovedChangeTypesT>(value); }
240 template<typename AutoApprovedChangeTypesT = Aws::Vector<AutoApprovedChangeType>>
241 Collaboration& WithAutoApprovedChangeTypes(AutoApprovedChangeTypesT&& value) { SetAutoApprovedChangeTypes(std::forward<AutoApprovedChangeTypesT>(value)); return *this;}
242 inline Collaboration& AddAutoApprovedChangeTypes(AutoApprovedChangeType value) { m_autoApprovedChangeTypesHasBeenSet = true; m_autoApprovedChangeTypes.push_back(value); return *this; }
244 private:
245
246 Aws::String m_id;
247 bool m_idHasBeenSet = false;
248
249 Aws::String m_arn;
250 bool m_arnHasBeenSet = false;
251
252 Aws::String m_name;
253 bool m_nameHasBeenSet = false;
254
255 Aws::String m_description;
256 bool m_descriptionHasBeenSet = false;
257
258 Aws::String m_creatorAccountId;
259 bool m_creatorAccountIdHasBeenSet = false;
260
261 Aws::String m_creatorDisplayName;
262 bool m_creatorDisplayNameHasBeenSet = false;
263
264 Aws::Utils::DateTime m_createTime{};
265 bool m_createTimeHasBeenSet = false;
266
267 Aws::Utils::DateTime m_updateTime{};
268 bool m_updateTimeHasBeenSet = false;
269
270 MemberStatus m_memberStatus{MemberStatus::NOT_SET};
271 bool m_memberStatusHasBeenSet = false;
272
273 Aws::String m_membershipId;
274 bool m_membershipIdHasBeenSet = false;
275
276 Aws::String m_membershipArn;
277 bool m_membershipArnHasBeenSet = false;
278
279 DataEncryptionMetadata m_dataEncryptionMetadata;
280 bool m_dataEncryptionMetadataHasBeenSet = false;
281
283 bool m_queryLogStatusHasBeenSet = false;
284
286 bool m_jobLogStatusHasBeenSet = false;
287
288 AnalyticsEngine m_analyticsEngine{AnalyticsEngine::NOT_SET};
289 bool m_analyticsEngineHasBeenSet = false;
290
291 Aws::Vector<AutoApprovedChangeType> m_autoApprovedChangeTypes;
292 bool m_autoApprovedChangeTypesHasBeenSet = false;
293 };
294
295} // namespace Model
296} // namespace CleanRooms
297} // namespace Aws
AWS_CLEANROOMS_API Collaboration(Aws::Utils::Json::JsonView jsonValue)
Collaboration & WithName(NameT &&value)
void SetCreateTime(CreateTimeT &&value)
Collaboration & WithMembershipId(MembershipIdT &&value)
CollaborationJobLogStatus GetJobLogStatus() const
Collaboration & WithCreateTime(CreateTimeT &&value)
void SetMembershipArn(MembershipArnT &&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 & 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
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