AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BrokerNodeGroupInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/BrokerAZDistribution.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/kafka/model/StorageInfo.h>
12#include <aws/kafka/model/ConnectivityInfo.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Kafka
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_KAFKA_API BrokerNodeGroupInfo();
44 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
59 inline const BrokerAZDistribution& GetBrokerAZDistribution() const{ return m_brokerAZDistribution; }
60 inline bool BrokerAZDistributionHasBeenSet() const { return m_brokerAZDistributionHasBeenSet; }
61 inline void SetBrokerAZDistribution(const BrokerAZDistribution& value) { m_brokerAZDistributionHasBeenSet = true; m_brokerAZDistribution = value; }
62 inline void SetBrokerAZDistribution(BrokerAZDistribution&& value) { m_brokerAZDistributionHasBeenSet = true; m_brokerAZDistribution = std::move(value); }
66
68
76 inline const Aws::Vector<Aws::String>& GetClientSubnets() const{ return m_clientSubnets; }
77 inline bool ClientSubnetsHasBeenSet() const { return m_clientSubnetsHasBeenSet; }
78 inline void SetClientSubnets(const Aws::Vector<Aws::String>& value) { m_clientSubnetsHasBeenSet = true; m_clientSubnets = value; }
79 inline void SetClientSubnets(Aws::Vector<Aws::String>&& value) { m_clientSubnetsHasBeenSet = true; m_clientSubnets = std::move(value); }
81 inline BrokerNodeGroupInfo& WithClientSubnets(Aws::Vector<Aws::String>&& value) { SetClientSubnets(std::move(value)); return *this;}
82 inline BrokerNodeGroupInfo& AddClientSubnets(const Aws::String& value) { m_clientSubnetsHasBeenSet = true; m_clientSubnets.push_back(value); return *this; }
83 inline BrokerNodeGroupInfo& AddClientSubnets(Aws::String&& value) { m_clientSubnetsHasBeenSet = true; m_clientSubnets.push_back(std::move(value)); return *this; }
84 inline BrokerNodeGroupInfo& AddClientSubnets(const char* value) { m_clientSubnetsHasBeenSet = true; m_clientSubnets.push_back(value); return *this; }
86
88
97 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
98 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
99 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
100 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
101 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
102 inline BrokerNodeGroupInfo& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
103 inline BrokerNodeGroupInfo& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
104 inline BrokerNodeGroupInfo& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
106
108
116 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
117 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
118 inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
119 inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
121 inline BrokerNodeGroupInfo& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
122 inline BrokerNodeGroupInfo& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
123 inline BrokerNodeGroupInfo& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
124 inline BrokerNodeGroupInfo& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
126
128
134 inline const StorageInfo& GetStorageInfo() const{ return m_storageInfo; }
135 inline bool StorageInfoHasBeenSet() const { return m_storageInfoHasBeenSet; }
136 inline void SetStorageInfo(const StorageInfo& value) { m_storageInfoHasBeenSet = true; m_storageInfo = value; }
137 inline void SetStorageInfo(StorageInfo&& value) { m_storageInfoHasBeenSet = true; m_storageInfo = std::move(value); }
138 inline BrokerNodeGroupInfo& WithStorageInfo(const StorageInfo& value) { SetStorageInfo(value); return *this;}
139 inline BrokerNodeGroupInfo& WithStorageInfo(StorageInfo&& value) { SetStorageInfo(std::move(value)); return *this;}
141
143
148 inline const ConnectivityInfo& GetConnectivityInfo() const{ return m_connectivityInfo; }
149 inline bool ConnectivityInfoHasBeenSet() const { return m_connectivityInfoHasBeenSet; }
150 inline void SetConnectivityInfo(const ConnectivityInfo& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo = value; }
151 inline void SetConnectivityInfo(ConnectivityInfo&& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo = std::move(value); }
153 inline BrokerNodeGroupInfo& WithConnectivityInfo(ConnectivityInfo&& value) { SetConnectivityInfo(std::move(value)); return *this;}
155
157
163 inline const Aws::Vector<Aws::String>& GetZoneIds() const{ return m_zoneIds; }
164 inline bool ZoneIdsHasBeenSet() const { return m_zoneIdsHasBeenSet; }
165 inline void SetZoneIds(const Aws::Vector<Aws::String>& value) { m_zoneIdsHasBeenSet = true; m_zoneIds = value; }
166 inline void SetZoneIds(Aws::Vector<Aws::String>&& value) { m_zoneIdsHasBeenSet = true; m_zoneIds = std::move(value); }
167 inline BrokerNodeGroupInfo& WithZoneIds(const Aws::Vector<Aws::String>& value) { SetZoneIds(value); return *this;}
168 inline BrokerNodeGroupInfo& WithZoneIds(Aws::Vector<Aws::String>&& value) { SetZoneIds(std::move(value)); return *this;}
169 inline BrokerNodeGroupInfo& AddZoneIds(const Aws::String& value) { m_zoneIdsHasBeenSet = true; m_zoneIds.push_back(value); return *this; }
170 inline BrokerNodeGroupInfo& AddZoneIds(Aws::String&& value) { m_zoneIdsHasBeenSet = true; m_zoneIds.push_back(std::move(value)); return *this; }
171 inline BrokerNodeGroupInfo& AddZoneIds(const char* value) { m_zoneIdsHasBeenSet = true; m_zoneIds.push_back(value); return *this; }
173 private:
174
175 BrokerAZDistribution m_brokerAZDistribution;
176 bool m_brokerAZDistributionHasBeenSet = false;
177
178 Aws::Vector<Aws::String> m_clientSubnets;
179 bool m_clientSubnetsHasBeenSet = false;
180
181 Aws::String m_instanceType;
182 bool m_instanceTypeHasBeenSet = false;
183
184 Aws::Vector<Aws::String> m_securityGroups;
185 bool m_securityGroupsHasBeenSet = false;
186
187 StorageInfo m_storageInfo;
188 bool m_storageInfoHasBeenSet = false;
189
190 ConnectivityInfo m_connectivityInfo;
191 bool m_connectivityInfoHasBeenSet = false;
192
193 Aws::Vector<Aws::String> m_zoneIds;
194 bool m_zoneIdsHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace Kafka
199} // namespace Aws
void SetConnectivityInfo(ConnectivityInfo &&value)
void SetZoneIds(Aws::Vector< Aws::String > &&value)
BrokerNodeGroupInfo & WithStorageInfo(StorageInfo &&value)
BrokerNodeGroupInfo & AddZoneIds(const Aws::String &value)
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
BrokerNodeGroupInfo & WithClientSubnets(const Aws::Vector< Aws::String > &value)
BrokerNodeGroupInfo & AddZoneIds(Aws::String &&value)
void SetStorageInfo(const StorageInfo &value)
void SetClientSubnets(const Aws::Vector< Aws::String > &value)
BrokerNodeGroupInfo & WithInstanceType(const char *value)
void SetConnectivityInfo(const ConnectivityInfo &value)
BrokerNodeGroupInfo & AddSecurityGroups(const char *value)
BrokerNodeGroupInfo & WithConnectivityInfo(ConnectivityInfo &&value)
const Aws::Vector< Aws::String > & GetZoneIds() const
BrokerNodeGroupInfo & WithZoneIds(const Aws::Vector< Aws::String > &value)
BrokerNodeGroupInfo & AddClientSubnets(Aws::String &&value)
BrokerNodeGroupInfo & AddClientSubnets(const Aws::String &value)
void SetBrokerAZDistribution(BrokerAZDistribution &&value)
BrokerNodeGroupInfo & WithZoneIds(Aws::Vector< Aws::String > &&value)
BrokerNodeGroupInfo & AddSecurityGroups(Aws::String &&value)
BrokerNodeGroupInfo & WithBrokerAZDistribution(const BrokerAZDistribution &value)
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
const ConnectivityInfo & GetConnectivityInfo() const
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKA_API BrokerNodeGroupInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
BrokerNodeGroupInfo & WithStorageInfo(const StorageInfo &value)
BrokerNodeGroupInfo & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
BrokerNodeGroupInfo & WithInstanceType(Aws::String &&value)
BrokerNodeGroupInfo & AddSecurityGroups(const Aws::String &value)
void SetZoneIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
AWS_KAFKA_API BrokerNodeGroupInfo(Aws::Utils::Json::JsonView jsonValue)
BrokerNodeGroupInfo & WithClientSubnets(Aws::Vector< Aws::String > &&value)
void SetBrokerAZDistribution(const BrokerAZDistribution &value)
BrokerNodeGroupInfo & WithBrokerAZDistribution(BrokerAZDistribution &&value)
BrokerNodeGroupInfo & WithInstanceType(const Aws::String &value)
const StorageInfo & GetStorageInfo() const
BrokerNodeGroupInfo & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
void SetInstanceType(const Aws::String &value)
const BrokerAZDistribution & GetBrokerAZDistribution() const
BrokerNodeGroupInfo & WithConnectivityInfo(const ConnectivityInfo &value)
void SetClientSubnets(Aws::Vector< Aws::String > &&value)
BrokerNodeGroupInfo & AddZoneIds(const char *value)
BrokerNodeGroupInfo & AddClientSubnets(const char *value)
const Aws::Vector< Aws::String > & GetClientSubnets() const
const Aws::String & GetInstanceType() 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