AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MembershipSummary.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/MembershipPaymentConfiguration.h>
13#include <aws/cleanrooms/model/MemberAbility.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
37 {
38 public:
39 AWS_CLEANROOMS_API MembershipSummary();
40 AWS_CLEANROOMS_API MembershipSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline MembershipSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline MembershipSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline MembershipSummary& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::String& GetArn() const{ return m_arn; }
64 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
65 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
66 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
67 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
68 inline MembershipSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
69 inline MembershipSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 inline MembershipSummary& WithArn(const char* value) { SetArn(value); return *this;}
72
74
77 inline const Aws::String& GetCollaborationArn() const{ return m_collaborationArn; }
78 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
79 inline void SetCollaborationArn(const Aws::String& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = value; }
80 inline void SetCollaborationArn(Aws::String&& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = std::move(value); }
81 inline void SetCollaborationArn(const char* value) { m_collaborationArnHasBeenSet = true; m_collaborationArn.assign(value); }
82 inline MembershipSummary& WithCollaborationArn(const Aws::String& value) { SetCollaborationArn(value); return *this;}
83 inline MembershipSummary& WithCollaborationArn(Aws::String&& value) { SetCollaborationArn(std::move(value)); return *this;}
84 inline MembershipSummary& WithCollaborationArn(const char* value) { SetCollaborationArn(value); return *this;}
86
88
91 inline const Aws::String& GetCollaborationId() const{ return m_collaborationId; }
92 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
93 inline void SetCollaborationId(const Aws::String& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = value; }
94 inline void SetCollaborationId(Aws::String&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::move(value); }
95 inline void SetCollaborationId(const char* value) { m_collaborationIdHasBeenSet = true; m_collaborationId.assign(value); }
96 inline MembershipSummary& WithCollaborationId(const Aws::String& value) { SetCollaborationId(value); return *this;}
97 inline MembershipSummary& WithCollaborationId(Aws::String&& value) { SetCollaborationId(std::move(value)); return *this;}
98 inline MembershipSummary& WithCollaborationId(const char* value) { SetCollaborationId(value); return *this;}
100
102
106 inline const Aws::String& GetCollaborationCreatorAccountId() const{ return m_collaborationCreatorAccountId; }
107 inline bool CollaborationCreatorAccountIdHasBeenSet() const { return m_collaborationCreatorAccountIdHasBeenSet; }
108 inline void SetCollaborationCreatorAccountId(const Aws::String& value) { m_collaborationCreatorAccountIdHasBeenSet = true; m_collaborationCreatorAccountId = value; }
109 inline void SetCollaborationCreatorAccountId(Aws::String&& value) { m_collaborationCreatorAccountIdHasBeenSet = true; m_collaborationCreatorAccountId = std::move(value); }
110 inline void SetCollaborationCreatorAccountId(const char* value) { m_collaborationCreatorAccountIdHasBeenSet = true; m_collaborationCreatorAccountId.assign(value); }
115
117
120 inline const Aws::String& GetCollaborationCreatorDisplayName() const{ return m_collaborationCreatorDisplayName; }
121 inline bool CollaborationCreatorDisplayNameHasBeenSet() const { return m_collaborationCreatorDisplayNameHasBeenSet; }
122 inline void SetCollaborationCreatorDisplayName(const Aws::String& value) { m_collaborationCreatorDisplayNameHasBeenSet = true; m_collaborationCreatorDisplayName = value; }
123 inline void SetCollaborationCreatorDisplayName(Aws::String&& value) { m_collaborationCreatorDisplayNameHasBeenSet = true; m_collaborationCreatorDisplayName = std::move(value); }
124 inline void SetCollaborationCreatorDisplayName(const char* value) { m_collaborationCreatorDisplayNameHasBeenSet = true; m_collaborationCreatorDisplayName.assign(value); }
129
131
134 inline const Aws::String& GetCollaborationName() const{ return m_collaborationName; }
135 inline bool CollaborationNameHasBeenSet() const { return m_collaborationNameHasBeenSet; }
136 inline void SetCollaborationName(const Aws::String& value) { m_collaborationNameHasBeenSet = true; m_collaborationName = value; }
137 inline void SetCollaborationName(Aws::String&& value) { m_collaborationNameHasBeenSet = true; m_collaborationName = std::move(value); }
138 inline void SetCollaborationName(const char* value) { m_collaborationNameHasBeenSet = true; m_collaborationName.assign(value); }
139 inline MembershipSummary& WithCollaborationName(const Aws::String& value) { SetCollaborationName(value); return *this;}
140 inline MembershipSummary& WithCollaborationName(Aws::String&& value) { SetCollaborationName(std::move(value)); return *this;}
141 inline MembershipSummary& WithCollaborationName(const char* value) { SetCollaborationName(value); return *this;}
143
145
148 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
149 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
150 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
151 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
152 inline MembershipSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
153 inline MembershipSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
155
157
160 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
161 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
162 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
163 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
164 inline MembershipSummary& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
165 inline MembershipSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
167
169
172 inline const MembershipStatus& GetStatus() const{ return m_status; }
173 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
174 inline void SetStatus(const MembershipStatus& value) { m_statusHasBeenSet = true; m_status = value; }
175 inline void SetStatus(MembershipStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
176 inline MembershipSummary& WithStatus(const MembershipStatus& value) { SetStatus(value); return *this;}
177 inline MembershipSummary& WithStatus(MembershipStatus&& value) { SetStatus(std::move(value)); return *this;}
179
181
184 inline const Aws::Vector<MemberAbility>& GetMemberAbilities() const{ return m_memberAbilities; }
185 inline bool MemberAbilitiesHasBeenSet() const { return m_memberAbilitiesHasBeenSet; }
186 inline void SetMemberAbilities(const Aws::Vector<MemberAbility>& value) { m_memberAbilitiesHasBeenSet = true; m_memberAbilities = value; }
187 inline void SetMemberAbilities(Aws::Vector<MemberAbility>&& value) { m_memberAbilitiesHasBeenSet = true; m_memberAbilities = std::move(value); }
189 inline MembershipSummary& WithMemberAbilities(Aws::Vector<MemberAbility>&& value) { SetMemberAbilities(std::move(value)); return *this;}
190 inline MembershipSummary& AddMemberAbilities(const MemberAbility& value) { m_memberAbilitiesHasBeenSet = true; m_memberAbilities.push_back(value); return *this; }
191 inline MembershipSummary& AddMemberAbilities(MemberAbility&& value) { m_memberAbilitiesHasBeenSet = true; m_memberAbilities.push_back(std::move(value)); return *this; }
193
195
198 inline const MembershipPaymentConfiguration& GetPaymentConfiguration() const{ return m_paymentConfiguration; }
199 inline bool PaymentConfigurationHasBeenSet() const { return m_paymentConfigurationHasBeenSet; }
200 inline void SetPaymentConfiguration(const MembershipPaymentConfiguration& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = value; }
201 inline void SetPaymentConfiguration(MembershipPaymentConfiguration&& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = std::move(value); }
205 private:
206
207 Aws::String m_id;
208 bool m_idHasBeenSet = false;
209
210 Aws::String m_arn;
211 bool m_arnHasBeenSet = false;
212
213 Aws::String m_collaborationArn;
214 bool m_collaborationArnHasBeenSet = false;
215
216 Aws::String m_collaborationId;
217 bool m_collaborationIdHasBeenSet = false;
218
219 Aws::String m_collaborationCreatorAccountId;
220 bool m_collaborationCreatorAccountIdHasBeenSet = false;
221
222 Aws::String m_collaborationCreatorDisplayName;
223 bool m_collaborationCreatorDisplayNameHasBeenSet = false;
224
225 Aws::String m_collaborationName;
226 bool m_collaborationNameHasBeenSet = false;
227
228 Aws::Utils::DateTime m_createTime;
229 bool m_createTimeHasBeenSet = false;
230
231 Aws::Utils::DateTime m_updateTime;
232 bool m_updateTimeHasBeenSet = false;
233
234 MembershipStatus m_status;
235 bool m_statusHasBeenSet = false;
236
237 Aws::Vector<MemberAbility> m_memberAbilities;
238 bool m_memberAbilitiesHasBeenSet = false;
239
240 MembershipPaymentConfiguration m_paymentConfiguration;
241 bool m_paymentConfigurationHasBeenSet = false;
242 };
243
244} // namespace Model
245} // namespace CleanRooms
246} // namespace Aws
MembershipSummary & WithCollaborationCreatorDisplayName(const char *value)
void SetMemberAbilities(Aws::Vector< MemberAbility > &&value)
MembershipSummary & WithMemberAbilities(Aws::Vector< MemberAbility > &&value)
AWS_CLEANROOMS_API MembershipSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetCollaborationCreatorAccountId() const
void SetId(const Aws::String &value)
MembershipSummary & WithCreateTime(const Aws::Utils::DateTime &value)
MembershipSummary & WithCollaborationCreatorAccountId(const Aws::String &value)
MembershipSummary & AddMemberAbilities(MemberAbility &&value)
const Aws::String & GetCollaborationName() const
MembershipSummary & WithCollaborationName(Aws::String &&value)
void SetCollaborationName(const Aws::String &value)
const Aws::Vector< MemberAbility > & GetMemberAbilities() const
const Aws::String & GetCollaborationId() const
void SetMemberAbilities(const Aws::Vector< MemberAbility > &value)
MembershipSummary & WithCollaborationArn(const Aws::String &value)
void SetPaymentConfiguration(const MembershipPaymentConfiguration &value)
MembershipSummary & WithId(const Aws::String &value)
MembershipSummary & WithCollaborationId(const Aws::String &value)
AWS_CLEANROOMS_API MembershipSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreateTime() const
void SetStatus(MembershipStatus &&value)
MembershipSummary & WithArn(Aws::String &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
MembershipSummary & WithArn(const Aws::String &value)
const Aws::String & GetCollaborationArn() const
MembershipSummary & WithCollaborationCreatorDisplayName(Aws::String &&value)
MembershipSummary & AddMemberAbilities(const MemberAbility &value)
MembershipSummary & WithCollaborationArn(Aws::String &&value)
const MembershipPaymentConfiguration & GetPaymentConfiguration() const
MembershipSummary & WithUpdateTime(const Aws::Utils::DateTime &value)
void SetCollaborationCreatorDisplayName(Aws::String &&value)
MembershipSummary & WithStatus(const MembershipStatus &value)
MembershipSummary & WithCollaborationCreatorAccountId(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetCollaborationCreatorAccountId(const Aws::String &value)
void SetStatus(const MembershipStatus &value)
void SetCollaborationArn(Aws::String &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
MembershipSummary & WithId(Aws::String &&value)
void SetCollaborationArn(const Aws::String &value)
MembershipSummary & WithCollaborationName(const char *value)
void SetCollaborationCreatorAccountId(const char *value)
MembershipSummary & WithCollaborationCreatorDisplayName(const Aws::String &value)
MembershipSummary & WithCollaborationId(Aws::String &&value)
MembershipSummary & WithCollaborationArn(const char *value)
void SetCollaborationCreatorDisplayName(const char *value)
MembershipSummary & WithMemberAbilities(const Aws::Vector< MemberAbility > &value)
MembershipSummary & WithId(const char *value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
MembershipSummary & WithCollaborationName(const Aws::String &value)
MembershipSummary & WithStatus(MembershipStatus &&value)
const MembershipStatus & GetStatus() const
MembershipSummary & WithCollaborationCreatorAccountId(const char *value)
MembershipSummary & WithCollaborationId(const char *value)
MembershipSummary & WithUpdateTime(Aws::Utils::DateTime &&value)
void SetCollaborationCreatorAccountId(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
MembershipSummary & WithArn(const char *value)
void SetCollaborationCreatorDisplayName(const Aws::String &value)
void SetCollaborationId(const Aws::String &value)
MembershipSummary & WithPaymentConfiguration(const MembershipPaymentConfiguration &value)
void SetPaymentConfiguration(MembershipPaymentConfiguration &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
MembershipSummary & WithPaymentConfiguration(MembershipPaymentConfiguration &&value)
MembershipSummary & WithCreateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetCollaborationCreatorDisplayName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue