AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ProvisionedRequest.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/ClientAuthentication.h>
11#include <aws/kafka/model/ConfigurationInfo.h>
12#include <aws/kafka/model/EncryptionInfo.h>
13#include <aws/kafka/model/EnhancedMonitoring.h>
14#include <aws/kafka/model/LoggingInfo.h>
15#include <aws/kafka/model/OpenMonitoringInfo.h>
16#include <aws/kafka/model/Rebalancing.h>
17#include <aws/kafka/model/StorageMode.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Kafka {
29namespace Model {
30
40 public:
41 AWS_KAFKA_API ProvisionedRequest() = default;
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 ProvisionedRequest& WithBrokerNodeGroupInfo(BrokerNodeGroupInfoT&& value) {
61 SetBrokerNodeGroupInfo(std::forward<BrokerNodeGroupInfoT>(value));
62 return *this;
63 }
65
67
74 inline const Rebalancing& GetRebalancing() const { return m_rebalancing; }
75 inline bool RebalancingHasBeenSet() const { return m_rebalancingHasBeenSet; }
76 template <typename RebalancingT = Rebalancing>
77 void SetRebalancing(RebalancingT&& value) {
78 m_rebalancingHasBeenSet = true;
79 m_rebalancing = std::forward<RebalancingT>(value);
80 }
81 template <typename RebalancingT = Rebalancing>
82 ProvisionedRequest& WithRebalancing(RebalancingT&& value) {
83 SetRebalancing(std::forward<RebalancingT>(value));
84 return *this;
85 }
87
89
94 inline const ClientAuthentication& GetClientAuthentication() const { return m_clientAuthentication; }
95 inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; }
96 template <typename ClientAuthenticationT = ClientAuthentication>
97 void SetClientAuthentication(ClientAuthenticationT&& value) {
98 m_clientAuthenticationHasBeenSet = true;
99 m_clientAuthentication = std::forward<ClientAuthenticationT>(value);
100 }
101 template <typename ClientAuthenticationT = ClientAuthentication>
102 ProvisionedRequest& WithClientAuthentication(ClientAuthenticationT&& value) {
103 SetClientAuthentication(std::forward<ClientAuthenticationT>(value));
104 return *this;
105 }
107
109
115 inline const ConfigurationInfo& GetConfigurationInfo() const { return m_configurationInfo; }
116 inline bool ConfigurationInfoHasBeenSet() const { return m_configurationInfoHasBeenSet; }
117 template <typename ConfigurationInfoT = ConfigurationInfo>
118 void SetConfigurationInfo(ConfigurationInfoT&& value) {
119 m_configurationInfoHasBeenSet = true;
120 m_configurationInfo = std::forward<ConfigurationInfoT>(value);
121 }
122 template <typename ConfigurationInfoT = ConfigurationInfo>
123 ProvisionedRequest& WithConfigurationInfo(ConfigurationInfoT&& value) {
124 SetConfigurationInfo(std::forward<ConfigurationInfoT>(value));
125 return *this;
126 }
128
130
135 inline const EncryptionInfo& GetEncryptionInfo() const { return m_encryptionInfo; }
136 inline bool EncryptionInfoHasBeenSet() const { return m_encryptionInfoHasBeenSet; }
137 template <typename EncryptionInfoT = EncryptionInfo>
138 void SetEncryptionInfo(EncryptionInfoT&& value) {
139 m_encryptionInfoHasBeenSet = true;
140 m_encryptionInfo = std::forward<EncryptionInfoT>(value);
141 }
142 template <typename EncryptionInfoT = EncryptionInfo>
143 ProvisionedRequest& WithEncryptionInfo(EncryptionInfoT&& value) {
144 SetEncryptionInfo(std::forward<EncryptionInfoT>(value));
145 return *this;
146 }
148
150
157 inline EnhancedMonitoring GetEnhancedMonitoring() const { return m_enhancedMonitoring; }
158 inline bool EnhancedMonitoringHasBeenSet() const { return m_enhancedMonitoringHasBeenSet; }
160 m_enhancedMonitoringHasBeenSet = true;
161 m_enhancedMonitoring = value;
162 }
165 return *this;
166 }
168
170
175 inline const OpenMonitoringInfo& GetOpenMonitoring() const { return m_openMonitoring; }
176 inline bool OpenMonitoringHasBeenSet() const { return m_openMonitoringHasBeenSet; }
177 template <typename OpenMonitoringT = OpenMonitoringInfo>
178 void SetOpenMonitoring(OpenMonitoringT&& value) {
179 m_openMonitoringHasBeenSet = true;
180 m_openMonitoring = std::forward<OpenMonitoringT>(value);
181 }
182 template <typename OpenMonitoringT = OpenMonitoringInfo>
183 ProvisionedRequest& WithOpenMonitoring(OpenMonitoringT&& value) {
184 SetOpenMonitoring(std::forward<OpenMonitoringT>(value));
185 return *this;
186 }
188
190
196 inline const Aws::String& GetKafkaVersion() const { return m_kafkaVersion; }
197 inline bool KafkaVersionHasBeenSet() const { return m_kafkaVersionHasBeenSet; }
198 template <typename KafkaVersionT = Aws::String>
199 void SetKafkaVersion(KafkaVersionT&& value) {
200 m_kafkaVersionHasBeenSet = true;
201 m_kafkaVersion = std::forward<KafkaVersionT>(value);
202 }
203 template <typename KafkaVersionT = Aws::String>
204 ProvisionedRequest& WithKafkaVersion(KafkaVersionT&& value) {
205 SetKafkaVersion(std::forward<KafkaVersionT>(value));
206 return *this;
207 }
209
211
216 inline const LoggingInfo& GetLoggingInfo() const { return m_loggingInfo; }
217 inline bool LoggingInfoHasBeenSet() const { return m_loggingInfoHasBeenSet; }
218 template <typename LoggingInfoT = LoggingInfo>
219 void SetLoggingInfo(LoggingInfoT&& value) {
220 m_loggingInfoHasBeenSet = true;
221 m_loggingInfo = std::forward<LoggingInfoT>(value);
222 }
223 template <typename LoggingInfoT = LoggingInfo>
224 ProvisionedRequest& WithLoggingInfo(LoggingInfoT&& value) {
225 SetLoggingInfo(std::forward<LoggingInfoT>(value));
226 return *this;
227 }
229
231
236 inline int GetNumberOfBrokerNodes() const { return m_numberOfBrokerNodes; }
237 inline bool NumberOfBrokerNodesHasBeenSet() const { return m_numberOfBrokerNodesHasBeenSet; }
238 inline void SetNumberOfBrokerNodes(int value) {
239 m_numberOfBrokerNodesHasBeenSet = true;
240 m_numberOfBrokerNodes = value;
241 }
244 return *this;
245 }
247
249
255 inline StorageMode GetStorageMode() const { return m_storageMode; }
256 inline bool StorageModeHasBeenSet() const { return m_storageModeHasBeenSet; }
257 inline void SetStorageMode(StorageMode value) {
258 m_storageModeHasBeenSet = true;
259 m_storageMode = value;
260 }
262 SetStorageMode(value);
263 return *this;
264 }
266 private:
267 BrokerNodeGroupInfo m_brokerNodeGroupInfo;
268
269 Rebalancing m_rebalancing;
270
271 ClientAuthentication m_clientAuthentication;
272
273 ConfigurationInfo m_configurationInfo;
274
275 EncryptionInfo m_encryptionInfo;
276
278
279 OpenMonitoringInfo m_openMonitoring;
280
281 Aws::String m_kafkaVersion;
282
283 LoggingInfo m_loggingInfo;
284
285 int m_numberOfBrokerNodes{0};
286
287 StorageMode m_storageMode{StorageMode::NOT_SET};
288 bool m_brokerNodeGroupInfoHasBeenSet = false;
289 bool m_rebalancingHasBeenSet = false;
290 bool m_clientAuthenticationHasBeenSet = false;
291 bool m_configurationInfoHasBeenSet = false;
292 bool m_encryptionInfoHasBeenSet = false;
293 bool m_enhancedMonitoringHasBeenSet = false;
294 bool m_openMonitoringHasBeenSet = false;
295 bool m_kafkaVersionHasBeenSet = false;
296 bool m_loggingInfoHasBeenSet = false;
297 bool m_numberOfBrokerNodesHasBeenSet = false;
298 bool m_storageModeHasBeenSet = false;
299};
300
301} // namespace Model
302} // namespace Kafka
303} // namespace Aws
void SetRebalancing(RebalancingT &&value)
AWS_KAFKA_API ProvisionedRequest()=default
ProvisionedRequest & WithBrokerNodeGroupInfo(BrokerNodeGroupInfoT &&value)
const Aws::String & GetKafkaVersion() const
EnhancedMonitoring GetEnhancedMonitoring() const
ProvisionedRequest & WithLoggingInfo(LoggingInfoT &&value)
void SetEncryptionInfo(EncryptionInfoT &&value)
ProvisionedRequest & WithEnhancedMonitoring(EnhancedMonitoring value)
void SetOpenMonitoring(OpenMonitoringT &&value)
const Rebalancing & GetRebalancing() const
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKA_API ProvisionedRequest(Aws::Utils::Json::JsonView jsonValue)
const ConfigurationInfo & GetConfigurationInfo() const
void SetEnhancedMonitoring(EnhancedMonitoring value)
AWS_KAFKA_API ProvisionedRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisionedRequest & WithClientAuthentication(ClientAuthenticationT &&value)
ProvisionedRequest & WithNumberOfBrokerNodes(int value)
const LoggingInfo & GetLoggingInfo() const
void SetConfigurationInfo(ConfigurationInfoT &&value)
void SetClientAuthentication(ClientAuthenticationT &&value)
const ClientAuthentication & GetClientAuthentication() const
void SetLoggingInfo(LoggingInfoT &&value)
void SetKafkaVersion(KafkaVersionT &&value)
void SetBrokerNodeGroupInfo(BrokerNodeGroupInfoT &&value)
ProvisionedRequest & WithConfigurationInfo(ConfigurationInfoT &&value)
const BrokerNodeGroupInfo & GetBrokerNodeGroupInfo() const
ProvisionedRequest & WithStorageMode(StorageMode value)
ProvisionedRequest & WithRebalancing(RebalancingT &&value)
ProvisionedRequest & WithKafkaVersion(KafkaVersionT &&value)
ProvisionedRequest & WithEncryptionInfo(EncryptionInfoT &&value)
ProvisionedRequest & WithOpenMonitoring(OpenMonitoringT &&value)
const OpenMonitoringInfo & GetOpenMonitoring() const
const EncryptionInfo & GetEncryptionInfo() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue