AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Membership.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/MembershipStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/cleanrooms/model/MembershipQueryLogStatus.h>
13#include <aws/cleanrooms/model/MembershipProtectedQueryResultConfiguration.h>
14#include <aws/cleanrooms/model/MembershipPaymentConfiguration.h>
15#include <aws/cleanrooms/model/MemberAbility.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace CleanRooms
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_CLEANROOMS_API Membership();
42 AWS_CLEANROOMS_API Membership(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CLEANROOMS_API Membership& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetId() const{ return m_id; }
52 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
54 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
55 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
56 inline Membership& WithId(const Aws::String& value) { SetId(value); return *this;}
57 inline Membership& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
58 inline Membership& WithId(const char* value) { SetId(value); return *this;}
60
62
65 inline const Aws::String& GetArn() const{ return m_arn; }
66 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
67 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
68 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
69 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
70 inline Membership& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 inline Membership& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
72 inline Membership& WithArn(const char* value) { SetArn(value); return *this;}
74
76
79 inline const Aws::String& GetCollaborationArn() const{ return m_collaborationArn; }
80 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
81 inline void SetCollaborationArn(const Aws::String& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = value; }
82 inline void SetCollaborationArn(Aws::String&& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = std::move(value); }
83 inline void SetCollaborationArn(const char* value) { m_collaborationArnHasBeenSet = true; m_collaborationArn.assign(value); }
84 inline Membership& WithCollaborationArn(const Aws::String& value) { SetCollaborationArn(value); return *this;}
85 inline Membership& WithCollaborationArn(Aws::String&& value) { SetCollaborationArn(std::move(value)); return *this;}
86 inline Membership& WithCollaborationArn(const char* value) { SetCollaborationArn(value); return *this;}
88
90
93 inline const Aws::String& GetCollaborationId() const{ return m_collaborationId; }
94 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
95 inline void SetCollaborationId(const Aws::String& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = value; }
96 inline void SetCollaborationId(Aws::String&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::move(value); }
97 inline void SetCollaborationId(const char* value) { m_collaborationIdHasBeenSet = true; m_collaborationId.assign(value); }
98 inline Membership& WithCollaborationId(const Aws::String& value) { SetCollaborationId(value); return *this;}
99 inline Membership& WithCollaborationId(Aws::String&& value) { SetCollaborationId(std::move(value)); return *this;}
100 inline Membership& WithCollaborationId(const char* value) { SetCollaborationId(value); return *this;}
102
104
108 inline const Aws::String& GetCollaborationCreatorAccountId() const{ return m_collaborationCreatorAccountId; }
109 inline bool CollaborationCreatorAccountIdHasBeenSet() const { return m_collaborationCreatorAccountIdHasBeenSet; }
110 inline void SetCollaborationCreatorAccountId(const Aws::String& value) { m_collaborationCreatorAccountIdHasBeenSet = true; m_collaborationCreatorAccountId = value; }
111 inline void SetCollaborationCreatorAccountId(Aws::String&& value) { m_collaborationCreatorAccountIdHasBeenSet = true; m_collaborationCreatorAccountId = std::move(value); }
112 inline void SetCollaborationCreatorAccountId(const char* value) { m_collaborationCreatorAccountIdHasBeenSet = true; m_collaborationCreatorAccountId.assign(value); }
115 inline Membership& WithCollaborationCreatorAccountId(const char* value) { SetCollaborationCreatorAccountId(value); return *this;}
117
119
122 inline const Aws::String& GetCollaborationCreatorDisplayName() const{ return m_collaborationCreatorDisplayName; }
123 inline bool CollaborationCreatorDisplayNameHasBeenSet() const { return m_collaborationCreatorDisplayNameHasBeenSet; }
124 inline void SetCollaborationCreatorDisplayName(const Aws::String& value) { m_collaborationCreatorDisplayNameHasBeenSet = true; m_collaborationCreatorDisplayName = value; }
125 inline void SetCollaborationCreatorDisplayName(Aws::String&& value) { m_collaborationCreatorDisplayNameHasBeenSet = true; m_collaborationCreatorDisplayName = std::move(value); }
126 inline void SetCollaborationCreatorDisplayName(const char* value) { m_collaborationCreatorDisplayNameHasBeenSet = true; m_collaborationCreatorDisplayName.assign(value); }
131
133
136 inline const Aws::String& GetCollaborationName() const{ return m_collaborationName; }
137 inline bool CollaborationNameHasBeenSet() const { return m_collaborationNameHasBeenSet; }
138 inline void SetCollaborationName(const Aws::String& value) { m_collaborationNameHasBeenSet = true; m_collaborationName = value; }
139 inline void SetCollaborationName(Aws::String&& value) { m_collaborationNameHasBeenSet = true; m_collaborationName = std::move(value); }
140 inline void SetCollaborationName(const char* value) { m_collaborationNameHasBeenSet = true; m_collaborationName.assign(value); }
141 inline Membership& WithCollaborationName(const Aws::String& value) { SetCollaborationName(value); return *this;}
142 inline Membership& WithCollaborationName(Aws::String&& value) { SetCollaborationName(std::move(value)); return *this;}
143 inline Membership& WithCollaborationName(const char* value) { SetCollaborationName(value); return *this;}
145
147
150 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
151 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
152 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
153 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
154 inline Membership& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
155 inline Membership& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
157
159
162 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
163 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
164 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
165 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
166 inline Membership& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
167 inline Membership& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
169
171
174 inline const MembershipStatus& GetStatus() const{ return m_status; }
175 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
176 inline void SetStatus(const MembershipStatus& value) { m_statusHasBeenSet = true; m_status = value; }
177 inline void SetStatus(MembershipStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
178 inline Membership& WithStatus(const MembershipStatus& value) { SetStatus(value); return *this;}
179 inline Membership& WithStatus(MembershipStatus&& value) { SetStatus(std::move(value)); return *this;}
181
183
186 inline const Aws::Vector<MemberAbility>& GetMemberAbilities() const{ return m_memberAbilities; }
187 inline bool MemberAbilitiesHasBeenSet() const { return m_memberAbilitiesHasBeenSet; }
188 inline void SetMemberAbilities(const Aws::Vector<MemberAbility>& value) { m_memberAbilitiesHasBeenSet = true; m_memberAbilities = value; }
189 inline void SetMemberAbilities(Aws::Vector<MemberAbility>&& value) { m_memberAbilitiesHasBeenSet = true; m_memberAbilities = std::move(value); }
191 inline Membership& WithMemberAbilities(Aws::Vector<MemberAbility>&& value) { SetMemberAbilities(std::move(value)); return *this;}
192 inline Membership& AddMemberAbilities(const MemberAbility& value) { m_memberAbilitiesHasBeenSet = true; m_memberAbilities.push_back(value); return *this; }
193 inline Membership& AddMemberAbilities(MemberAbility&& value) { m_memberAbilitiesHasBeenSet = true; m_memberAbilities.push_back(std::move(value)); return *this; }
195
197
201 inline const MembershipQueryLogStatus& GetQueryLogStatus() const{ return m_queryLogStatus; }
202 inline bool QueryLogStatusHasBeenSet() const { return m_queryLogStatusHasBeenSet; }
203 inline void SetQueryLogStatus(const MembershipQueryLogStatus& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = value; }
204 inline void SetQueryLogStatus(MembershipQueryLogStatus&& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = std::move(value); }
205 inline Membership& WithQueryLogStatus(const MembershipQueryLogStatus& value) { SetQueryLogStatus(value); return *this;}
206 inline Membership& WithQueryLogStatus(MembershipQueryLogStatus&& value) { SetQueryLogStatus(std::move(value)); return *this;}
208
210
214 inline const MembershipProtectedQueryResultConfiguration& GetDefaultResultConfiguration() const{ return m_defaultResultConfiguration; }
215 inline bool DefaultResultConfigurationHasBeenSet() const { return m_defaultResultConfigurationHasBeenSet; }
216 inline void SetDefaultResultConfiguration(const MembershipProtectedQueryResultConfiguration& value) { m_defaultResultConfigurationHasBeenSet = true; m_defaultResultConfiguration = value; }
217 inline void SetDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration&& value) { m_defaultResultConfigurationHasBeenSet = true; m_defaultResultConfiguration = std::move(value); }
221
223
226 inline const MembershipPaymentConfiguration& GetPaymentConfiguration() const{ return m_paymentConfiguration; }
227 inline bool PaymentConfigurationHasBeenSet() const { return m_paymentConfigurationHasBeenSet; }
228 inline void SetPaymentConfiguration(const MembershipPaymentConfiguration& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = value; }
229 inline void SetPaymentConfiguration(MembershipPaymentConfiguration&& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = std::move(value); }
233 private:
234
235 Aws::String m_id;
236 bool m_idHasBeenSet = false;
237
238 Aws::String m_arn;
239 bool m_arnHasBeenSet = false;
240
241 Aws::String m_collaborationArn;
242 bool m_collaborationArnHasBeenSet = false;
243
244 Aws::String m_collaborationId;
245 bool m_collaborationIdHasBeenSet = false;
246
247 Aws::String m_collaborationCreatorAccountId;
248 bool m_collaborationCreatorAccountIdHasBeenSet = false;
249
250 Aws::String m_collaborationCreatorDisplayName;
251 bool m_collaborationCreatorDisplayNameHasBeenSet = false;
252
253 Aws::String m_collaborationName;
254 bool m_collaborationNameHasBeenSet = false;
255
256 Aws::Utils::DateTime m_createTime;
257 bool m_createTimeHasBeenSet = false;
258
259 Aws::Utils::DateTime m_updateTime;
260 bool m_updateTimeHasBeenSet = false;
261
262 MembershipStatus m_status;
263 bool m_statusHasBeenSet = false;
264
265 Aws::Vector<MemberAbility> m_memberAbilities;
266 bool m_memberAbilitiesHasBeenSet = false;
267
268 MembershipQueryLogStatus m_queryLogStatus;
269 bool m_queryLogStatusHasBeenSet = false;
270
271 MembershipProtectedQueryResultConfiguration m_defaultResultConfiguration;
272 bool m_defaultResultConfigurationHasBeenSet = false;
273
274 MembershipPaymentConfiguration m_paymentConfiguration;
275 bool m_paymentConfigurationHasBeenSet = false;
276 };
277
278} // namespace Model
279} // namespace CleanRooms
280} // namespace Aws
bool DefaultResultConfigurationHasBeenSet() const
Definition Membership.h:215
void SetUpdateTime(const Aws::Utils::DateTime &value)
Definition Membership.h:164
void SetCollaborationName(const char *value)
Definition Membership.h:140
void SetMemberAbilities(const Aws::Vector< MemberAbility > &value)
Definition Membership.h:188
const Aws::String & GetCollaborationArn() const
Definition Membership.h:79
void SetCollaborationArn(Aws::String &&value)
Definition Membership.h:82
void SetCollaborationName(const Aws::String &value)
Definition Membership.h:138
void SetCreateTime(const Aws::Utils::DateTime &value)
Definition Membership.h:152
const MembershipStatus & GetStatus() const
Definition Membership.h:174
void SetCollaborationName(Aws::String &&value)
Definition Membership.h:139
Membership & WithUpdateTime(Aws::Utils::DateTime &&value)
Definition Membership.h:167
void SetQueryLogStatus(const MembershipQueryLogStatus &value)
Definition Membership.h:203
Membership & WithQueryLogStatus(MembershipQueryLogStatus &&value)
Definition Membership.h:206
void SetCollaborationArn(const char *value)
Definition Membership.h:83
void SetCollaborationArn(const Aws::String &value)
Definition Membership.h:81
Membership & WithUpdateTime(const Aws::Utils::DateTime &value)
Definition Membership.h:166
Membership & WithCollaborationCreatorAccountId(const Aws::String &value)
Definition Membership.h:113
Membership & WithCreateTime(Aws::Utils::DateTime &&value)
Definition Membership.h:155
const MembershipProtectedQueryResultConfiguration & GetDefaultResultConfiguration() const
Definition Membership.h:214
const Aws::String & GetCollaborationName() const
Definition Membership.h:136
void SetQueryLogStatus(MembershipQueryLogStatus &&value)
Definition Membership.h:204
Membership & AddMemberAbilities(const MemberAbility &value)
Definition Membership.h:192
Membership & WithArn(const Aws::String &value)
Definition Membership.h:70
Membership & WithStatus(MembershipStatus &&value)
Definition Membership.h:179
void SetCollaborationCreatorDisplayName(const Aws::String &value)
Definition Membership.h:124
void SetCollaborationCreatorAccountId(Aws::String &&value)
Definition Membership.h:111
void SetPaymentConfiguration(MembershipPaymentConfiguration &&value)
Definition Membership.h:229
Membership & WithArn(Aws::String &&value)
Definition Membership.h:71
void SetCollaborationCreatorAccountId(const Aws::String &value)
Definition Membership.h:110
void SetMemberAbilities(Aws::Vector< MemberAbility > &&value)
Definition Membership.h:189
void SetUpdateTime(Aws::Utils::DateTime &&value)
Definition Membership.h:165
Membership & WithCollaborationCreatorAccountId(Aws::String &&value)
Definition Membership.h:114
const Aws::String & GetId() const
Definition Membership.h:51
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API Membership(Aws::Utils::Json::JsonView jsonValue)
Membership & WithCollaborationArn(const char *value)
Definition Membership.h:86
const Aws::String & GetCollaborationCreatorAccountId() const
Definition Membership.h:108
Membership & WithDefaultResultConfiguration(const MembershipProtectedQueryResultConfiguration &value)
Definition Membership.h:218
Membership & WithStatus(const MembershipStatus &value)
Definition Membership.h:178
const MembershipPaymentConfiguration & GetPaymentConfiguration() const
Definition Membership.h:226
void SetId(const Aws::String &value)
Definition Membership.h:53
Membership & WithCollaborationId(const char *value)
Definition Membership.h:100
AWS_CLEANROOMS_API Membership & operator=(Aws::Utils::Json::JsonView jsonValue)
Membership & WithDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration &&value)
Definition Membership.h:219
Membership & WithPaymentConfiguration(MembershipPaymentConfiguration &&value)
Definition Membership.h:231
Membership & WithCollaborationArn(const Aws::String &value)
Definition Membership.h:84
const Aws::String & GetArn() const
Definition Membership.h:65
void SetCollaborationCreatorAccountId(const char *value)
Definition Membership.h:112
Membership & WithCollaborationName(const char *value)
Definition Membership.h:143
void SetCollaborationCreatorDisplayName(const char *value)
Definition Membership.h:126
void SetId(Aws::String &&value)
Definition Membership.h:54
void SetArn(const char *value)
Definition Membership.h:69
Membership & WithCollaborationCreatorDisplayName(Aws::String &&value)
Definition Membership.h:128
const MembershipQueryLogStatus & GetQueryLogStatus() const
Definition Membership.h:201
void SetCollaborationId(Aws::String &&value)
Definition Membership.h:96
void SetId(const char *value)
Definition Membership.h:55
const Aws::String & GetCollaborationId() const
Definition Membership.h:93
Membership & WithQueryLogStatus(const MembershipQueryLogStatus &value)
Definition Membership.h:205
void SetArn(Aws::String &&value)
Definition Membership.h:68
Membership & WithMemberAbilities(Aws::Vector< MemberAbility > &&value)
Definition Membership.h:191
void SetCreateTime(Aws::Utils::DateTime &&value)
Definition Membership.h:153
void SetCollaborationCreatorDisplayName(Aws::String &&value)
Definition Membership.h:125
const Aws::Vector< MemberAbility > & GetMemberAbilities() const
Definition Membership.h:186
Membership & WithCollaborationCreatorDisplayName(const char *value)
Definition Membership.h:129
const Aws::Utils::DateTime & GetUpdateTime() const
Definition Membership.h:162
void SetDefaultResultConfiguration(const MembershipProtectedQueryResultConfiguration &value)
Definition Membership.h:216
const Aws::String & GetCollaborationCreatorDisplayName() const
Definition Membership.h:122
Membership & WithId(const char *value)
Definition Membership.h:58
Membership & WithCollaborationCreatorDisplayName(const Aws::String &value)
Definition Membership.h:127
void SetStatus(MembershipStatus &&value)
Definition Membership.h:177
Membership & WithPaymentConfiguration(const MembershipPaymentConfiguration &value)
Definition Membership.h:230
Membership & WithCollaborationId(const Aws::String &value)
Definition Membership.h:98
void SetDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration &&value)
Definition Membership.h:217
Membership & WithId(const Aws::String &value)
Definition Membership.h:56
void SetPaymentConfiguration(const MembershipPaymentConfiguration &value)
Definition Membership.h:228
bool CollaborationCreatorAccountIdHasBeenSet() const
Definition Membership.h:109
Membership & WithCollaborationName(Aws::String &&value)
Definition Membership.h:142
void SetCollaborationId(const char *value)
Definition Membership.h:97
Membership & AddMemberAbilities(MemberAbility &&value)
Definition Membership.h:193
Membership & WithArn(const char *value)
Definition Membership.h:72
void SetStatus(const MembershipStatus &value)
Definition Membership.h:176
Membership & WithCollaborationId(Aws::String &&value)
Definition Membership.h:99
Membership & WithCollaborationName(const Aws::String &value)
Definition Membership.h:141
Membership & WithCreateTime(const Aws::Utils::DateTime &value)
Definition Membership.h:154
bool CollaborationCreatorDisplayNameHasBeenSet() const
Definition Membership.h:123
Membership & WithId(Aws::String &&value)
Definition Membership.h:57
Membership & WithMemberAbilities(const Aws::Vector< MemberAbility > &value)
Definition Membership.h:190
Membership & WithCollaborationArn(Aws::String &&value)
Definition Membership.h:85
Membership & WithCollaborationCreatorAccountId(const char *value)
Definition Membership.h:115
void SetArn(const Aws::String &value)
Definition Membership.h:67
void SetCollaborationId(const Aws::String &value)
Definition Membership.h:95
const Aws::Utils::DateTime & GetCreateTime() const
Definition Membership.h:150
AWS_CLEANROOMS_API Membership()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue