AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BrokerNodeInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/model/BrokerSoftwareInfo.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Kafka
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_KAFKA_API BrokerNodeInfo();
41 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::String& GetAttachedENIId() const{ return m_attachedENIId; }
52 inline bool AttachedENIIdHasBeenSet() const { return m_attachedENIIdHasBeenSet; }
53 inline void SetAttachedENIId(const Aws::String& value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId = value; }
54 inline void SetAttachedENIId(Aws::String&& value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId = std::move(value); }
55 inline void SetAttachedENIId(const char* value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId.assign(value); }
56 inline BrokerNodeInfo& WithAttachedENIId(const Aws::String& value) { SetAttachedENIId(value); return *this;}
57 inline BrokerNodeInfo& WithAttachedENIId(Aws::String&& value) { SetAttachedENIId(std::move(value)); return *this;}
58 inline BrokerNodeInfo& WithAttachedENIId(const char* value) { SetAttachedENIId(value); return *this;}
60
62
67 inline double GetBrokerId() const{ return m_brokerId; }
68 inline bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; }
69 inline void SetBrokerId(double value) { m_brokerIdHasBeenSet = true; m_brokerId = value; }
70 inline BrokerNodeInfo& WithBrokerId(double value) { SetBrokerId(value); return *this;}
72
74
80 inline const Aws::String& GetClientSubnet() const{ return m_clientSubnet; }
81 inline bool ClientSubnetHasBeenSet() const { return m_clientSubnetHasBeenSet; }
82 inline void SetClientSubnet(const Aws::String& value) { m_clientSubnetHasBeenSet = true; m_clientSubnet = value; }
83 inline void SetClientSubnet(Aws::String&& value) { m_clientSubnetHasBeenSet = true; m_clientSubnet = std::move(value); }
84 inline void SetClientSubnet(const char* value) { m_clientSubnetHasBeenSet = true; m_clientSubnet.assign(value); }
85 inline BrokerNodeInfo& WithClientSubnet(const Aws::String& value) { SetClientSubnet(value); return *this;}
86 inline BrokerNodeInfo& WithClientSubnet(Aws::String&& value) { SetClientSubnet(std::move(value)); return *this;}
87 inline BrokerNodeInfo& WithClientSubnet(const char* value) { SetClientSubnet(value); return *this;}
89
91
96 inline const Aws::String& GetClientVpcIpAddress() const{ return m_clientVpcIpAddress; }
97 inline bool ClientVpcIpAddressHasBeenSet() const { return m_clientVpcIpAddressHasBeenSet; }
98 inline void SetClientVpcIpAddress(const Aws::String& value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress = value; }
99 inline void SetClientVpcIpAddress(Aws::String&& value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress = std::move(value); }
100 inline void SetClientVpcIpAddress(const char* value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress.assign(value); }
101 inline BrokerNodeInfo& WithClientVpcIpAddress(const Aws::String& value) { SetClientVpcIpAddress(value); return *this;}
102 inline BrokerNodeInfo& WithClientVpcIpAddress(Aws::String&& value) { SetClientVpcIpAddress(std::move(value)); return *this;}
103 inline BrokerNodeInfo& WithClientVpcIpAddress(const char* value) { SetClientVpcIpAddress(value); return *this;}
105
107
113 inline const BrokerSoftwareInfo& GetCurrentBrokerSoftwareInfo() const{ return m_currentBrokerSoftwareInfo; }
114 inline bool CurrentBrokerSoftwareInfoHasBeenSet() const { return m_currentBrokerSoftwareInfoHasBeenSet; }
115 inline void SetCurrentBrokerSoftwareInfo(const BrokerSoftwareInfo& value) { m_currentBrokerSoftwareInfoHasBeenSet = true; m_currentBrokerSoftwareInfo = value; }
116 inline void SetCurrentBrokerSoftwareInfo(BrokerSoftwareInfo&& value) { m_currentBrokerSoftwareInfoHasBeenSet = true; m_currentBrokerSoftwareInfo = std::move(value); }
120
122
127 inline const Aws::Vector<Aws::String>& GetEndpoints() const{ return m_endpoints; }
128 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
129 inline void SetEndpoints(const Aws::Vector<Aws::String>& value) { m_endpointsHasBeenSet = true; m_endpoints = value; }
130 inline void SetEndpoints(Aws::Vector<Aws::String>&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); }
131 inline BrokerNodeInfo& WithEndpoints(const Aws::Vector<Aws::String>& value) { SetEndpoints(value); return *this;}
132 inline BrokerNodeInfo& WithEndpoints(Aws::Vector<Aws::String>&& value) { SetEndpoints(std::move(value)); return *this;}
133 inline BrokerNodeInfo& AddEndpoints(const Aws::String& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
134 inline BrokerNodeInfo& AddEndpoints(Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; }
135 inline BrokerNodeInfo& AddEndpoints(const char* value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
137 private:
138
139 Aws::String m_attachedENIId;
140 bool m_attachedENIIdHasBeenSet = false;
141
142 double m_brokerId;
143 bool m_brokerIdHasBeenSet = false;
144
145 Aws::String m_clientSubnet;
146 bool m_clientSubnetHasBeenSet = false;
147
148 Aws::String m_clientVpcIpAddress;
149 bool m_clientVpcIpAddressHasBeenSet = false;
150
151 BrokerSoftwareInfo m_currentBrokerSoftwareInfo;
152 bool m_currentBrokerSoftwareInfoHasBeenSet = false;
153
154 Aws::Vector<Aws::String> m_endpoints;
155 bool m_endpointsHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace Kafka
160} // namespace Aws
const BrokerSoftwareInfo & GetCurrentBrokerSoftwareInfo() const
void SetEndpoints(Aws::Vector< Aws::String > &&value)
BrokerNodeInfo & AddEndpoints(const Aws::String &value)
BrokerNodeInfo & AddEndpoints(const char *value)
BrokerNodeInfo & WithClientVpcIpAddress(const char *value)
BrokerNodeInfo & WithClientVpcIpAddress(Aws::String &&value)
BrokerNodeInfo & WithAttachedENIId(const char *value)
void SetClientSubnet(const char *value)
void SetClientVpcIpAddress(const Aws::String &value)
void SetClientSubnet(const Aws::String &value)
BrokerNodeInfo & WithClientSubnet(const Aws::String &value)
BrokerNodeInfo & WithCurrentBrokerSoftwareInfo(BrokerSoftwareInfo &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttachedENIId(Aws::String &&value)
void SetCurrentBrokerSoftwareInfo(BrokerSoftwareInfo &&value)
BrokerNodeInfo & WithEndpoints(Aws::Vector< Aws::String > &&value)
AWS_KAFKA_API BrokerNodeInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetClientVpcIpAddress() const
BrokerNodeInfo & WithClientSubnet(Aws::String &&value)
BrokerNodeInfo & AddEndpoints(Aws::String &&value)
BrokerNodeInfo & WithAttachedENIId(Aws::String &&value)
BrokerNodeInfo & WithCurrentBrokerSoftwareInfo(const BrokerSoftwareInfo &value)
const Aws::Vector< Aws::String > & GetEndpoints() const
AWS_KAFKA_API BrokerNodeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCurrentBrokerSoftwareInfo(const BrokerSoftwareInfo &value)
BrokerNodeInfo & WithClientVpcIpAddress(const Aws::String &value)
BrokerNodeInfo & WithEndpoints(const Aws::Vector< Aws::String > &value)
void SetEndpoints(const Aws::Vector< Aws::String > &value)
void SetClientVpcIpAddress(const char *value)
BrokerNodeInfo & WithClientSubnet(const char *value)
void SetClientVpcIpAddress(Aws::String &&value)
BrokerNodeInfo & WithBrokerId(double value)
void SetAttachedENIId(const char *value)
BrokerNodeInfo & WithAttachedENIId(const Aws::String &value)
void SetAttachedENIId(const Aws::String &value)
void SetClientSubnet(Aws::String &&value)
const Aws::String & GetAttachedENIId() const
const Aws::String & GetClientSubnet() 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