AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberSpecification.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/memory/stl/AWSVector.h>
10#include <aws/cleanrooms/model/PaymentConfiguration.h>
11#include <aws/cleanrooms/model/MemberAbility.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CleanRooms
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_CLEANROOMS_API MemberSpecification();
38 AWS_CLEANROOMS_API MemberSpecification(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetAccountId() const{ return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
51 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
52 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline MemberSpecification& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline MemberSpecification& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline MemberSpecification& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
62 inline const Aws::Vector<MemberAbility>& GetMemberAbilities() const{ return m_memberAbilities; }
63 inline bool MemberAbilitiesHasBeenSet() const { return m_memberAbilitiesHasBeenSet; }
64 inline void SetMemberAbilities(const Aws::Vector<MemberAbility>& value) { m_memberAbilitiesHasBeenSet = true; m_memberAbilities = value; }
65 inline void SetMemberAbilities(Aws::Vector<MemberAbility>&& value) { m_memberAbilitiesHasBeenSet = true; m_memberAbilities = std::move(value); }
67 inline MemberSpecification& WithMemberAbilities(Aws::Vector<MemberAbility>&& value) { SetMemberAbilities(std::move(value)); return *this;}
68 inline MemberSpecification& AddMemberAbilities(const MemberAbility& value) { m_memberAbilitiesHasBeenSet = true; m_memberAbilities.push_back(value); return *this; }
69 inline MemberSpecification& AddMemberAbilities(MemberAbility&& value) { m_memberAbilitiesHasBeenSet = true; m_memberAbilities.push_back(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 MemberSpecification& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
82 inline MemberSpecification& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
83 inline MemberSpecification& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
85
87
93 inline const PaymentConfiguration& GetPaymentConfiguration() const{ return m_paymentConfiguration; }
94 inline bool PaymentConfigurationHasBeenSet() const { return m_paymentConfigurationHasBeenSet; }
95 inline void SetPaymentConfiguration(const PaymentConfiguration& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = value; }
96 inline void SetPaymentConfiguration(PaymentConfiguration&& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = std::move(value); }
100 private:
101
102 Aws::String m_accountId;
103 bool m_accountIdHasBeenSet = false;
104
105 Aws::Vector<MemberAbility> m_memberAbilities;
106 bool m_memberAbilitiesHasBeenSet = false;
107
108 Aws::String m_displayName;
109 bool m_displayNameHasBeenSet = false;
110
111 PaymentConfiguration m_paymentConfiguration;
112 bool m_paymentConfigurationHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace CleanRooms
117} // namespace Aws
MemberSpecification & WithAccountId(const char *value)
void SetAccountId(const Aws::String &value)
MemberSpecification & WithMemberAbilities(const Aws::Vector< MemberAbility > &value)
MemberSpecification & WithAccountId(Aws::String &&value)
const PaymentConfiguration & GetPaymentConfiguration() const
MemberSpecification & AddMemberAbilities(MemberAbility &&value)
void SetPaymentConfiguration(PaymentConfiguration &&value)
MemberSpecification & WithDisplayName(Aws::String &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API MemberSpecification(Aws::Utils::Json::JsonView jsonValue)
MemberSpecification & WithDisplayName(const char *value)
void SetMemberAbilities(const Aws::Vector< MemberAbility > &value)
const Aws::Vector< MemberAbility > & GetMemberAbilities() const
MemberSpecification & WithAccountId(const Aws::String &value)
void SetMemberAbilities(Aws::Vector< MemberAbility > &&value)
MemberSpecification & WithMemberAbilities(Aws::Vector< MemberAbility > &&value)
void SetPaymentConfiguration(const PaymentConfiguration &value)
MemberSpecification & AddMemberAbilities(const MemberAbility &value)
MemberSpecification & WithPaymentConfiguration(PaymentConfiguration &&value)
void SetDisplayName(const Aws::String &value)
MemberSpecification & WithDisplayName(const Aws::String &value)
AWS_CLEANROOMS_API MemberSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
MemberSpecification & WithPaymentConfiguration(const PaymentConfiguration &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