AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Provisioned.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/Kafka_EXPORTS.h>
9#include <aws/kafka/model/BrokerNodeGroupInfo.h>
10#include <aws/kafka/model/BrokerSoftwareInfo.h>
11#include <aws/kafka/model/ClientAuthentication.h>
12#include <aws/kafka/model/CustomerActionStatus.h>
13#include <aws/kafka/model/EncryptionInfo.h>
14#include <aws/kafka/model/EnhancedMonitoring.h>
15#include <aws/kafka/model/LoggingInfo.h>
16#include <aws/kafka/model/OpenMonitoringInfo.h>
17#include <aws/kafka/model/Rebalancing.h>
18#include <aws/kafka/model/StorageMode.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Utils {
24namespace Json {
25class JsonValue;
26class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace Kafka {
30namespace Model {
31
40 public:
41 AWS_KAFKA_API Provisioned() = default;
42 AWS_KAFKA_API Provisioned(Aws::Utils::Json::JsonView jsonValue);
44 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
45
47
52 inline const BrokerNodeGroupInfo& GetBrokerNodeGroupInfo() const { return m_brokerNodeGroupInfo; }
53 inline bool BrokerNodeGroupInfoHasBeenSet() const { return m_brokerNodeGroupInfoHasBeenSet; }
54 template <typename BrokerNodeGroupInfoT = BrokerNodeGroupInfo>
55 void SetBrokerNodeGroupInfo(BrokerNodeGroupInfoT&& value) {
56 m_brokerNodeGroupInfoHasBeenSet = true;
57 m_brokerNodeGroupInfo = std::forward<BrokerNodeGroupInfoT>(value);
58 }
59 template <typename BrokerNodeGroupInfoT = BrokerNodeGroupInfo>
60 Provisioned& WithBrokerNodeGroupInfo(BrokerNodeGroupInfoT&& value) {
61 SetBrokerNodeGroupInfo(std::forward<BrokerNodeGroupInfoT>(value));
62 return *this;
63 }
65
67
76 inline const Rebalancing& GetRebalancing() const { return m_rebalancing; }
77 inline bool RebalancingHasBeenSet() const { return m_rebalancingHasBeenSet; }
78 template <typename RebalancingT = Rebalancing>
79 void SetRebalancing(RebalancingT&& value) {
80 m_rebalancingHasBeenSet = true;
81 m_rebalancing = std::forward<RebalancingT>(value);
82 }
83 template <typename RebalancingT = Rebalancing>
84 Provisioned& WithRebalancing(RebalancingT&& value) {
85 SetRebalancing(std::forward<RebalancingT>(value));
86 return *this;
87 }
89
91
97 inline const BrokerSoftwareInfo& GetCurrentBrokerSoftwareInfo() const { return m_currentBrokerSoftwareInfo; }
98 inline bool CurrentBrokerSoftwareInfoHasBeenSet() const { return m_currentBrokerSoftwareInfoHasBeenSet; }
99 template <typename CurrentBrokerSoftwareInfoT = BrokerSoftwareInfo>
100 void SetCurrentBrokerSoftwareInfo(CurrentBrokerSoftwareInfoT&& value) {
101 m_currentBrokerSoftwareInfoHasBeenSet = true;
102 m_currentBrokerSoftwareInfo = std::forward<CurrentBrokerSoftwareInfoT>(value);
103 }
104 template <typename CurrentBrokerSoftwareInfoT = BrokerSoftwareInfo>
105 Provisioned& WithCurrentBrokerSoftwareInfo(CurrentBrokerSoftwareInfoT&& value) {
106 SetCurrentBrokerSoftwareInfo(std::forward<CurrentBrokerSoftwareInfoT>(value));
107 return *this;
108 }
110
112
117 inline const ClientAuthentication& GetClientAuthentication() const { return m_clientAuthentication; }
118 inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; }
119 template <typename ClientAuthenticationT = ClientAuthentication>
120 void SetClientAuthentication(ClientAuthenticationT&& value) {
121 m_clientAuthenticationHasBeenSet = true;
122 m_clientAuthentication = std::forward<ClientAuthenticationT>(value);
123 }
124 template <typename ClientAuthenticationT = ClientAuthentication>
125 Provisioned& WithClientAuthentication(ClientAuthenticationT&& value) {
126 SetClientAuthentication(std::forward<ClientAuthenticationT>(value));
127 return *this;
128 }
130
132
137 inline const EncryptionInfo& GetEncryptionInfo() const { return m_encryptionInfo; }
138 inline bool EncryptionInfoHasBeenSet() const { return m_encryptionInfoHasBeenSet; }
139 template <typename EncryptionInfoT = EncryptionInfo>
140 void SetEncryptionInfo(EncryptionInfoT&& value) {
141 m_encryptionInfoHasBeenSet = true;
142 m_encryptionInfo = std::forward<EncryptionInfoT>(value);
143 }
144 template <typename EncryptionInfoT = EncryptionInfo>
145 Provisioned& WithEncryptionInfo(EncryptionInfoT&& value) {
146 SetEncryptionInfo(std::forward<EncryptionInfoT>(value));
147 return *this;
148 }
150
152
159 inline EnhancedMonitoring GetEnhancedMonitoring() const { return m_enhancedMonitoring; }
160 inline bool EnhancedMonitoringHasBeenSet() const { return m_enhancedMonitoringHasBeenSet; }
162 m_enhancedMonitoringHasBeenSet = true;
163 m_enhancedMonitoring = value;
164 }
167 return *this;
168 }
170
172
177 inline const OpenMonitoringInfo& GetOpenMonitoring() const { return m_openMonitoring; }
178 inline bool OpenMonitoringHasBeenSet() const { return m_openMonitoringHasBeenSet; }
179 template <typename OpenMonitoringT = OpenMonitoringInfo>
180 void SetOpenMonitoring(OpenMonitoringT&& value) {
181 m_openMonitoringHasBeenSet = true;
182 m_openMonitoring = std::forward<OpenMonitoringT>(value);
183 }
184 template <typename OpenMonitoringT = OpenMonitoringInfo>
185 Provisioned& WithOpenMonitoring(OpenMonitoringT&& value) {
186 SetOpenMonitoring(std::forward<OpenMonitoringT>(value));
187 return *this;
188 }
190
192
197 inline const LoggingInfo& GetLoggingInfo() const { return m_loggingInfo; }
198 inline bool LoggingInfoHasBeenSet() const { return m_loggingInfoHasBeenSet; }
199 template <typename LoggingInfoT = LoggingInfo>
200 void SetLoggingInfo(LoggingInfoT&& value) {
201 m_loggingInfoHasBeenSet = true;
202 m_loggingInfo = std::forward<LoggingInfoT>(value);
203 }
204 template <typename LoggingInfoT = LoggingInfo>
205 Provisioned& WithLoggingInfo(LoggingInfoT&& value) {
206 SetLoggingInfo(std::forward<LoggingInfoT>(value));
207 return *this;
208 }
210
212
217 inline int GetNumberOfBrokerNodes() const { return m_numberOfBrokerNodes; }
218 inline bool NumberOfBrokerNodesHasBeenSet() const { return m_numberOfBrokerNodesHasBeenSet; }
219 inline void SetNumberOfBrokerNodes(int value) {
220 m_numberOfBrokerNodesHasBeenSet = true;
221 m_numberOfBrokerNodes = value;
222 }
225 return *this;
226 }
228
230
236 inline const Aws::String& GetZookeeperConnectString() const { return m_zookeeperConnectString; }
237 inline bool ZookeeperConnectStringHasBeenSet() const { return m_zookeeperConnectStringHasBeenSet; }
238 template <typename ZookeeperConnectStringT = Aws::String>
239 void SetZookeeperConnectString(ZookeeperConnectStringT&& value) {
240 m_zookeeperConnectStringHasBeenSet = true;
241 m_zookeeperConnectString = std::forward<ZookeeperConnectStringT>(value);
242 }
243 template <typename ZookeeperConnectStringT = Aws::String>
244 Provisioned& WithZookeeperConnectString(ZookeeperConnectStringT&& value) {
245 SetZookeeperConnectString(std::forward<ZookeeperConnectStringT>(value));
246 return *this;
247 }
249
251
257 inline const Aws::String& GetZookeeperConnectStringTls() const { return m_zookeeperConnectStringTls; }
258 inline bool ZookeeperConnectStringTlsHasBeenSet() const { return m_zookeeperConnectStringTlsHasBeenSet; }
259 template <typename ZookeeperConnectStringTlsT = Aws::String>
260 void SetZookeeperConnectStringTls(ZookeeperConnectStringTlsT&& value) {
261 m_zookeeperConnectStringTlsHasBeenSet = true;
262 m_zookeeperConnectStringTls = std::forward<ZookeeperConnectStringTlsT>(value);
263 }
264 template <typename ZookeeperConnectStringTlsT = Aws::String>
265 Provisioned& WithZookeeperConnectStringTls(ZookeeperConnectStringTlsT&& value) {
266 SetZookeeperConnectStringTls(std::forward<ZookeeperConnectStringTlsT>(value));
267 return *this;
268 }
270
272
278 inline StorageMode GetStorageMode() const { return m_storageMode; }
279 inline bool StorageModeHasBeenSet() const { return m_storageModeHasBeenSet; }
280 inline void SetStorageMode(StorageMode value) {
281 m_storageModeHasBeenSet = true;
282 m_storageMode = value;
283 }
285 SetStorageMode(value);
286 return *this;
287 }
289
291
297 inline CustomerActionStatus GetCustomerActionStatus() const { return m_customerActionStatus; }
298 inline bool CustomerActionStatusHasBeenSet() const { return m_customerActionStatusHasBeenSet; }
300 m_customerActionStatusHasBeenSet = true;
301 m_customerActionStatus = value;
302 }
305 return *this;
306 }
308 private:
309 BrokerNodeGroupInfo m_brokerNodeGroupInfo;
310
311 Rebalancing m_rebalancing;
312
313 BrokerSoftwareInfo m_currentBrokerSoftwareInfo;
314
315 ClientAuthentication m_clientAuthentication;
316
317 EncryptionInfo m_encryptionInfo;
318
320
321 OpenMonitoringInfo m_openMonitoring;
322
323 LoggingInfo m_loggingInfo;
324
325 int m_numberOfBrokerNodes{0};
326
327 Aws::String m_zookeeperConnectString;
328
329 Aws::String m_zookeeperConnectStringTls;
330
331 StorageMode m_storageMode{StorageMode::NOT_SET};
332
334 bool m_brokerNodeGroupInfoHasBeenSet = false;
335 bool m_rebalancingHasBeenSet = false;
336 bool m_currentBrokerSoftwareInfoHasBeenSet = false;
337 bool m_clientAuthenticationHasBeenSet = false;
338 bool m_encryptionInfoHasBeenSet = false;
339 bool m_enhancedMonitoringHasBeenSet = false;
340 bool m_openMonitoringHasBeenSet = false;
341 bool m_loggingInfoHasBeenSet = false;
342 bool m_numberOfBrokerNodesHasBeenSet = false;
343 bool m_zookeeperConnectStringHasBeenSet = false;
344 bool m_zookeeperConnectStringTlsHasBeenSet = false;
345 bool m_storageModeHasBeenSet = false;
346 bool m_customerActionStatusHasBeenSet = false;
347};
348
349} // namespace Model
350} // namespace Kafka
351} // namespace Aws
void SetLoggingInfo(LoggingInfoT &&value)
Provisioned & WithOpenMonitoring(OpenMonitoringT &&value)
Provisioned & WithZookeeperConnectStringTls(ZookeeperConnectStringTlsT &&value)
bool ClientAuthenticationHasBeenSet() const
void SetCustomerActionStatus(CustomerActionStatus value)
void SetOpenMonitoring(OpenMonitoringT &&value)
const BrokerNodeGroupInfo & GetBrokerNodeGroupInfo() const
Definition Provisioned.h:52
void SetCurrentBrokerSoftwareInfo(CurrentBrokerSoftwareInfoT &&value)
Provisioned & WithEncryptionInfo(EncryptionInfoT &&value)
bool BrokerNodeGroupInfoHasBeenSet() const
Definition Provisioned.h:53
void SetRebalancing(RebalancingT &&value)
Definition Provisioned.h:79
bool CustomerActionStatusHasBeenSet() const
Provisioned & WithBrokerNodeGroupInfo(BrokerNodeGroupInfoT &&value)
Definition Provisioned.h:60
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
bool EnhancedMonitoringHasBeenSet() const
void SetZookeeperConnectStringTls(ZookeeperConnectStringTlsT &&value)
Provisioned & WithRebalancing(RebalancingT &&value)
Definition Provisioned.h:84
CustomerActionStatus GetCustomerActionStatus() const
const EncryptionInfo & GetEncryptionInfo() const
void SetEncryptionInfo(EncryptionInfoT &&value)
bool ZookeeperConnectStringHasBeenSet() const
const OpenMonitoringInfo & GetOpenMonitoring() const
void SetBrokerNodeGroupInfo(BrokerNodeGroupInfoT &&value)
Definition Provisioned.h:55
bool ZookeeperConnectStringTlsHasBeenSet() const
EnhancedMonitoring GetEnhancedMonitoring() const
const Aws::String & GetZookeeperConnectStringTls() const
bool CurrentBrokerSoftwareInfoHasBeenSet() const
Definition Provisioned.h:98
const ClientAuthentication & GetClientAuthentication() const
const Rebalancing & GetRebalancing() const
Definition Provisioned.h:76
const BrokerSoftwareInfo & GetCurrentBrokerSoftwareInfo() const
Definition Provisioned.h:97
bool NumberOfBrokerNodesHasBeenSet() const
AWS_KAFKA_API Provisioned()=default
AWS_KAFKA_API Provisioned(Aws::Utils::Json::JsonView jsonValue)
Provisioned & WithZookeeperConnectString(ZookeeperConnectStringT &&value)
void SetStorageMode(StorageMode value)
const LoggingInfo & GetLoggingInfo() const
void SetEnhancedMonitoring(EnhancedMonitoring value)
Provisioned & WithEnhancedMonitoring(EnhancedMonitoring value)
Provisioned & WithLoggingInfo(LoggingInfoT &&value)
Provisioned & WithClientAuthentication(ClientAuthenticationT &&value)
void SetZookeeperConnectString(ZookeeperConnectStringT &&value)
void SetClientAuthentication(ClientAuthenticationT &&value)
void SetNumberOfBrokerNodes(int value)
AWS_KAFKA_API Provisioned & operator=(Aws::Utils::Json::JsonView jsonValue)
Provisioned & WithNumberOfBrokerNodes(int value)
Provisioned & WithCustomerActionStatus(CustomerActionStatus value)
const Aws::String & GetZookeeperConnectString() const
Provisioned & WithStorageMode(StorageMode value)
StorageMode GetStorageMode() const
Provisioned & WithCurrentBrokerSoftwareInfo(CurrentBrokerSoftwareInfoT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue