AWS SDK for C++  1.9.105
AWS SDK for C++
BrokerNodeInfo.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Kafka
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
50  inline const Aws::String& GetAttachedENIId() const{ return m_attachedENIId; }
51 
58  inline bool AttachedENIIdHasBeenSet() const { return m_attachedENIIdHasBeenSet; }
59 
66  inline void SetAttachedENIId(const Aws::String& value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId = value; }
67 
74  inline void SetAttachedENIId(Aws::String&& value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId = std::move(value); }
75 
82  inline void SetAttachedENIId(const char* value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId.assign(value); }
83 
90  inline BrokerNodeInfo& WithAttachedENIId(const Aws::String& value) { SetAttachedENIId(value); return *this;}
91 
98  inline BrokerNodeInfo& WithAttachedENIId(Aws::String&& value) { SetAttachedENIId(std::move(value)); return *this;}
99 
106  inline BrokerNodeInfo& WithAttachedENIId(const char* value) { SetAttachedENIId(value); return *this;}
107 
108 
114  inline double GetBrokerId() const{ return m_brokerId; }
115 
121  inline bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; }
122 
128  inline void SetBrokerId(double value) { m_brokerIdHasBeenSet = true; m_brokerId = value; }
129 
135  inline BrokerNodeInfo& WithBrokerId(double value) { SetBrokerId(value); return *this;}
136 
137 
144  inline const Aws::String& GetClientSubnet() const{ return m_clientSubnet; }
145 
152  inline bool ClientSubnetHasBeenSet() const { return m_clientSubnetHasBeenSet; }
153 
160  inline void SetClientSubnet(const Aws::String& value) { m_clientSubnetHasBeenSet = true; m_clientSubnet = value; }
161 
168  inline void SetClientSubnet(Aws::String&& value) { m_clientSubnetHasBeenSet = true; m_clientSubnet = std::move(value); }
169 
176  inline void SetClientSubnet(const char* value) { m_clientSubnetHasBeenSet = true; m_clientSubnet.assign(value); }
177 
184  inline BrokerNodeInfo& WithClientSubnet(const Aws::String& value) { SetClientSubnet(value); return *this;}
185 
192  inline BrokerNodeInfo& WithClientSubnet(Aws::String&& value) { SetClientSubnet(std::move(value)); return *this;}
193 
200  inline BrokerNodeInfo& WithClientSubnet(const char* value) { SetClientSubnet(value); return *this;}
201 
202 
208  inline const Aws::String& GetClientVpcIpAddress() const{ return m_clientVpcIpAddress; }
209 
215  inline bool ClientVpcIpAddressHasBeenSet() const { return m_clientVpcIpAddressHasBeenSet; }
216 
222  inline void SetClientVpcIpAddress(const Aws::String& value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress = value; }
223 
229  inline void SetClientVpcIpAddress(Aws::String&& value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress = std::move(value); }
230 
236  inline void SetClientVpcIpAddress(const char* value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress.assign(value); }
237 
243  inline BrokerNodeInfo& WithClientVpcIpAddress(const Aws::String& value) { SetClientVpcIpAddress(value); return *this;}
244 
250  inline BrokerNodeInfo& WithClientVpcIpAddress(Aws::String&& value) { SetClientVpcIpAddress(std::move(value)); return *this;}
251 
257  inline BrokerNodeInfo& WithClientVpcIpAddress(const char* value) { SetClientVpcIpAddress(value); return *this;}
258 
259 
266  inline const BrokerSoftwareInfo& GetCurrentBrokerSoftwareInfo() const{ return m_currentBrokerSoftwareInfo; }
267 
274  inline bool CurrentBrokerSoftwareInfoHasBeenSet() const { return m_currentBrokerSoftwareInfoHasBeenSet; }
275 
282  inline void SetCurrentBrokerSoftwareInfo(const BrokerSoftwareInfo& value) { m_currentBrokerSoftwareInfoHasBeenSet = true; m_currentBrokerSoftwareInfo = value; }
283 
290  inline void SetCurrentBrokerSoftwareInfo(BrokerSoftwareInfo&& value) { m_currentBrokerSoftwareInfoHasBeenSet = true; m_currentBrokerSoftwareInfo = std::move(value); }
291 
298  inline BrokerNodeInfo& WithCurrentBrokerSoftwareInfo(const BrokerSoftwareInfo& value) { SetCurrentBrokerSoftwareInfo(value); return *this;}
299 
306  inline BrokerNodeInfo& WithCurrentBrokerSoftwareInfo(BrokerSoftwareInfo&& value) { SetCurrentBrokerSoftwareInfo(std::move(value)); return *this;}
307 
308 
314  inline const Aws::Vector<Aws::String>& GetEndpoints() const{ return m_endpoints; }
315 
321  inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
322 
328  inline void SetEndpoints(const Aws::Vector<Aws::String>& value) { m_endpointsHasBeenSet = true; m_endpoints = value; }
329 
335  inline void SetEndpoints(Aws::Vector<Aws::String>&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); }
336 
342  inline BrokerNodeInfo& WithEndpoints(const Aws::Vector<Aws::String>& value) { SetEndpoints(value); return *this;}
343 
349  inline BrokerNodeInfo& WithEndpoints(Aws::Vector<Aws::String>&& value) { SetEndpoints(std::move(value)); return *this;}
350 
356  inline BrokerNodeInfo& AddEndpoints(const Aws::String& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
357 
363  inline BrokerNodeInfo& AddEndpoints(Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; }
364 
370  inline BrokerNodeInfo& AddEndpoints(const char* value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
371 
372  private:
373 
374  Aws::String m_attachedENIId;
375  bool m_attachedENIIdHasBeenSet;
376 
377  double m_brokerId;
378  bool m_brokerIdHasBeenSet;
379 
380  Aws::String m_clientSubnet;
381  bool m_clientSubnetHasBeenSet;
382 
383  Aws::String m_clientVpcIpAddress;
384  bool m_clientVpcIpAddressHasBeenSet;
385 
386  BrokerSoftwareInfo m_currentBrokerSoftwareInfo;
387  bool m_currentBrokerSoftwareInfoHasBeenSet;
388 
389  Aws::Vector<Aws::String> m_endpoints;
390  bool m_endpointsHasBeenSet;
391  };
392 
393 } // namespace Model
394 } // namespace Kafka
395 } // namespace Aws
Aws::Kafka::Model::BrokerNodeInfo::WithEndpoints
BrokerNodeInfo & WithEndpoints(const Aws::Vector< Aws::String > &value)
Definition: BrokerNodeInfo.h:342
Aws::Kafka::Model::BrokerNodeInfo::operator=
BrokerNodeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::BrokerNodeInfo::BrokerNodeInfo
BrokerNodeInfo()
Aws::Kafka::Model::BrokerNodeInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::BrokerNodeInfo::SetClientSubnet
void SetClientSubnet(Aws::String &&value)
Definition: BrokerNodeInfo.h:168
Aws::Kafka::Model::BrokerNodeInfo::SetClientSubnet
void SetClientSubnet(const Aws::String &value)
Definition: BrokerNodeInfo.h:160
Aws::Kafka::Model::BrokerNodeInfo::GetClientVpcIpAddress
const Aws::String & GetClientVpcIpAddress() const
Definition: BrokerNodeInfo.h:208
Aws::Kafka::Model::BrokerNodeInfo::AddEndpoints
BrokerNodeInfo & AddEndpoints(Aws::String &&value)
Definition: BrokerNodeInfo.h:363
Aws::Kafka::Model::BrokerNodeInfo::SetEndpoints
void SetEndpoints(Aws::Vector< Aws::String > &&value)
Definition: BrokerNodeInfo.h:335
Aws::Kafka::Model::BrokerNodeInfo::SetAttachedENIId
void SetAttachedENIId(const char *value)
Definition: BrokerNodeInfo.h:82
Aws::Kafka::Model::BrokerNodeInfo::GetCurrentBrokerSoftwareInfo
const BrokerSoftwareInfo & GetCurrentBrokerSoftwareInfo() const
Definition: BrokerNodeInfo.h:266
BrokerSoftwareInfo.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Kafka::Model::BrokerNodeInfo::BrokerNodeInfo
BrokerNodeInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::BrokerNodeInfo::SetCurrentBrokerSoftwareInfo
void SetCurrentBrokerSoftwareInfo(BrokerSoftwareInfo &&value)
Definition: BrokerNodeInfo.h:290
Aws::Kafka::Model::BrokerNodeInfo::GetBrokerId
double GetBrokerId() const
Definition: BrokerNodeInfo.h:114
AWSVector.h
Aws::Kafka::Model::BrokerNodeInfo::CurrentBrokerSoftwareInfoHasBeenSet
bool CurrentBrokerSoftwareInfoHasBeenSet() const
Definition: BrokerNodeInfo.h:274
Aws::Kafka::Model::BrokerNodeInfo::WithAttachedENIId
BrokerNodeInfo & WithAttachedENIId(const Aws::String &value)
Definition: BrokerNodeInfo.h:90
Aws::Kafka::Model::BrokerNodeInfo
Definition: BrokerNodeInfo.h:36
Aws::Kafka::Model::BrokerNodeInfo::SetClientVpcIpAddress
void SetClientVpcIpAddress(const char *value)
Definition: BrokerNodeInfo.h:236
Aws::Kafka::Model::BrokerNodeInfo::SetAttachedENIId
void SetAttachedENIId(const Aws::String &value)
Definition: BrokerNodeInfo.h:66
Aws::Kafka::Model::BrokerNodeInfo::SetCurrentBrokerSoftwareInfo
void SetCurrentBrokerSoftwareInfo(const BrokerSoftwareInfo &value)
Definition: BrokerNodeInfo.h:282
Aws::Kafka::Model::BrokerNodeInfo::AttachedENIIdHasBeenSet
bool AttachedENIIdHasBeenSet() const
Definition: BrokerNodeInfo.h:58
Aws::Kafka::Model::BrokerNodeInfo::ClientVpcIpAddressHasBeenSet
bool ClientVpcIpAddressHasBeenSet() const
Definition: BrokerNodeInfo.h:215
Aws::Kafka::Model::BrokerNodeInfo::EndpointsHasBeenSet
bool EndpointsHasBeenSet() const
Definition: BrokerNodeInfo.h:321
Aws::Kafka::Model::BrokerNodeInfo::GetClientSubnet
const Aws::String & GetClientSubnet() const
Definition: BrokerNodeInfo.h:144
Aws::Kafka::Model::BrokerNodeInfo::WithClientSubnet
BrokerNodeInfo & WithClientSubnet(const Aws::String &value)
Definition: BrokerNodeInfo.h:184
Aws::Kafka::Model::BrokerNodeInfo::WithClientVpcIpAddress
BrokerNodeInfo & WithClientVpcIpAddress(const Aws::String &value)
Definition: BrokerNodeInfo.h:243
Aws::Kafka::Model::BrokerNodeInfo::SetBrokerId
void SetBrokerId(double value)
Definition: BrokerNodeInfo.h:128
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Kafka::Model::BrokerNodeInfo::SetClientVpcIpAddress
void SetClientVpcIpAddress(const Aws::String &value)
Definition: BrokerNodeInfo.h:222
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::BrokerNodeInfo::WithCurrentBrokerSoftwareInfo
BrokerNodeInfo & WithCurrentBrokerSoftwareInfo(const BrokerSoftwareInfo &value)
Definition: BrokerNodeInfo.h:298
Aws::Kafka::Model::BrokerNodeInfo::SetAttachedENIId
void SetAttachedENIId(Aws::String &&value)
Definition: BrokerNodeInfo.h:74
Aws::Kafka::Model::BrokerNodeInfo::WithClientVpcIpAddress
BrokerNodeInfo & WithClientVpcIpAddress(const char *value)
Definition: BrokerNodeInfo.h:257
Aws::Kafka::Model::BrokerNodeInfo::AddEndpoints
BrokerNodeInfo & AddEndpoints(const Aws::String &value)
Definition: BrokerNodeInfo.h:356
Aws::Kafka::Model::BrokerNodeInfo::WithClientSubnet
BrokerNodeInfo & WithClientSubnet(Aws::String &&value)
Definition: BrokerNodeInfo.h:192
Aws::Kafka::Model::BrokerNodeInfo::WithCurrentBrokerSoftwareInfo
BrokerNodeInfo & WithCurrentBrokerSoftwareInfo(BrokerSoftwareInfo &&value)
Definition: BrokerNodeInfo.h:306
Aws::Kafka::Model::BrokerNodeInfo::SetEndpoints
void SetEndpoints(const Aws::Vector< Aws::String > &value)
Definition: BrokerNodeInfo.h:328
Aws::Kafka::Model::BrokerSoftwareInfo
Definition: BrokerSoftwareInfo.h:35
Aws::Kafka::Model::BrokerNodeInfo::WithAttachedENIId
BrokerNodeInfo & WithAttachedENIId(const char *value)
Definition: BrokerNodeInfo.h:106
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::BrokerNodeInfo::AddEndpoints
BrokerNodeInfo & AddEndpoints(const char *value)
Definition: BrokerNodeInfo.h:370
Aws::Kafka::Model::BrokerNodeInfo::GetAttachedENIId
const Aws::String & GetAttachedENIId() const
Definition: BrokerNodeInfo.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::BrokerNodeInfo::ClientSubnetHasBeenSet
bool ClientSubnetHasBeenSet() const
Definition: BrokerNodeInfo.h:152
Aws::Kafka::Model::BrokerNodeInfo::SetClientVpcIpAddress
void SetClientVpcIpAddress(Aws::String &&value)
Definition: BrokerNodeInfo.h:229
Aws::Kafka::Model::BrokerNodeInfo::WithAttachedENIId
BrokerNodeInfo & WithAttachedENIId(Aws::String &&value)
Definition: BrokerNodeInfo.h:98
Aws::Kafka::Model::BrokerNodeInfo::WithClientSubnet
BrokerNodeInfo & WithClientSubnet(const char *value)
Definition: BrokerNodeInfo.h:200
Aws::Kafka::Model::BrokerNodeInfo::WithEndpoints
BrokerNodeInfo & WithEndpoints(Aws::Vector< Aws::String > &&value)
Definition: BrokerNodeInfo.h:349
Aws::Kafka::Model::BrokerNodeInfo::WithClientVpcIpAddress
BrokerNodeInfo & WithClientVpcIpAddress(Aws::String &&value)
Definition: BrokerNodeInfo.h:250
Aws::Kafka::Model::BrokerNodeInfo::WithBrokerId
BrokerNodeInfo & WithBrokerId(double value)
Definition: BrokerNodeInfo.h:135
Aws::Kafka::Model::BrokerNodeInfo::BrokerIdHasBeenSet
bool BrokerIdHasBeenSet() const
Definition: BrokerNodeInfo.h:121
Aws::Kafka::Model::BrokerNodeInfo::GetEndpoints
const Aws::Vector< Aws::String > & GetEndpoints() const
Definition: BrokerNodeInfo.h:314
Aws::Kafka::Model::BrokerNodeInfo::SetClientSubnet
void SetClientSubnet(const char *value)
Definition: BrokerNodeInfo.h:176