AWS SDK for C++  1.9.105
AWS SDK for C++
BrokerNodeGroupInfo.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Kafka
25 {
26 namespace Model
27 {
28 
38  {
39  public:
44 
45 
57  inline const BrokerAZDistribution& GetBrokerAZDistribution() const{ return m_brokerAZDistribution; }
58 
70  inline bool BrokerAZDistributionHasBeenSet() const { return m_brokerAZDistributionHasBeenSet; }
71 
83  inline void SetBrokerAZDistribution(const BrokerAZDistribution& value) { m_brokerAZDistributionHasBeenSet = true; m_brokerAZDistribution = value; }
84 
96  inline void SetBrokerAZDistribution(BrokerAZDistribution&& value) { m_brokerAZDistributionHasBeenSet = true; m_brokerAZDistribution = std::move(value); }
97 
109  inline BrokerNodeGroupInfo& WithBrokerAZDistribution(const BrokerAZDistribution& value) { SetBrokerAZDistribution(value); return *this;}
110 
122  inline BrokerNodeGroupInfo& WithBrokerAZDistribution(BrokerAZDistribution&& value) { SetBrokerAZDistribution(std::move(value)); return *this;}
123 
124 
133  inline const Aws::Vector<Aws::String>& GetClientSubnets() const{ return m_clientSubnets; }
134 
143  inline bool ClientSubnetsHasBeenSet() const { return m_clientSubnetsHasBeenSet; }
144 
153  inline void SetClientSubnets(const Aws::Vector<Aws::String>& value) { m_clientSubnetsHasBeenSet = true; m_clientSubnets = value; }
154 
163  inline void SetClientSubnets(Aws::Vector<Aws::String>&& value) { m_clientSubnetsHasBeenSet = true; m_clientSubnets = std::move(value); }
164 
173  inline BrokerNodeGroupInfo& WithClientSubnets(const Aws::Vector<Aws::String>& value) { SetClientSubnets(value); return *this;}
174 
183  inline BrokerNodeGroupInfo& WithClientSubnets(Aws::Vector<Aws::String>&& value) { SetClientSubnets(std::move(value)); return *this;}
184 
193  inline BrokerNodeGroupInfo& AddClientSubnets(const Aws::String& value) { m_clientSubnetsHasBeenSet = true; m_clientSubnets.push_back(value); return *this; }
194 
203  inline BrokerNodeGroupInfo& AddClientSubnets(Aws::String&& value) { m_clientSubnetsHasBeenSet = true; m_clientSubnets.push_back(std::move(value)); return *this; }
204 
213  inline BrokerNodeGroupInfo& AddClientSubnets(const char* value) { m_clientSubnetsHasBeenSet = true; m_clientSubnets.push_back(value); return *this; }
214 
215 
225  inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
226 
236  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
237 
247  inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
248 
258  inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
259 
269  inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
270 
280  inline BrokerNodeGroupInfo& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
281 
291  inline BrokerNodeGroupInfo& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
292 
302  inline BrokerNodeGroupInfo& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
303 
304 
313  inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
314 
323  inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
324 
333  inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
334 
343  inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
344 
353  inline BrokerNodeGroupInfo& WithSecurityGroups(const Aws::Vector<Aws::String>& value) { SetSecurityGroups(value); return *this;}
354 
363  inline BrokerNodeGroupInfo& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
364 
373  inline BrokerNodeGroupInfo& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
374 
383  inline BrokerNodeGroupInfo& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
384 
393  inline BrokerNodeGroupInfo& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
394 
395 
402  inline const StorageInfo& GetStorageInfo() const{ return m_storageInfo; }
403 
410  inline bool StorageInfoHasBeenSet() const { return m_storageInfoHasBeenSet; }
411 
418  inline void SetStorageInfo(const StorageInfo& value) { m_storageInfoHasBeenSet = true; m_storageInfo = value; }
419 
426  inline void SetStorageInfo(StorageInfo&& value) { m_storageInfoHasBeenSet = true; m_storageInfo = std::move(value); }
427 
434  inline BrokerNodeGroupInfo& WithStorageInfo(const StorageInfo& value) { SetStorageInfo(value); return *this;}
435 
442  inline BrokerNodeGroupInfo& WithStorageInfo(StorageInfo&& value) { SetStorageInfo(std::move(value)); return *this;}
443 
444  private:
445 
446  BrokerAZDistribution m_brokerAZDistribution;
447  bool m_brokerAZDistributionHasBeenSet;
448 
449  Aws::Vector<Aws::String> m_clientSubnets;
450  bool m_clientSubnetsHasBeenSet;
451 
452  Aws::String m_instanceType;
453  bool m_instanceTypeHasBeenSet;
454 
455  Aws::Vector<Aws::String> m_securityGroups;
456  bool m_securityGroupsHasBeenSet;
457 
458  StorageInfo m_storageInfo;
459  bool m_storageInfoHasBeenSet;
460  };
461 
462 } // namespace Model
463 } // namespace Kafka
464 } // namespace Aws
Aws::Kafka::Model::BrokerNodeGroupInfo::WithInstanceType
BrokerNodeGroupInfo & WithInstanceType(const Aws::String &value)
Definition: BrokerNodeGroupInfo.h:280
Aws::Kafka::Model::BrokerNodeGroupInfo::SetClientSubnets
void SetClientSubnets(Aws::Vector< Aws::String > &&value)
Definition: BrokerNodeGroupInfo.h:163
Aws::Kafka::Model::BrokerNodeGroupInfo::operator=
BrokerNodeGroupInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::BrokerNodeGroupInfo::StorageInfoHasBeenSet
bool StorageInfoHasBeenSet() const
Definition: BrokerNodeGroupInfo.h:410
Aws::Kafka::Model::BrokerNodeGroupInfo::GetBrokerAZDistribution
const BrokerAZDistribution & GetBrokerAZDistribution() const
Definition: BrokerNodeGroupInfo.h:57
Aws::Kafka::Model::BrokerAZDistribution
BrokerAZDistribution
Definition: BrokerAZDistribution.h:17
Aws::Kafka::Model::BrokerNodeGroupInfo::WithInstanceType
BrokerNodeGroupInfo & WithInstanceType(const char *value)
Definition: BrokerNodeGroupInfo.h:302
Aws::Kafka::Model::BrokerNodeGroupInfo::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: BrokerNodeGroupInfo.h:236
Aws::Kafka::Model::BrokerNodeGroupInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
StorageInfo.h
Aws::Kafka::Model::BrokerNodeGroupInfo::AddSecurityGroups
BrokerNodeGroupInfo & AddSecurityGroups(const Aws::String &value)
Definition: BrokerNodeGroupInfo.h:373
Aws::Kafka::Model::BrokerNodeGroupInfo::GetInstanceType
const Aws::String & GetInstanceType() const
Definition: BrokerNodeGroupInfo.h:225
Aws::Kafka::Model::BrokerNodeGroupInfo::BrokerNodeGroupInfo
BrokerNodeGroupInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::BrokerNodeGroupInfo
Definition: BrokerNodeGroupInfo.h:38
Aws::Kafka::Model::BrokerNodeGroupInfo::WithStorageInfo
BrokerNodeGroupInfo & WithStorageInfo(StorageInfo &&value)
Definition: BrokerNodeGroupInfo.h:442
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Kafka::Model::BrokerNodeGroupInfo::AddSecurityGroups
BrokerNodeGroupInfo & AddSecurityGroups(Aws::String &&value)
Definition: BrokerNodeGroupInfo.h:383
AWSVector.h
Aws::Kafka::Model::BrokerNodeGroupInfo::SetClientSubnets
void SetClientSubnets(const Aws::Vector< Aws::String > &value)
Definition: BrokerNodeGroupInfo.h:153
Aws::Kafka::Model::BrokerNodeGroupInfo::AddClientSubnets
BrokerNodeGroupInfo & AddClientSubnets(const Aws::String &value)
Definition: BrokerNodeGroupInfo.h:193
Aws::Kafka::Model::StorageInfo
Definition: StorageInfo.h:35
Aws::Kafka::Model::BrokerNodeGroupInfo::BrokerNodeGroupInfo
BrokerNodeGroupInfo()
Aws::Kafka::Model::BrokerNodeGroupInfo::SetSecurityGroups
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: BrokerNodeGroupInfo.h:333
Aws::Kafka::Model::BrokerNodeGroupInfo::GetSecurityGroups
const Aws::Vector< Aws::String > & GetSecurityGroups() const
Definition: BrokerNodeGroupInfo.h:313
Aws::Kafka::Model::BrokerNodeGroupInfo::AddClientSubnets
BrokerNodeGroupInfo & AddClientSubnets(Aws::String &&value)
Definition: BrokerNodeGroupInfo.h:203
BrokerAZDistribution.h
Aws::Kafka::Model::BrokerNodeGroupInfo::SetBrokerAZDistribution
void SetBrokerAZDistribution(const BrokerAZDistribution &value)
Definition: BrokerNodeGroupInfo.h:83
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Kafka::Model::BrokerNodeGroupInfo::SetStorageInfo
void SetStorageInfo(const StorageInfo &value)
Definition: BrokerNodeGroupInfo.h:418
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::BrokerNodeGroupInfo::WithStorageInfo
BrokerNodeGroupInfo & WithStorageInfo(const StorageInfo &value)
Definition: BrokerNodeGroupInfo.h:434
Aws::Kafka::Model::BrokerNodeGroupInfo::SetInstanceType
void SetInstanceType(const char *value)
Definition: BrokerNodeGroupInfo.h:269
Aws::Kafka::Model::BrokerNodeGroupInfo::WithClientSubnets
BrokerNodeGroupInfo & WithClientSubnets(Aws::Vector< Aws::String > &&value)
Definition: BrokerNodeGroupInfo.h:183
Aws::Kafka::Model::BrokerNodeGroupInfo::SecurityGroupsHasBeenSet
bool SecurityGroupsHasBeenSet() const
Definition: BrokerNodeGroupInfo.h:323
Aws::Kafka::Model::BrokerNodeGroupInfo::WithInstanceType
BrokerNodeGroupInfo & WithInstanceType(Aws::String &&value)
Definition: BrokerNodeGroupInfo.h:291
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::BrokerNodeGroupInfo::AddClientSubnets
BrokerNodeGroupInfo & AddClientSubnets(const char *value)
Definition: BrokerNodeGroupInfo.h:213
Aws::Kafka::Model::BrokerNodeGroupInfo::WithBrokerAZDistribution
BrokerNodeGroupInfo & WithBrokerAZDistribution(const BrokerAZDistribution &value)
Definition: BrokerNodeGroupInfo.h:109
Aws::Kafka::Model::BrokerNodeGroupInfo::WithBrokerAZDistribution
BrokerNodeGroupInfo & WithBrokerAZDistribution(BrokerAZDistribution &&value)
Definition: BrokerNodeGroupInfo.h:122
Aws::Kafka::Model::BrokerNodeGroupInfo::AddSecurityGroups
BrokerNodeGroupInfo & AddSecurityGroups(const char *value)
Definition: BrokerNodeGroupInfo.h:393
Aws::Kafka::Model::BrokerNodeGroupInfo::SetBrokerAZDistribution
void SetBrokerAZDistribution(BrokerAZDistribution &&value)
Definition: BrokerNodeGroupInfo.h:96
Aws::Kafka::Model::BrokerNodeGroupInfo::WithSecurityGroups
BrokerNodeGroupInfo & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: BrokerNodeGroupInfo.h:353
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::BrokerNodeGroupInfo::WithSecurityGroups
BrokerNodeGroupInfo & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: BrokerNodeGroupInfo.h:363
Aws::Kafka::Model::BrokerNodeGroupInfo::SetStorageInfo
void SetStorageInfo(StorageInfo &&value)
Definition: BrokerNodeGroupInfo.h:426
Aws::Kafka::Model::BrokerNodeGroupInfo::GetClientSubnets
const Aws::Vector< Aws::String > & GetClientSubnets() const
Definition: BrokerNodeGroupInfo.h:133
Aws::Kafka::Model::BrokerNodeGroupInfo::WithClientSubnets
BrokerNodeGroupInfo & WithClientSubnets(const Aws::Vector< Aws::String > &value)
Definition: BrokerNodeGroupInfo.h:173
Aws::Kafka::Model::BrokerNodeGroupInfo::GetStorageInfo
const StorageInfo & GetStorageInfo() const
Definition: BrokerNodeGroupInfo.h:402
Aws::Kafka::Model::BrokerNodeGroupInfo::BrokerAZDistributionHasBeenSet
bool BrokerAZDistributionHasBeenSet() const
Definition: BrokerNodeGroupInfo.h:70
Aws::Kafka::Model::BrokerNodeGroupInfo::ClientSubnetsHasBeenSet
bool ClientSubnetsHasBeenSet() const
Definition: BrokerNodeGroupInfo.h:143
Aws::Kafka::Model::BrokerNodeGroupInfo::SetInstanceType
void SetInstanceType(Aws::String &&value)
Definition: BrokerNodeGroupInfo.h:258
Aws::Kafka::Model::BrokerNodeGroupInfo::SetInstanceType
void SetInstanceType(const Aws::String &value)
Definition: BrokerNodeGroupInfo.h:247
Aws::Kafka::Model::BrokerNodeGroupInfo::SetSecurityGroups
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: BrokerNodeGroupInfo.h:343