AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename BrokerNodeGroupInfoT = BrokerNodeGroupInfo>
60 void SetBrokerNodeGroupInfo(BrokerNodeGroupInfoT&& value) { m_brokerNodeGroupInfoHasBeenSet = true; m_brokerNodeGroupInfo = std::forward<BrokerNodeGroupInfoT>(value); }
61 template<typename BrokerNodeGroupInfoT = BrokerNodeGroupInfo>
62 Provisioned& WithBrokerNodeGroupInfo(BrokerNodeGroupInfoT&& value) { SetBrokerNodeGroupInfo(std::forward<BrokerNodeGroupInfoT>(value)); return *this;}
64
66
72 inline const BrokerSoftwareInfo& GetCurrentBrokerSoftwareInfo() const { return m_currentBrokerSoftwareInfo; }
73 inline bool CurrentBrokerSoftwareInfoHasBeenSet() const { return m_currentBrokerSoftwareInfoHasBeenSet; }
74 template<typename CurrentBrokerSoftwareInfoT = BrokerSoftwareInfo>
75 void SetCurrentBrokerSoftwareInfo(CurrentBrokerSoftwareInfoT&& value) { m_currentBrokerSoftwareInfoHasBeenSet = true; m_currentBrokerSoftwareInfo = std::forward<CurrentBrokerSoftwareInfoT>(value); }
76 template<typename CurrentBrokerSoftwareInfoT = BrokerSoftwareInfo>
77 Provisioned& WithCurrentBrokerSoftwareInfo(CurrentBrokerSoftwareInfoT&& value) { SetCurrentBrokerSoftwareInfo(std::forward<CurrentBrokerSoftwareInfoT>(value)); return *this;}
79
81
86 inline const ClientAuthentication& GetClientAuthentication() const { return m_clientAuthentication; }
87 inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; }
88 template<typename ClientAuthenticationT = ClientAuthentication>
89 void SetClientAuthentication(ClientAuthenticationT&& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = std::forward<ClientAuthenticationT>(value); }
90 template<typename ClientAuthenticationT = ClientAuthentication>
91 Provisioned& WithClientAuthentication(ClientAuthenticationT&& value) { SetClientAuthentication(std::forward<ClientAuthenticationT>(value)); return *this;}
93
95
100 inline const EncryptionInfo& GetEncryptionInfo() const { return m_encryptionInfo; }
101 inline bool EncryptionInfoHasBeenSet() const { return m_encryptionInfoHasBeenSet; }
102 template<typename EncryptionInfoT = EncryptionInfo>
103 void SetEncryptionInfo(EncryptionInfoT&& value) { m_encryptionInfoHasBeenSet = true; m_encryptionInfo = std::forward<EncryptionInfoT>(value); }
104 template<typename EncryptionInfoT = EncryptionInfo>
105 Provisioned& WithEncryptionInfo(EncryptionInfoT&& value) { SetEncryptionInfo(std::forward<EncryptionInfoT>(value)); return *this;}
107
109
116 inline EnhancedMonitoring GetEnhancedMonitoring() const { return m_enhancedMonitoring; }
117 inline bool EnhancedMonitoringHasBeenSet() const { return m_enhancedMonitoringHasBeenSet; }
118 inline void SetEnhancedMonitoring(EnhancedMonitoring value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = value; }
121
123
128 inline const OpenMonitoringInfo& GetOpenMonitoring() const { return m_openMonitoring; }
129 inline bool OpenMonitoringHasBeenSet() const { return m_openMonitoringHasBeenSet; }
130 template<typename OpenMonitoringT = OpenMonitoringInfo>
131 void SetOpenMonitoring(OpenMonitoringT&& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = std::forward<OpenMonitoringT>(value); }
132 template<typename OpenMonitoringT = OpenMonitoringInfo>
133 Provisioned& WithOpenMonitoring(OpenMonitoringT&& value) { SetOpenMonitoring(std::forward<OpenMonitoringT>(value)); return *this;}
135
137
142 inline const LoggingInfo& GetLoggingInfo() const { return m_loggingInfo; }
143 inline bool LoggingInfoHasBeenSet() const { return m_loggingInfoHasBeenSet; }
144 template<typename LoggingInfoT = LoggingInfo>
145 void SetLoggingInfo(LoggingInfoT&& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = std::forward<LoggingInfoT>(value); }
146 template<typename LoggingInfoT = LoggingInfo>
147 Provisioned& WithLoggingInfo(LoggingInfoT&& value) { SetLoggingInfo(std::forward<LoggingInfoT>(value)); return *this;}
149
151
156 inline int GetNumberOfBrokerNodes() const { return m_numberOfBrokerNodes; }
157 inline bool NumberOfBrokerNodesHasBeenSet() const { return m_numberOfBrokerNodesHasBeenSet; }
158 inline void SetNumberOfBrokerNodes(int value) { m_numberOfBrokerNodesHasBeenSet = true; m_numberOfBrokerNodes = value; }
159 inline Provisioned& WithNumberOfBrokerNodes(int value) { SetNumberOfBrokerNodes(value); return *this;}
161
163
169 inline const Aws::String& GetZookeeperConnectString() const { return m_zookeeperConnectString; }
170 inline bool ZookeeperConnectStringHasBeenSet() const { return m_zookeeperConnectStringHasBeenSet; }
171 template<typename ZookeeperConnectStringT = Aws::String>
172 void SetZookeeperConnectString(ZookeeperConnectStringT&& value) { m_zookeeperConnectStringHasBeenSet = true; m_zookeeperConnectString = std::forward<ZookeeperConnectStringT>(value); }
173 template<typename ZookeeperConnectStringT = Aws::String>
174 Provisioned& WithZookeeperConnectString(ZookeeperConnectStringT&& value) { SetZookeeperConnectString(std::forward<ZookeeperConnectStringT>(value)); return *this;}
176
178
184 inline const Aws::String& GetZookeeperConnectStringTls() const { return m_zookeeperConnectStringTls; }
185 inline bool ZookeeperConnectStringTlsHasBeenSet() const { return m_zookeeperConnectStringTlsHasBeenSet; }
186 template<typename ZookeeperConnectStringTlsT = Aws::String>
187 void SetZookeeperConnectStringTls(ZookeeperConnectStringTlsT&& value) { m_zookeeperConnectStringTlsHasBeenSet = true; m_zookeeperConnectStringTls = std::forward<ZookeeperConnectStringTlsT>(value); }
188 template<typename ZookeeperConnectStringTlsT = Aws::String>
189 Provisioned& WithZookeeperConnectStringTls(ZookeeperConnectStringTlsT&& value) { SetZookeeperConnectStringTls(std::forward<ZookeeperConnectStringTlsT>(value)); return *this;}
191
193
199 inline StorageMode GetStorageMode() const { return m_storageMode; }
200 inline bool StorageModeHasBeenSet() const { return m_storageModeHasBeenSet; }
201 inline void SetStorageMode(StorageMode value) { m_storageModeHasBeenSet = true; m_storageMode = value; }
202 inline Provisioned& WithStorageMode(StorageMode value) { SetStorageMode(value); return *this;}
204
206
212 inline CustomerActionStatus GetCustomerActionStatus() const { return m_customerActionStatus; }
213 inline bool CustomerActionStatusHasBeenSet() const { return m_customerActionStatusHasBeenSet; }
214 inline void SetCustomerActionStatus(CustomerActionStatus value) { m_customerActionStatusHasBeenSet = true; m_customerActionStatus = value; }
217 private:
218
219 BrokerNodeGroupInfo m_brokerNodeGroupInfo;
220 bool m_brokerNodeGroupInfoHasBeenSet = false;
221
222 BrokerSoftwareInfo m_currentBrokerSoftwareInfo;
223 bool m_currentBrokerSoftwareInfoHasBeenSet = false;
224
225 ClientAuthentication m_clientAuthentication;
226 bool m_clientAuthenticationHasBeenSet = false;
227
228 EncryptionInfo m_encryptionInfo;
229 bool m_encryptionInfoHasBeenSet = false;
230
232 bool m_enhancedMonitoringHasBeenSet = false;
233
234 OpenMonitoringInfo m_openMonitoring;
235 bool m_openMonitoringHasBeenSet = false;
236
237 LoggingInfo m_loggingInfo;
238 bool m_loggingInfoHasBeenSet = false;
239
240 int m_numberOfBrokerNodes{0};
241 bool m_numberOfBrokerNodesHasBeenSet = false;
242
243 Aws::String m_zookeeperConnectString;
244 bool m_zookeeperConnectStringHasBeenSet = false;
245
246 Aws::String m_zookeeperConnectStringTls;
247 bool m_zookeeperConnectStringTlsHasBeenSet = false;
248
249 StorageMode m_storageMode{StorageMode::NOT_SET};
250 bool m_storageModeHasBeenSet = false;
251
253 bool m_customerActionStatusHasBeenSet = false;
254 };
255
256} // namespace Model
257} // namespace Kafka
258} // namespace Aws
void SetLoggingInfo(LoggingInfoT &&value)
Provisioned & WithOpenMonitoring(OpenMonitoringT &&value)
Provisioned & WithZookeeperConnectStringTls(ZookeeperConnectStringTlsT &&value)
bool ClientAuthenticationHasBeenSet() const
Definition Provisioned.h:87
void SetCustomerActionStatus(CustomerActionStatus value)
void SetOpenMonitoring(OpenMonitoringT &&value)
const BrokerNodeGroupInfo & GetBrokerNodeGroupInfo() const
Definition Provisioned.h:57
void SetCurrentBrokerSoftwareInfo(CurrentBrokerSoftwareInfoT &&value)
Definition Provisioned.h:75
Provisioned & WithEncryptionInfo(EncryptionInfoT &&value)
bool BrokerNodeGroupInfoHasBeenSet() const
Definition Provisioned.h:58
bool CustomerActionStatusHasBeenSet() const
Provisioned & WithBrokerNodeGroupInfo(BrokerNodeGroupInfoT &&value)
Definition Provisioned.h:62
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
bool EnhancedMonitoringHasBeenSet() const
void SetZookeeperConnectStringTls(ZookeeperConnectStringTlsT &&value)
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:60
bool ZookeeperConnectStringTlsHasBeenSet() const
EnhancedMonitoring GetEnhancedMonitoring() const
const Aws::String & GetZookeeperConnectStringTls() const
bool CurrentBrokerSoftwareInfoHasBeenSet() const
Definition Provisioned.h:73
const ClientAuthentication & GetClientAuthentication() const
Definition Provisioned.h:86
const BrokerSoftwareInfo & GetCurrentBrokerSoftwareInfo() const
Definition Provisioned.h:72
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)
Definition Provisioned.h:91
void SetZookeeperConnectString(ZookeeperConnectStringT &&value)
void SetClientAuthentication(ClientAuthenticationT &&value)
Definition Provisioned.h:89
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)
Definition Provisioned.h:77
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue