AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Provisioned.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/BrokerNodeGroupInfo.h>
9#include <aws/kafka/model/BrokerSoftwareInfo.h>
10#include <aws/kafka/model/ClientAuthentication.h>
11#include <aws/kafka/model/EncryptionInfo.h>
12#include <aws/kafka/model/EnhancedMonitoring.h>
13#include <aws/kafka/model/OpenMonitoringInfo.h>
14#include <aws/kafka/model/LoggingInfo.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/kafka/model/StorageMode.h>
17#include <aws/kafka/model/CustomerActionStatus.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace Kafka
31{
32namespace Model
33{
34
43 {
44 public:
45 AWS_KAFKA_API Provisioned();
46 AWS_KAFKA_API Provisioned(Aws::Utils::Json::JsonView jsonValue);
48 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
57 inline const BrokerNodeGroupInfo& GetBrokerNodeGroupInfo() const{ return m_brokerNodeGroupInfo; }
58 inline bool BrokerNodeGroupInfoHasBeenSet() const { return m_brokerNodeGroupInfoHasBeenSet; }
59 inline void SetBrokerNodeGroupInfo(const BrokerNodeGroupInfo& value) { m_brokerNodeGroupInfoHasBeenSet = true; m_brokerNodeGroupInfo = value; }
60 inline void SetBrokerNodeGroupInfo(BrokerNodeGroupInfo&& value) { m_brokerNodeGroupInfoHasBeenSet = true; m_brokerNodeGroupInfo = std::move(value); }
62 inline Provisioned& WithBrokerNodeGroupInfo(BrokerNodeGroupInfo&& value) { SetBrokerNodeGroupInfo(std::move(value)); return *this;}
64
66
72 inline const BrokerSoftwareInfo& GetCurrentBrokerSoftwareInfo() const{ return m_currentBrokerSoftwareInfo; }
73 inline bool CurrentBrokerSoftwareInfoHasBeenSet() const { return m_currentBrokerSoftwareInfoHasBeenSet; }
74 inline void SetCurrentBrokerSoftwareInfo(const BrokerSoftwareInfo& value) { m_currentBrokerSoftwareInfoHasBeenSet = true; m_currentBrokerSoftwareInfo = value; }
75 inline void SetCurrentBrokerSoftwareInfo(BrokerSoftwareInfo&& value) { m_currentBrokerSoftwareInfoHasBeenSet = true; m_currentBrokerSoftwareInfo = std::move(value); }
79
81
86 inline const ClientAuthentication& GetClientAuthentication() const{ return m_clientAuthentication; }
87 inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; }
88 inline void SetClientAuthentication(const ClientAuthentication& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = value; }
89 inline void SetClientAuthentication(ClientAuthentication&& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = std::move(value); }
91 inline Provisioned& WithClientAuthentication(ClientAuthentication&& value) { SetClientAuthentication(std::move(value)); return *this;}
93
95
100 inline const EncryptionInfo& GetEncryptionInfo() const{ return m_encryptionInfo; }
101 inline bool EncryptionInfoHasBeenSet() const { return m_encryptionInfoHasBeenSet; }
102 inline void SetEncryptionInfo(const EncryptionInfo& value) { m_encryptionInfoHasBeenSet = true; m_encryptionInfo = value; }
103 inline void SetEncryptionInfo(EncryptionInfo&& value) { m_encryptionInfoHasBeenSet = true; m_encryptionInfo = std::move(value); }
104 inline Provisioned& WithEncryptionInfo(const EncryptionInfo& value) { SetEncryptionInfo(value); return *this;}
105 inline Provisioned& WithEncryptionInfo(EncryptionInfo&& value) { SetEncryptionInfo(std::move(value)); return *this;}
107
109
116 inline const EnhancedMonitoring& GetEnhancedMonitoring() const{ return m_enhancedMonitoring; }
117 inline bool EnhancedMonitoringHasBeenSet() const { return m_enhancedMonitoringHasBeenSet; }
118 inline void SetEnhancedMonitoring(const EnhancedMonitoring& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = value; }
119 inline void SetEnhancedMonitoring(EnhancedMonitoring&& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = std::move(value); }
120 inline Provisioned& WithEnhancedMonitoring(const EnhancedMonitoring& value) { SetEnhancedMonitoring(value); return *this;}
121 inline Provisioned& WithEnhancedMonitoring(EnhancedMonitoring&& value) { SetEnhancedMonitoring(std::move(value)); return *this;}
123
125
130 inline const OpenMonitoringInfo& GetOpenMonitoring() const{ return m_openMonitoring; }
131 inline bool OpenMonitoringHasBeenSet() const { return m_openMonitoringHasBeenSet; }
132 inline void SetOpenMonitoring(const OpenMonitoringInfo& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = value; }
133 inline void SetOpenMonitoring(OpenMonitoringInfo&& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = std::move(value); }
134 inline Provisioned& WithOpenMonitoring(const OpenMonitoringInfo& value) { SetOpenMonitoring(value); return *this;}
135 inline Provisioned& WithOpenMonitoring(OpenMonitoringInfo&& value) { SetOpenMonitoring(std::move(value)); return *this;}
137
139
144 inline const LoggingInfo& GetLoggingInfo() const{ return m_loggingInfo; }
145 inline bool LoggingInfoHasBeenSet() const { return m_loggingInfoHasBeenSet; }
146 inline void SetLoggingInfo(const LoggingInfo& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = value; }
147 inline void SetLoggingInfo(LoggingInfo&& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = std::move(value); }
148 inline Provisioned& WithLoggingInfo(const LoggingInfo& value) { SetLoggingInfo(value); return *this;}
149 inline Provisioned& WithLoggingInfo(LoggingInfo&& value) { SetLoggingInfo(std::move(value)); return *this;}
151
153
158 inline int GetNumberOfBrokerNodes() const{ return m_numberOfBrokerNodes; }
159 inline bool NumberOfBrokerNodesHasBeenSet() const { return m_numberOfBrokerNodesHasBeenSet; }
160 inline void SetNumberOfBrokerNodes(int value) { m_numberOfBrokerNodesHasBeenSet = true; m_numberOfBrokerNodes = value; }
161 inline Provisioned& WithNumberOfBrokerNodes(int value) { SetNumberOfBrokerNodes(value); return *this;}
163
165
171 inline const Aws::String& GetZookeeperConnectString() const{ return m_zookeeperConnectString; }
172 inline bool ZookeeperConnectStringHasBeenSet() const { return m_zookeeperConnectStringHasBeenSet; }
173 inline void SetZookeeperConnectString(const Aws::String& value) { m_zookeeperConnectStringHasBeenSet = true; m_zookeeperConnectString = value; }
174 inline void SetZookeeperConnectString(Aws::String&& value) { m_zookeeperConnectStringHasBeenSet = true; m_zookeeperConnectString = std::move(value); }
175 inline void SetZookeeperConnectString(const char* value) { m_zookeeperConnectStringHasBeenSet = true; m_zookeeperConnectString.assign(value); }
177 inline Provisioned& WithZookeeperConnectString(Aws::String&& value) { SetZookeeperConnectString(std::move(value)); return *this;}
178 inline Provisioned& WithZookeeperConnectString(const char* value) { SetZookeeperConnectString(value); return *this;}
180
182
188 inline const Aws::String& GetZookeeperConnectStringTls() const{ return m_zookeeperConnectStringTls; }
189 inline bool ZookeeperConnectStringTlsHasBeenSet() const { return m_zookeeperConnectStringTlsHasBeenSet; }
190 inline void SetZookeeperConnectStringTls(const Aws::String& value) { m_zookeeperConnectStringTlsHasBeenSet = true; m_zookeeperConnectStringTls = value; }
191 inline void SetZookeeperConnectStringTls(Aws::String&& value) { m_zookeeperConnectStringTlsHasBeenSet = true; m_zookeeperConnectStringTls = std::move(value); }
192 inline void SetZookeeperConnectStringTls(const char* value) { m_zookeeperConnectStringTlsHasBeenSet = true; m_zookeeperConnectStringTls.assign(value); }
194 inline Provisioned& WithZookeeperConnectStringTls(Aws::String&& value) { SetZookeeperConnectStringTls(std::move(value)); return *this;}
195 inline Provisioned& WithZookeeperConnectStringTls(const char* value) { SetZookeeperConnectStringTls(value); return *this;}
197
199
205 inline const StorageMode& GetStorageMode() const{ return m_storageMode; }
206 inline bool StorageModeHasBeenSet() const { return m_storageModeHasBeenSet; }
207 inline void SetStorageMode(const StorageMode& value) { m_storageModeHasBeenSet = true; m_storageMode = value; }
208 inline void SetStorageMode(StorageMode&& value) { m_storageModeHasBeenSet = true; m_storageMode = std::move(value); }
209 inline Provisioned& WithStorageMode(const StorageMode& value) { SetStorageMode(value); return *this;}
210 inline Provisioned& WithStorageMode(StorageMode&& value) { SetStorageMode(std::move(value)); return *this;}
212
214
220 inline const CustomerActionStatus& GetCustomerActionStatus() const{ return m_customerActionStatus; }
221 inline bool CustomerActionStatusHasBeenSet() const { return m_customerActionStatusHasBeenSet; }
222 inline void SetCustomerActionStatus(const CustomerActionStatus& value) { m_customerActionStatusHasBeenSet = true; m_customerActionStatus = value; }
223 inline void SetCustomerActionStatus(CustomerActionStatus&& value) { m_customerActionStatusHasBeenSet = true; m_customerActionStatus = std::move(value); }
225 inline Provisioned& WithCustomerActionStatus(CustomerActionStatus&& value) { SetCustomerActionStatus(std::move(value)); return *this;}
227 private:
228
229 BrokerNodeGroupInfo m_brokerNodeGroupInfo;
230 bool m_brokerNodeGroupInfoHasBeenSet = false;
231
232 BrokerSoftwareInfo m_currentBrokerSoftwareInfo;
233 bool m_currentBrokerSoftwareInfoHasBeenSet = false;
234
235 ClientAuthentication m_clientAuthentication;
236 bool m_clientAuthenticationHasBeenSet = false;
237
238 EncryptionInfo m_encryptionInfo;
239 bool m_encryptionInfoHasBeenSet = false;
240
241 EnhancedMonitoring m_enhancedMonitoring;
242 bool m_enhancedMonitoringHasBeenSet = false;
243
244 OpenMonitoringInfo m_openMonitoring;
245 bool m_openMonitoringHasBeenSet = false;
246
247 LoggingInfo m_loggingInfo;
248 bool m_loggingInfoHasBeenSet = false;
249
250 int m_numberOfBrokerNodes;
251 bool m_numberOfBrokerNodesHasBeenSet = false;
252
253 Aws::String m_zookeeperConnectString;
254 bool m_zookeeperConnectStringHasBeenSet = false;
255
256 Aws::String m_zookeeperConnectStringTls;
257 bool m_zookeeperConnectStringTlsHasBeenSet = false;
258
259 StorageMode m_storageMode;
260 bool m_storageModeHasBeenSet = false;
261
262 CustomerActionStatus m_customerActionStatus;
263 bool m_customerActionStatusHasBeenSet = false;
264 };
265
266} // namespace Model
267} // namespace Kafka
268} // namespace Aws
Provisioned & WithCurrentBrokerSoftwareInfo(const BrokerSoftwareInfo &value)
Definition Provisioned.h:76
void SetOpenMonitoring(const OpenMonitoringInfo &value)
void SetCustomerActionStatus(CustomerActionStatus &&value)
Provisioned & WithEnhancedMonitoring(EnhancedMonitoring &&value)
void SetClientAuthentication(const ClientAuthentication &value)
Definition Provisioned.h:88
Provisioned & WithStorageMode(const StorageMode &value)
bool ClientAuthenticationHasBeenSet() const
Definition Provisioned.h:87
Provisioned & WithBrokerNodeGroupInfo(BrokerNodeGroupInfo &&value)
Definition Provisioned.h:62
void SetBrokerNodeGroupInfo(BrokerNodeGroupInfo &&value)
Definition Provisioned.h:60
Provisioned & WithEncryptionInfo(const EncryptionInfo &value)
const BrokerNodeGroupInfo & GetBrokerNodeGroupInfo() const
Definition Provisioned.h:57
void SetBrokerNodeGroupInfo(const BrokerNodeGroupInfo &value)
Definition Provisioned.h:59
Provisioned & WithClientAuthentication(const ClientAuthentication &value)
Definition Provisioned.h:90
bool BrokerNodeGroupInfoHasBeenSet() const
Definition Provisioned.h:58
Provisioned & WithZookeeperConnectString(const char *value)
bool CustomerActionStatusHasBeenSet() const
void SetZookeeperConnectString(const Aws::String &value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
bool EnhancedMonitoringHasBeenSet() const
Provisioned & WithEncryptionInfo(EncryptionInfo &&value)
const EncryptionInfo & GetEncryptionInfo() const
void SetCurrentBrokerSoftwareInfo(BrokerSoftwareInfo &&value)
Definition Provisioned.h:75
bool ZookeeperConnectStringHasBeenSet() const
const OpenMonitoringInfo & GetOpenMonitoring() const
Provisioned & WithCustomerActionStatus(const CustomerActionStatus &value)
Provisioned & WithOpenMonitoring(const OpenMonitoringInfo &value)
void SetCustomerActionStatus(const CustomerActionStatus &value)
void SetEnhancedMonitoring(EnhancedMonitoring &&value)
Provisioned & WithLoggingInfo(const LoggingInfo &value)
bool ZookeeperConnectStringTlsHasBeenSet() const
const EnhancedMonitoring & GetEnhancedMonitoring() const
const Aws::String & GetZookeeperConnectStringTls() const
Provisioned & WithClientAuthentication(ClientAuthentication &&value)
Definition Provisioned.h:91
bool CurrentBrokerSoftwareInfoHasBeenSet() const
Definition Provisioned.h:73
void SetEncryptionInfo(EncryptionInfo &&value)
void SetOpenMonitoring(OpenMonitoringInfo &&value)
const ClientAuthentication & GetClientAuthentication() const
Definition Provisioned.h:86
Provisioned & WithBrokerNodeGroupInfo(const BrokerNodeGroupInfo &value)
Definition Provisioned.h:61
Provisioned & WithEnhancedMonitoring(const EnhancedMonitoring &value)
const BrokerSoftwareInfo & GetCurrentBrokerSoftwareInfo() const
Definition Provisioned.h:72
const CustomerActionStatus & GetCustomerActionStatus() const
bool NumberOfBrokerNodesHasBeenSet() const
AWS_KAFKA_API Provisioned(Aws::Utils::Json::JsonView jsonValue)
Provisioned & WithOpenMonitoring(OpenMonitoringInfo &&value)
Provisioned & WithZookeeperConnectStringTls(const char *value)
void SetEncryptionInfo(const EncryptionInfo &value)
const LoggingInfo & GetLoggingInfo() const
Provisioned & WithZookeeperConnectStringTls(const Aws::String &value)
Provisioned & WithLoggingInfo(LoggingInfo &&value)
void SetStorageMode(StorageMode &&value)
Provisioned & WithCurrentBrokerSoftwareInfo(BrokerSoftwareInfo &&value)
Definition Provisioned.h:77
Provisioned & WithStorageMode(StorageMode &&value)
void SetZookeeperConnectString(Aws::String &&value)
void SetStorageMode(const StorageMode &value)
void SetNumberOfBrokerNodes(int value)
AWS_KAFKA_API Provisioned & operator=(Aws::Utils::Json::JsonView jsonValue)
Provisioned & WithNumberOfBrokerNodes(int value)
Provisioned & WithZookeeperConnectString(Aws::String &&value)
Provisioned & WithZookeeperConnectString(const Aws::String &value)
const Aws::String & GetZookeeperConnectString() const
void SetZookeeperConnectStringTls(Aws::String &&value)
void SetLoggingInfo(LoggingInfo &&value)
Provisioned & WithCustomerActionStatus(CustomerActionStatus &&value)
void SetCurrentBrokerSoftwareInfo(const BrokerSoftwareInfo &value)
Definition Provisioned.h:74
void SetZookeeperConnectStringTls(const char *value)
const StorageMode & GetStorageMode() const
void SetZookeeperConnectString(const char *value)
void SetClientAuthentication(ClientAuthentication &&value)
Definition Provisioned.h:89
void SetZookeeperConnectStringTls(const Aws::String &value)
void SetLoggingInfo(const LoggingInfo &value)
void SetEnhancedMonitoring(const EnhancedMonitoring &value)
Provisioned & WithZookeeperConnectStringTls(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue