AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/AnalyticsEngine.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace CleanRooms
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_CLEANROOMS_API Collaboration();
41 AWS_CLEANROOMS_API Collaboration(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CLEANROOMS_API Collaboration& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetId() const{ return m_id; }
51 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
54 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
55 inline Collaboration& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline Collaboration& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline Collaboration& WithId(const char* value) { SetId(value); return *this;}
59
61
64 inline const Aws::String& GetArn() const{ return m_arn; }
65 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
66 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
67 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
68 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
69 inline Collaboration& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 inline Collaboration& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
71 inline Collaboration& WithArn(const char* value) { SetArn(value); return *this;}
73
75
79 inline const Aws::String& GetName() const{ return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
82 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
83 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
84 inline Collaboration& WithName(const Aws::String& value) { SetName(value); return *this;}
85 inline Collaboration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
86 inline Collaboration& WithName(const char* value) { SetName(value); return *this;}
88
90
93 inline const Aws::String& GetDescription() const{ return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
96 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
97 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
98 inline Collaboration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
99 inline Collaboration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
100 inline Collaboration& WithDescription(const char* value) { SetDescription(value); return *this;}
102
104
108 inline const Aws::String& GetCreatorAccountId() const{ return m_creatorAccountId; }
109 inline bool CreatorAccountIdHasBeenSet() const { return m_creatorAccountIdHasBeenSet; }
110 inline void SetCreatorAccountId(const Aws::String& value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId = value; }
111 inline void SetCreatorAccountId(Aws::String&& value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId = std::move(value); }
112 inline void SetCreatorAccountId(const char* value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId.assign(value); }
113 inline Collaboration& WithCreatorAccountId(const Aws::String& value) { SetCreatorAccountId(value); return *this;}
114 inline Collaboration& WithCreatorAccountId(Aws::String&& value) { SetCreatorAccountId(std::move(value)); return *this;}
115 inline Collaboration& WithCreatorAccountId(const char* value) { SetCreatorAccountId(value); return *this;}
117
119
122 inline const Aws::String& GetCreatorDisplayName() const{ return m_creatorDisplayName; }
123 inline bool CreatorDisplayNameHasBeenSet() const { return m_creatorDisplayNameHasBeenSet; }
124 inline void SetCreatorDisplayName(const Aws::String& value) { m_creatorDisplayNameHasBeenSet = true; m_creatorDisplayName = value; }
125 inline void SetCreatorDisplayName(Aws::String&& value) { m_creatorDisplayNameHasBeenSet = true; m_creatorDisplayName = std::move(value); }
126 inline void SetCreatorDisplayName(const char* value) { m_creatorDisplayNameHasBeenSet = true; m_creatorDisplayName.assign(value); }
127 inline Collaboration& WithCreatorDisplayName(const Aws::String& value) { SetCreatorDisplayName(value); return *this;}
128 inline Collaboration& WithCreatorDisplayName(Aws::String&& value) { SetCreatorDisplayName(std::move(value)); return *this;}
129 inline Collaboration& WithCreatorDisplayName(const char* value) { SetCreatorDisplayName(value); return *this;}
131
133
136 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
137 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
138 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
139 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
140 inline Collaboration& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
141 inline Collaboration& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
143
145
148 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
149 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
150 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
151 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
152 inline Collaboration& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
153 inline Collaboration& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
155
157
160 inline const MemberStatus& GetMemberStatus() const{ return m_memberStatus; }
161 inline bool MemberStatusHasBeenSet() const { return m_memberStatusHasBeenSet; }
162 inline void SetMemberStatus(const MemberStatus& value) { m_memberStatusHasBeenSet = true; m_memberStatus = value; }
163 inline void SetMemberStatus(MemberStatus&& value) { m_memberStatusHasBeenSet = true; m_memberStatus = std::move(value); }
164 inline Collaboration& WithMemberStatus(const MemberStatus& value) { SetMemberStatus(value); return *this;}
165 inline Collaboration& WithMemberStatus(MemberStatus&& value) { SetMemberStatus(std::move(value)); return *this;}
167
169
172 inline const Aws::String& GetMembershipId() const{ return m_membershipId; }
173 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
174 inline void SetMembershipId(const Aws::String& value) { m_membershipIdHasBeenSet = true; m_membershipId = value; }
175 inline void SetMembershipId(Aws::String&& value) { m_membershipIdHasBeenSet = true; m_membershipId = std::move(value); }
176 inline void SetMembershipId(const char* value) { m_membershipIdHasBeenSet = true; m_membershipId.assign(value); }
177 inline Collaboration& WithMembershipId(const Aws::String& value) { SetMembershipId(value); return *this;}
178 inline Collaboration& WithMembershipId(Aws::String&& value) { SetMembershipId(std::move(value)); return *this;}
179 inline Collaboration& WithMembershipId(const char* value) { SetMembershipId(value); return *this;}
181
183
186 inline const Aws::String& GetMembershipArn() const{ return m_membershipArn; }
187 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
188 inline void SetMembershipArn(const Aws::String& value) { m_membershipArnHasBeenSet = true; m_membershipArn = value; }
189 inline void SetMembershipArn(Aws::String&& value) { m_membershipArnHasBeenSet = true; m_membershipArn = std::move(value); }
190 inline void SetMembershipArn(const char* value) { m_membershipArnHasBeenSet = true; m_membershipArn.assign(value); }
191 inline Collaboration& WithMembershipArn(const Aws::String& value) { SetMembershipArn(value); return *this;}
192 inline Collaboration& WithMembershipArn(Aws::String&& value) { SetMembershipArn(std::move(value)); return *this;}
193 inline Collaboration& WithMembershipArn(const char* value) { SetMembershipArn(value); return *this;}
195
197
200 inline const DataEncryptionMetadata& GetDataEncryptionMetadata() const{ return m_dataEncryptionMetadata; }
201 inline bool DataEncryptionMetadataHasBeenSet() const { return m_dataEncryptionMetadataHasBeenSet; }
202 inline void SetDataEncryptionMetadata(const DataEncryptionMetadata& value) { m_dataEncryptionMetadataHasBeenSet = true; m_dataEncryptionMetadata = value; }
203 inline void SetDataEncryptionMetadata(DataEncryptionMetadata&& value) { m_dataEncryptionMetadataHasBeenSet = true; m_dataEncryptionMetadata = std::move(value); }
207
209
213 inline const CollaborationQueryLogStatus& GetQueryLogStatus() const{ return m_queryLogStatus; }
214 inline bool QueryLogStatusHasBeenSet() const { return m_queryLogStatusHasBeenSet; }
215 inline void SetQueryLogStatus(const CollaborationQueryLogStatus& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = value; }
216 inline void SetQueryLogStatus(CollaborationQueryLogStatus&& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = std::move(value); }
218 inline Collaboration& WithQueryLogStatus(CollaborationQueryLogStatus&& value) { SetQueryLogStatus(std::move(value)); return *this;}
220
222
225 inline const AnalyticsEngine& GetAnalyticsEngine() const{ return m_analyticsEngine; }
226 inline bool AnalyticsEngineHasBeenSet() const { return m_analyticsEngineHasBeenSet; }
227 inline void SetAnalyticsEngine(const AnalyticsEngine& value) { m_analyticsEngineHasBeenSet = true; m_analyticsEngine = value; }
228 inline void SetAnalyticsEngine(AnalyticsEngine&& value) { m_analyticsEngineHasBeenSet = true; m_analyticsEngine = std::move(value); }
229 inline Collaboration& WithAnalyticsEngine(const AnalyticsEngine& value) { SetAnalyticsEngine(value); return *this;}
230 inline Collaboration& WithAnalyticsEngine(AnalyticsEngine&& value) { SetAnalyticsEngine(std::move(value)); return *this;}
232 private:
233
234 Aws::String m_id;
235 bool m_idHasBeenSet = false;
236
237 Aws::String m_arn;
238 bool m_arnHasBeenSet = false;
239
240 Aws::String m_name;
241 bool m_nameHasBeenSet = false;
242
243 Aws::String m_description;
244 bool m_descriptionHasBeenSet = false;
245
246 Aws::String m_creatorAccountId;
247 bool m_creatorAccountIdHasBeenSet = false;
248
249 Aws::String m_creatorDisplayName;
250 bool m_creatorDisplayNameHasBeenSet = false;
251
252 Aws::Utils::DateTime m_createTime;
253 bool m_createTimeHasBeenSet = false;
254
255 Aws::Utils::DateTime m_updateTime;
256 bool m_updateTimeHasBeenSet = false;
257
258 MemberStatus m_memberStatus;
259 bool m_memberStatusHasBeenSet = false;
260
261 Aws::String m_membershipId;
262 bool m_membershipIdHasBeenSet = false;
263
264 Aws::String m_membershipArn;
265 bool m_membershipArnHasBeenSet = false;
266
267 DataEncryptionMetadata m_dataEncryptionMetadata;
268 bool m_dataEncryptionMetadataHasBeenSet = false;
269
270 CollaborationQueryLogStatus m_queryLogStatus;
271 bool m_queryLogStatusHasBeenSet = false;
272
273 AnalyticsEngine m_analyticsEngine;
274 bool m_analyticsEngineHasBeenSet = false;
275 };
276
277} // namespace Model
278} // namespace CleanRooms
279} // namespace Aws
Collaboration & WithCreatorAccountId(const Aws::String &value)
AWS_CLEANROOMS_API Collaboration(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateTime(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
void SetMembershipArn(const Aws::String &value)
void SetCreatorAccountId(const Aws::String &value)
Collaboration & WithId(const char *value)
void SetArn(Aws::String &&value)
void SetCreatorAccountId(Aws::String &&value)
void SetDataEncryptionMetadata(DataEncryptionMetadata &&value)
void SetDescription(const char *value)
void SetDescription(const Aws::String &value)
void SetName(Aws::String &&value)
Collaboration & WithArn(Aws::String &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
Collaboration & WithId(Aws::String &&value)
const DataEncryptionMetadata & GetDataEncryptionMetadata() const
const Aws::String & GetMembershipId() const
const MemberStatus & GetMemberStatus() const
void SetAnalyticsEngine(AnalyticsEngine &&value)
void SetCreatorDisplayName(Aws::String &&value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetCreatorDisplayName() const
const Aws::String & GetName() const
Collaboration & WithUpdateTime(const Aws::Utils::DateTime &value)
AWS_CLEANROOMS_API Collaboration & operator=(Aws::Utils::Json::JsonView jsonValue)
Collaboration & WithArn(const Aws::String &value)
void SetQueryLogStatus(CollaborationQueryLogStatus &&value)
Collaboration & WithDescription(Aws::String &&value)
Collaboration & WithDescription(const char *value)
void SetId(Aws::String &&value)
Collaboration & WithCreatorDisplayName(const char *value)
const AnalyticsEngine & GetAnalyticsEngine() const
const CollaborationQueryLogStatus & GetQueryLogStatus() const
Collaboration & WithCreatorAccountId(Aws::String &&value)
Collaboration & WithAnalyticsEngine(AnalyticsEngine &&value)
Collaboration & WithMemberStatus(const MemberStatus &value)
Collaboration & WithDataEncryptionMetadata(DataEncryptionMetadata &&value)
Collaboration & WithMembershipArn(const Aws::String &value)
void SetDataEncryptionMetadata(const DataEncryptionMetadata &value)
const Aws::String & GetMembershipArn() const
Collaboration & WithMemberStatus(MemberStatus &&value)
Collaboration & WithCreatorDisplayName(const Aws::String &value)
void SetCreatorDisplayName(const char *value)
Collaboration & WithCreateTime(Aws::Utils::DateTime &&value)
Collaboration & WithMembershipId(const Aws::String &value)
void SetMembershipId(const char *value)
const Aws::Utils::DateTime & GetUpdateTime() const
void SetArn(const Aws::String &value)
void SetMembershipArn(Aws::String &&value)
Collaboration & WithName(const char *value)
void SetQueryLogStatus(const CollaborationQueryLogStatus &value)
void SetId(const Aws::String &value)
Collaboration & WithDataEncryptionMetadata(const DataEncryptionMetadata &value)
Collaboration & WithName(Aws::String &&value)
void SetMemberStatus(MemberStatus &&value)
Collaboration & WithMembershipId(Aws::String &&value)
Collaboration & WithCreatorDisplayName(Aws::String &&value)
Collaboration & WithMembershipId(const char *value)
Collaboration & WithId(const Aws::String &value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetCreateTime() const
Collaboration & WithDescription(const Aws::String &value)
Collaboration & WithAnalyticsEngine(const AnalyticsEngine &value)
const Aws::String & GetCreatorAccountId() const
void SetMembershipArn(const char *value)
Collaboration & WithQueryLogStatus(const CollaborationQueryLogStatus &value)
Collaboration & WithCreateTime(const Aws::Utils::DateTime &value)
void SetDescription(Aws::String &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
Collaboration & WithArn(const char *value)
void SetMembershipId(Aws::String &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
Collaboration & WithQueryLogStatus(CollaborationQueryLogStatus &&value)
Collaboration & WithUpdateTime(Aws::Utils::DateTime &&value)
Collaboration & WithCreatorAccountId(const char *value)
void SetMembershipId(const Aws::String &value)
void SetCreatorAccountId(const char *value)
void SetMemberStatus(const MemberStatus &value)
Collaboration & WithMembershipArn(const char *value)
void SetCreatorDisplayName(const Aws::String &value)
void SetAnalyticsEngine(const AnalyticsEngine &value)
Collaboration & WithMembershipArn(Aws::String &&value)
const Aws::String & GetDescription() const
Collaboration & WithName(const Aws::String &value)
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue