AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ProvisionedRequest.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/BrokerNodeGroupInfo.h>
9#include <aws/kafka/model/ClientAuthentication.h>
10#include <aws/kafka/model/ConfigurationInfo.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/core/utils/memory/stl/AWSString.h>
15#include <aws/kafka/model/LoggingInfo.h>
16#include <aws/kafka/model/StorageMode.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace Kafka
30{
31namespace Model
32{
33
43 {
44 public:
45 AWS_KAFKA_API ProvisionedRequest() = default;
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 ProvisionedRequest& WithBrokerNodeGroupInfo(BrokerNodeGroupInfoT&& value) { SetBrokerNodeGroupInfo(std::forward<BrokerNodeGroupInfoT>(value)); return *this;}
64
66
71 inline const ClientAuthentication& GetClientAuthentication() const { return m_clientAuthentication; }
72 inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; }
73 template<typename ClientAuthenticationT = ClientAuthentication>
74 void SetClientAuthentication(ClientAuthenticationT&& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = std::forward<ClientAuthenticationT>(value); }
75 template<typename ClientAuthenticationT = ClientAuthentication>
76 ProvisionedRequest& WithClientAuthentication(ClientAuthenticationT&& value) { SetClientAuthentication(std::forward<ClientAuthenticationT>(value)); return *this;}
78
80
86 inline const ConfigurationInfo& GetConfigurationInfo() const { return m_configurationInfo; }
87 inline bool ConfigurationInfoHasBeenSet() const { return m_configurationInfoHasBeenSet; }
88 template<typename ConfigurationInfoT = ConfigurationInfo>
89 void SetConfigurationInfo(ConfigurationInfoT&& value) { m_configurationInfoHasBeenSet = true; m_configurationInfo = std::forward<ConfigurationInfoT>(value); }
90 template<typename ConfigurationInfoT = ConfigurationInfo>
91 ProvisionedRequest& WithConfigurationInfo(ConfigurationInfoT&& value) { SetConfigurationInfo(std::forward<ConfigurationInfoT>(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 ProvisionedRequest& 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 ProvisionedRequest& WithOpenMonitoring(OpenMonitoringT&& value) { SetOpenMonitoring(std::forward<OpenMonitoringT>(value)); return *this;}
135
137
143 inline const Aws::String& GetKafkaVersion() const { return m_kafkaVersion; }
144 inline bool KafkaVersionHasBeenSet() const { return m_kafkaVersionHasBeenSet; }
145 template<typename KafkaVersionT = Aws::String>
146 void SetKafkaVersion(KafkaVersionT&& value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion = std::forward<KafkaVersionT>(value); }
147 template<typename KafkaVersionT = Aws::String>
148 ProvisionedRequest& WithKafkaVersion(KafkaVersionT&& value) { SetKafkaVersion(std::forward<KafkaVersionT>(value)); return *this;}
150
152
157 inline const LoggingInfo& GetLoggingInfo() const { return m_loggingInfo; }
158 inline bool LoggingInfoHasBeenSet() const { return m_loggingInfoHasBeenSet; }
159 template<typename LoggingInfoT = LoggingInfo>
160 void SetLoggingInfo(LoggingInfoT&& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = std::forward<LoggingInfoT>(value); }
161 template<typename LoggingInfoT = LoggingInfo>
162 ProvisionedRequest& WithLoggingInfo(LoggingInfoT&& value) { SetLoggingInfo(std::forward<LoggingInfoT>(value)); return *this;}
164
166
171 inline int GetNumberOfBrokerNodes() const { return m_numberOfBrokerNodes; }
172 inline bool NumberOfBrokerNodesHasBeenSet() const { return m_numberOfBrokerNodesHasBeenSet; }
173 inline void SetNumberOfBrokerNodes(int value) { m_numberOfBrokerNodesHasBeenSet = true; m_numberOfBrokerNodes = value; }
174 inline ProvisionedRequest& WithNumberOfBrokerNodes(int value) { SetNumberOfBrokerNodes(value); return *this;}
176
178
184 inline StorageMode GetStorageMode() const { return m_storageMode; }
185 inline bool StorageModeHasBeenSet() const { return m_storageModeHasBeenSet; }
186 inline void SetStorageMode(StorageMode value) { m_storageModeHasBeenSet = true; m_storageMode = value; }
187 inline ProvisionedRequest& WithStorageMode(StorageMode value) { SetStorageMode(value); return *this;}
189 private:
190
191 BrokerNodeGroupInfo m_brokerNodeGroupInfo;
192 bool m_brokerNodeGroupInfoHasBeenSet = false;
193
194 ClientAuthentication m_clientAuthentication;
195 bool m_clientAuthenticationHasBeenSet = false;
196
197 ConfigurationInfo m_configurationInfo;
198 bool m_configurationInfoHasBeenSet = false;
199
200 EncryptionInfo m_encryptionInfo;
201 bool m_encryptionInfoHasBeenSet = false;
202
204 bool m_enhancedMonitoringHasBeenSet = false;
205
206 OpenMonitoringInfo m_openMonitoring;
207 bool m_openMonitoringHasBeenSet = false;
208
209 Aws::String m_kafkaVersion;
210 bool m_kafkaVersionHasBeenSet = false;
211
212 LoggingInfo m_loggingInfo;
213 bool m_loggingInfoHasBeenSet = false;
214
215 int m_numberOfBrokerNodes{0};
216 bool m_numberOfBrokerNodesHasBeenSet = false;
217
218 StorageMode m_storageMode{StorageMode::NOT_SET};
219 bool m_storageModeHasBeenSet = false;
220 };
221
222} // namespace Model
223} // namespace Kafka
224} // namespace Aws
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)
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 & 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