AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberSummary.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cleanrooms/model/MemberStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/cleanrooms/model/PaymentConfiguration.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 MemberSummary();
40 AWS_CLEANROOMS_API MemberSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLEANROOMS_API MemberSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetAccountId() const{ return m_accountId; }
51 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
52 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
53 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
54 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
55 inline MemberSummary& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
56 inline MemberSummary& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
57 inline MemberSummary& WithAccountId(const char* value) { SetAccountId(value); return *this;}
59
61
64 inline const MemberStatus& GetStatus() const{ return m_status; }
65 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
66 inline void SetStatus(const MemberStatus& value) { m_statusHasBeenSet = true; m_status = value; }
67 inline void SetStatus(MemberStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
68 inline MemberSummary& WithStatus(const MemberStatus& value) { SetStatus(value); return *this;}
69 inline MemberSummary& WithStatus(MemberStatus&& value) { SetStatus(std::move(value)); return *this;}
71
73
76 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
77 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
78 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
79 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
80 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
81 inline MemberSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
82 inline MemberSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
83 inline MemberSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
85
87
90 inline const Aws::Vector<MemberAbility>& GetAbilities() const{ return m_abilities; }
91 inline bool AbilitiesHasBeenSet() const { return m_abilitiesHasBeenSet; }
92 inline void SetAbilities(const Aws::Vector<MemberAbility>& value) { m_abilitiesHasBeenSet = true; m_abilities = value; }
93 inline void SetAbilities(Aws::Vector<MemberAbility>&& value) { m_abilitiesHasBeenSet = true; m_abilities = std::move(value); }
94 inline MemberSummary& WithAbilities(const Aws::Vector<MemberAbility>& value) { SetAbilities(value); return *this;}
95 inline MemberSummary& WithAbilities(Aws::Vector<MemberAbility>&& value) { SetAbilities(std::move(value)); return *this;}
96 inline MemberSummary& AddAbilities(const MemberAbility& value) { m_abilitiesHasBeenSet = true; m_abilities.push_back(value); return *this; }
97 inline MemberSummary& AddAbilities(MemberAbility&& value) { m_abilitiesHasBeenSet = true; m_abilities.push_back(std::move(value)); return *this; }
99
101
104 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
105 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
106 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
107 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
108 inline MemberSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
109 inline MemberSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
117 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
118 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
119 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
120 inline MemberSummary& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
121 inline MemberSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
123
125
128 inline const Aws::String& GetMembershipId() const{ return m_membershipId; }
129 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
130 inline void SetMembershipId(const Aws::String& value) { m_membershipIdHasBeenSet = true; m_membershipId = value; }
131 inline void SetMembershipId(Aws::String&& value) { m_membershipIdHasBeenSet = true; m_membershipId = std::move(value); }
132 inline void SetMembershipId(const char* value) { m_membershipIdHasBeenSet = true; m_membershipId.assign(value); }
133 inline MemberSummary& WithMembershipId(const Aws::String& value) { SetMembershipId(value); return *this;}
134 inline MemberSummary& WithMembershipId(Aws::String&& value) { SetMembershipId(std::move(value)); return *this;}
135 inline MemberSummary& WithMembershipId(const char* value) { SetMembershipId(value); return *this;}
137
139
142 inline const Aws::String& GetMembershipArn() const{ return m_membershipArn; }
143 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
144 inline void SetMembershipArn(const Aws::String& value) { m_membershipArnHasBeenSet = true; m_membershipArn = value; }
145 inline void SetMembershipArn(Aws::String&& value) { m_membershipArnHasBeenSet = true; m_membershipArn = std::move(value); }
146 inline void SetMembershipArn(const char* value) { m_membershipArnHasBeenSet = true; m_membershipArn.assign(value); }
147 inline MemberSummary& WithMembershipArn(const Aws::String& value) { SetMembershipArn(value); return *this;}
148 inline MemberSummary& WithMembershipArn(Aws::String&& value) { SetMembershipArn(std::move(value)); return *this;}
149 inline MemberSummary& WithMembershipArn(const char* value) { SetMembershipArn(value); return *this;}
151
153
157 inline const PaymentConfiguration& GetPaymentConfiguration() const{ return m_paymentConfiguration; }
158 inline bool PaymentConfigurationHasBeenSet() const { return m_paymentConfigurationHasBeenSet; }
159 inline void SetPaymentConfiguration(const PaymentConfiguration& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = value; }
160 inline void SetPaymentConfiguration(PaymentConfiguration&& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = std::move(value); }
162 inline MemberSummary& WithPaymentConfiguration(PaymentConfiguration&& value) { SetPaymentConfiguration(std::move(value)); return *this;}
164 private:
165
166 Aws::String m_accountId;
167 bool m_accountIdHasBeenSet = false;
168
169 MemberStatus m_status;
170 bool m_statusHasBeenSet = false;
171
172 Aws::String m_displayName;
173 bool m_displayNameHasBeenSet = false;
174
175 Aws::Vector<MemberAbility> m_abilities;
176 bool m_abilitiesHasBeenSet = false;
177
178 Aws::Utils::DateTime m_createTime;
179 bool m_createTimeHasBeenSet = false;
180
181 Aws::Utils::DateTime m_updateTime;
182 bool m_updateTimeHasBeenSet = false;
183
184 Aws::String m_membershipId;
185 bool m_membershipIdHasBeenSet = false;
186
187 Aws::String m_membershipArn;
188 bool m_membershipArnHasBeenSet = false;
189
190 PaymentConfiguration m_paymentConfiguration;
191 bool m_paymentConfigurationHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace CleanRooms
196} // namespace Aws
void SetUpdateTime(Aws::Utils::DateTime &&value)
MemberSummary & WithDisplayName(Aws::String &&value)
MemberSummary & WithStatus(MemberStatus &&value)
const Aws::Vector< MemberAbility > & GetAbilities() const
const PaymentConfiguration & GetPaymentConfiguration() const
MemberSummary & WithMembershipArn(const Aws::String &value)
MemberSummary & WithStatus(const MemberStatus &value)
void SetAccountId(const Aws::String &value)
void SetPaymentConfiguration(const PaymentConfiguration &value)
MemberSummary & AddAbilities(const MemberAbility &value)
void SetAbilities(const Aws::Vector< MemberAbility > &value)
void SetMembershipArn(const char *value)
void SetAccountId(Aws::String &&value)
void SetMembershipId(Aws::String &&value)
void SetMembershipArn(Aws::String &&value)
void SetMembershipId(const char *value)
void SetStatus(MemberStatus &&value)
MemberSummary & WithDisplayName(const Aws::String &value)
MemberSummary & WithMembershipArn(Aws::String &&value)
MemberSummary & WithCreateTime(Aws::Utils::DateTime &&value)
MemberSummary & WithCreateTime(const Aws::Utils::DateTime &value)
MemberSummary & WithPaymentConfiguration(PaymentConfiguration &&value)
const Aws::Utils::DateTime & GetCreateTime() const
const Aws::String & GetMembershipArn() const
AWS_CLEANROOMS_API MemberSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDisplayName(const char *value)
void SetMembershipId(const Aws::String &value)
const Aws::String & GetDisplayName() const
void SetCreateTime(Aws::Utils::DateTime &&value)
MemberSummary & WithMembershipArn(const char *value)
const Aws::String & GetAccountId() const
void SetAccountId(const char *value)
MemberSummary & WithMembershipId(Aws::String &&value)
MemberSummary & WithAccountId(const Aws::String &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
MemberSummary & AddAbilities(MemberAbility &&value)
MemberSummary & WithMembershipId(const Aws::String &value)
const Aws::String & GetMembershipId() const
void SetMembershipArn(const Aws::String &value)
MemberSummary & WithAbilities(const Aws::Vector< MemberAbility > &value)
AWS_CLEANROOMS_API MemberSummary(Aws::Utils::Json::JsonView jsonValue)
MemberSummary & WithMembershipId(const char *value)
MemberSummary & WithAccountId(Aws::String &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
MemberSummary & WithAccountId(const char *value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
MemberSummary & WithUpdateTime(const Aws::Utils::DateTime &value)
MemberSummary & WithUpdateTime(Aws::Utils::DateTime &&value)
const MemberStatus & GetStatus() const
void SetAbilities(Aws::Vector< MemberAbility > &&value)
MemberSummary & WithAbilities(Aws::Vector< MemberAbility > &&value)
void SetStatus(const MemberStatus &value)
const Aws::Utils::DateTime & GetUpdateTime() const
void SetDisplayName(Aws::String &&value)
MemberSummary & WithDisplayName(const char *value)
void SetPaymentConfiguration(PaymentConfiguration &&value)
MemberSummary & WithPaymentConfiguration(const PaymentConfiguration &value)
void SetDisplayName(const Aws::String &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