AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MutableClusterInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kafka/model/ConfigurationInfo.h>
10#include <aws/kafka/model/EnhancedMonitoring.h>
11#include <aws/kafka/model/OpenMonitoring.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/kafka/model/LoggingInfo.h>
14#include <aws/kafka/model/ClientAuthentication.h>
15#include <aws/kafka/model/EncryptionInfo.h>
16#include <aws/kafka/model/ConnectivityInfo.h>
17#include <aws/kafka/model/StorageMode.h>
18#include <aws/kafka/model/BrokerCountUpdateInfo.h>
19#include <aws/kafka/model/BrokerEBSVolumeInfo.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace Kafka
33{
34namespace Model
35{
36
46 {
47 public:
48 AWS_KAFKA_API MutableClusterInfo();
51 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
61 inline const Aws::Vector<BrokerEBSVolumeInfo>& GetBrokerEBSVolumeInfo() const{ return m_brokerEBSVolumeInfo; }
62 inline bool BrokerEBSVolumeInfoHasBeenSet() const { return m_brokerEBSVolumeInfoHasBeenSet; }
63 inline void SetBrokerEBSVolumeInfo(const Aws::Vector<BrokerEBSVolumeInfo>& value) { m_brokerEBSVolumeInfoHasBeenSet = true; m_brokerEBSVolumeInfo = value; }
64 inline void SetBrokerEBSVolumeInfo(Aws::Vector<BrokerEBSVolumeInfo>&& value) { m_brokerEBSVolumeInfoHasBeenSet = true; m_brokerEBSVolumeInfo = std::move(value); }
67 inline MutableClusterInfo& AddBrokerEBSVolumeInfo(const BrokerEBSVolumeInfo& value) { m_brokerEBSVolumeInfoHasBeenSet = true; m_brokerEBSVolumeInfo.push_back(value); return *this; }
68 inline MutableClusterInfo& AddBrokerEBSVolumeInfo(BrokerEBSVolumeInfo&& value) { m_brokerEBSVolumeInfoHasBeenSet = true; m_brokerEBSVolumeInfo.push_back(std::move(value)); return *this; }
70
72
78 inline const ConfigurationInfo& GetConfigurationInfo() const{ return m_configurationInfo; }
79 inline bool ConfigurationInfoHasBeenSet() const { return m_configurationInfoHasBeenSet; }
80 inline void SetConfigurationInfo(const ConfigurationInfo& value) { m_configurationInfoHasBeenSet = true; m_configurationInfo = value; }
81 inline void SetConfigurationInfo(ConfigurationInfo&& value) { m_configurationInfoHasBeenSet = true; m_configurationInfo = std::move(value); }
83 inline MutableClusterInfo& WithConfigurationInfo(ConfigurationInfo&& value) { SetConfigurationInfo(std::move(value)); return *this;}
85
87
92 inline int GetNumberOfBrokerNodes() const{ return m_numberOfBrokerNodes; }
93 inline bool NumberOfBrokerNodesHasBeenSet() const { return m_numberOfBrokerNodesHasBeenSet; }
94 inline void SetNumberOfBrokerNodes(int value) { m_numberOfBrokerNodesHasBeenSet = true; m_numberOfBrokerNodes = value; }
95 inline MutableClusterInfo& WithNumberOfBrokerNodes(int value) { SetNumberOfBrokerNodes(value); return *this;}
97
99
105 inline const EnhancedMonitoring& GetEnhancedMonitoring() const{ return m_enhancedMonitoring; }
106 inline bool EnhancedMonitoringHasBeenSet() const { return m_enhancedMonitoringHasBeenSet; }
107 inline void SetEnhancedMonitoring(const EnhancedMonitoring& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = value; }
108 inline void SetEnhancedMonitoring(EnhancedMonitoring&& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = std::move(value); }
110 inline MutableClusterInfo& WithEnhancedMonitoring(EnhancedMonitoring&& value) { SetEnhancedMonitoring(std::move(value)); return *this;}
112
114
119 inline const OpenMonitoring& GetOpenMonitoring() const{ return m_openMonitoring; }
120 inline bool OpenMonitoringHasBeenSet() const { return m_openMonitoringHasBeenSet; }
121 inline void SetOpenMonitoring(const OpenMonitoring& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = value; }
122 inline void SetOpenMonitoring(OpenMonitoring&& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = std::move(value); }
123 inline MutableClusterInfo& WithOpenMonitoring(const OpenMonitoring& value) { SetOpenMonitoring(value); return *this;}
124 inline MutableClusterInfo& WithOpenMonitoring(OpenMonitoring&& value) { SetOpenMonitoring(std::move(value)); return *this;}
126
128
133 inline const Aws::String& GetKafkaVersion() const{ return m_kafkaVersion; }
134 inline bool KafkaVersionHasBeenSet() const { return m_kafkaVersionHasBeenSet; }
135 inline void SetKafkaVersion(const Aws::String& value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion = value; }
136 inline void SetKafkaVersion(Aws::String&& value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion = std::move(value); }
137 inline void SetKafkaVersion(const char* value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion.assign(value); }
138 inline MutableClusterInfo& WithKafkaVersion(const Aws::String& value) { SetKafkaVersion(value); return *this;}
139 inline MutableClusterInfo& WithKafkaVersion(Aws::String&& value) { SetKafkaVersion(std::move(value)); return *this;}
140 inline MutableClusterInfo& WithKafkaVersion(const char* value) { SetKafkaVersion(value); return *this;}
142
144
151 inline const LoggingInfo& GetLoggingInfo() const{ return m_loggingInfo; }
152 inline bool LoggingInfoHasBeenSet() const { return m_loggingInfoHasBeenSet; }
153 inline void SetLoggingInfo(const LoggingInfo& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = value; }
154 inline void SetLoggingInfo(LoggingInfo&& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = std::move(value); }
155 inline MutableClusterInfo& WithLoggingInfo(const LoggingInfo& value) { SetLoggingInfo(value); return *this;}
156 inline MutableClusterInfo& WithLoggingInfo(LoggingInfo&& value) { SetLoggingInfo(std::move(value)); return *this;}
158
160
165 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
166 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
167 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
168 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
169 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
170 inline MutableClusterInfo& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
171 inline MutableClusterInfo& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
172 inline MutableClusterInfo& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
174
176
181 inline const ClientAuthentication& GetClientAuthentication() const{ return m_clientAuthentication; }
182 inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; }
183 inline void SetClientAuthentication(const ClientAuthentication& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = value; }
184 inline void SetClientAuthentication(ClientAuthentication&& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = std::move(value); }
188
190
195 inline const EncryptionInfo& GetEncryptionInfo() const{ return m_encryptionInfo; }
196 inline bool EncryptionInfoHasBeenSet() const { return m_encryptionInfoHasBeenSet; }
197 inline void SetEncryptionInfo(const EncryptionInfo& value) { m_encryptionInfoHasBeenSet = true; m_encryptionInfo = value; }
198 inline void SetEncryptionInfo(EncryptionInfo&& value) { m_encryptionInfoHasBeenSet = true; m_encryptionInfo = std::move(value); }
199 inline MutableClusterInfo& WithEncryptionInfo(const EncryptionInfo& value) { SetEncryptionInfo(value); return *this;}
200 inline MutableClusterInfo& WithEncryptionInfo(EncryptionInfo&& value) { SetEncryptionInfo(std::move(value)); return *this;}
202
204
209 inline const ConnectivityInfo& GetConnectivityInfo() const{ return m_connectivityInfo; }
210 inline bool ConnectivityInfoHasBeenSet() const { return m_connectivityInfoHasBeenSet; }
211 inline void SetConnectivityInfo(const ConnectivityInfo& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo = value; }
212 inline void SetConnectivityInfo(ConnectivityInfo&& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo = std::move(value); }
214 inline MutableClusterInfo& WithConnectivityInfo(ConnectivityInfo&& value) { SetConnectivityInfo(std::move(value)); return *this;}
216
218
224 inline const StorageMode& GetStorageMode() const{ return m_storageMode; }
225 inline bool StorageModeHasBeenSet() const { return m_storageModeHasBeenSet; }
226 inline void SetStorageMode(const StorageMode& value) { m_storageModeHasBeenSet = true; m_storageMode = value; }
227 inline void SetStorageMode(StorageMode&& value) { m_storageModeHasBeenSet = true; m_storageMode = std::move(value); }
228 inline MutableClusterInfo& WithStorageMode(const StorageMode& value) { SetStorageMode(value); return *this;}
229 inline MutableClusterInfo& WithStorageMode(StorageMode&& value) { SetStorageMode(std::move(value)); return *this;}
231
233
239 inline const BrokerCountUpdateInfo& GetBrokerCountUpdateInfo() const{ return m_brokerCountUpdateInfo; }
240 inline bool BrokerCountUpdateInfoHasBeenSet() const { return m_brokerCountUpdateInfoHasBeenSet; }
241 inline void SetBrokerCountUpdateInfo(const BrokerCountUpdateInfo& value) { m_brokerCountUpdateInfoHasBeenSet = true; m_brokerCountUpdateInfo = value; }
242 inline void SetBrokerCountUpdateInfo(BrokerCountUpdateInfo&& value) { m_brokerCountUpdateInfoHasBeenSet = true; m_brokerCountUpdateInfo = std::move(value); }
246 private:
247
248 Aws::Vector<BrokerEBSVolumeInfo> m_brokerEBSVolumeInfo;
249 bool m_brokerEBSVolumeInfoHasBeenSet = false;
250
251 ConfigurationInfo m_configurationInfo;
252 bool m_configurationInfoHasBeenSet = false;
253
254 int m_numberOfBrokerNodes;
255 bool m_numberOfBrokerNodesHasBeenSet = false;
256
257 EnhancedMonitoring m_enhancedMonitoring;
258 bool m_enhancedMonitoringHasBeenSet = false;
259
260 OpenMonitoring m_openMonitoring;
261 bool m_openMonitoringHasBeenSet = false;
262
263 Aws::String m_kafkaVersion;
264 bool m_kafkaVersionHasBeenSet = false;
265
266 LoggingInfo m_loggingInfo;
267 bool m_loggingInfoHasBeenSet = false;
268
269 Aws::String m_instanceType;
270 bool m_instanceTypeHasBeenSet = false;
271
272 ClientAuthentication m_clientAuthentication;
273 bool m_clientAuthenticationHasBeenSet = false;
274
275 EncryptionInfo m_encryptionInfo;
276 bool m_encryptionInfoHasBeenSet = false;
277
278 ConnectivityInfo m_connectivityInfo;
279 bool m_connectivityInfoHasBeenSet = false;
280
281 StorageMode m_storageMode;
282 bool m_storageModeHasBeenSet = false;
283
284 BrokerCountUpdateInfo m_brokerCountUpdateInfo;
285 bool m_brokerCountUpdateInfoHasBeenSet = false;
286 };
287
288} // namespace Model
289} // namespace Kafka
290} // namespace Aws
const ConnectivityInfo & GetConnectivityInfo() const
const LoggingInfo & GetLoggingInfo() const
MutableClusterInfo & WithClientAuthentication(const ClientAuthentication &value)
void SetKafkaVersion(const Aws::String &value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
const BrokerCountUpdateInfo & GetBrokerCountUpdateInfo() const
MutableClusterInfo & WithOpenMonitoring(const OpenMonitoring &value)
void SetBrokerEBSVolumeInfo(Aws::Vector< BrokerEBSVolumeInfo > &&value)
MutableClusterInfo & WithNumberOfBrokerNodes(int value)
MutableClusterInfo & WithInstanceType(Aws::String &&value)
MutableClusterInfo & WithKafkaVersion(const Aws::String &value)
const OpenMonitoring & GetOpenMonitoring() const
MutableClusterInfo & WithLoggingInfo(LoggingInfo &&value)
void SetEncryptionInfo(EncryptionInfo &&value)
void SetOpenMonitoring(OpenMonitoring &&value)
const EncryptionInfo & GetEncryptionInfo() const
void SetLoggingInfo(const LoggingInfo &value)
void SetEnhancedMonitoring(EnhancedMonitoring &&value)
MutableClusterInfo & WithConnectivityInfo(const ConnectivityInfo &value)
void SetClientAuthentication(ClientAuthentication &&value)
void SetStorageMode(const StorageMode &value)
const ClientAuthentication & GetClientAuthentication() const
void SetOpenMonitoring(const OpenMonitoring &value)
void SetInstanceType(Aws::String &&value)
void SetConnectivityInfo(const ConnectivityInfo &value)
void SetBrokerCountUpdateInfo(const BrokerCountUpdateInfo &value)
MutableClusterInfo & WithKafkaVersion(Aws::String &&value)
const Aws::Vector< BrokerEBSVolumeInfo > & GetBrokerEBSVolumeInfo() const
const Aws::String & GetKafkaVersion() const
MutableClusterInfo & AddBrokerEBSVolumeInfo(const BrokerEBSVolumeInfo &value)
MutableClusterInfo & WithEnhancedMonitoring(EnhancedMonitoring &&value)
MutableClusterInfo & WithBrokerEBSVolumeInfo(Aws::Vector< BrokerEBSVolumeInfo > &&value)
MutableClusterInfo & WithBrokerCountUpdateInfo(BrokerCountUpdateInfo &&value)
void SetBrokerCountUpdateInfo(BrokerCountUpdateInfo &&value)
void SetEncryptionInfo(const EncryptionInfo &value)
MutableClusterInfo & WithInstanceType(const Aws::String &value)
MutableClusterInfo & WithStorageMode(StorageMode &&value)
MutableClusterInfo & AddBrokerEBSVolumeInfo(BrokerEBSVolumeInfo &&value)
MutableClusterInfo & WithKafkaVersion(const char *value)
void SetKafkaVersion(Aws::String &&value)
MutableClusterInfo & WithInstanceType(const char *value)
void SetBrokerEBSVolumeInfo(const Aws::Vector< BrokerEBSVolumeInfo > &value)
MutableClusterInfo & WithConnectivityInfo(ConnectivityInfo &&value)
MutableClusterInfo & WithLoggingInfo(const LoggingInfo &value)
MutableClusterInfo & WithBrokerCountUpdateInfo(const BrokerCountUpdateInfo &value)
AWS_KAFKA_API MutableClusterInfo(Aws::Utils::Json::JsonView jsonValue)
MutableClusterInfo & WithEncryptionInfo(const EncryptionInfo &value)
void SetInstanceType(const Aws::String &value)
void SetConfigurationInfo(const ConfigurationInfo &value)
const Aws::String & GetInstanceType() const
const EnhancedMonitoring & GetEnhancedMonitoring() const
MutableClusterInfo & WithConfigurationInfo(ConfigurationInfo &&value)
MutableClusterInfo & WithEncryptionInfo(EncryptionInfo &&value)
MutableClusterInfo & WithBrokerEBSVolumeInfo(const Aws::Vector< BrokerEBSVolumeInfo > &value)
void SetEnhancedMonitoring(const EnhancedMonitoring &value)
AWS_KAFKA_API MutableClusterInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
MutableClusterInfo & WithStorageMode(const StorageMode &value)
MutableClusterInfo & WithClientAuthentication(ClientAuthentication &&value)
void SetConfigurationInfo(ConfigurationInfo &&value)
void SetConnectivityInfo(ConnectivityInfo &&value)
MutableClusterInfo & WithEnhancedMonitoring(const EnhancedMonitoring &value)
MutableClusterInfo & WithConfigurationInfo(const ConfigurationInfo &value)
MutableClusterInfo & WithOpenMonitoring(OpenMonitoring &&value)
const StorageMode & GetStorageMode() const
const ConfigurationInfo & GetConfigurationInfo() const
void SetClientAuthentication(const ClientAuthentication &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue