AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 ProvisionedRequest& WithBrokerNodeGroupInfo(BrokerNodeGroupInfo&& value) { SetBrokerNodeGroupInfo(std::move(value)); return *this;}
64
66
71 inline const ClientAuthentication& GetClientAuthentication() const{ return m_clientAuthentication; }
72 inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; }
73 inline void SetClientAuthentication(const ClientAuthentication& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = value; }
74 inline void SetClientAuthentication(ClientAuthentication&& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = std::move(value); }
78
80
86 inline const ConfigurationInfo& GetConfigurationInfo() const{ return m_configurationInfo; }
87 inline bool ConfigurationInfoHasBeenSet() const { return m_configurationInfoHasBeenSet; }
88 inline void SetConfigurationInfo(const ConfigurationInfo& value) { m_configurationInfoHasBeenSet = true; m_configurationInfo = value; }
89 inline void SetConfigurationInfo(ConfigurationInfo&& value) { m_configurationInfoHasBeenSet = true; m_configurationInfo = std::move(value); }
91 inline ProvisionedRequest& WithConfigurationInfo(ConfigurationInfo&& value) { SetConfigurationInfo(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 ProvisionedRequest& WithEncryptionInfo(const EncryptionInfo& value) { SetEncryptionInfo(value); return *this;}
105 inline ProvisionedRequest& 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); }
121 inline ProvisionedRequest& 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 ProvisionedRequest& WithOpenMonitoring(const OpenMonitoringInfo& value) { SetOpenMonitoring(value); return *this;}
135 inline ProvisionedRequest& WithOpenMonitoring(OpenMonitoringInfo&& value) { SetOpenMonitoring(std::move(value)); return *this;}
137
139
145 inline const Aws::String& GetKafkaVersion() const{ return m_kafkaVersion; }
146 inline bool KafkaVersionHasBeenSet() const { return m_kafkaVersionHasBeenSet; }
147 inline void SetKafkaVersion(const Aws::String& value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion = value; }
148 inline void SetKafkaVersion(Aws::String&& value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion = std::move(value); }
149 inline void SetKafkaVersion(const char* value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion.assign(value); }
150 inline ProvisionedRequest& WithKafkaVersion(const Aws::String& value) { SetKafkaVersion(value); return *this;}
151 inline ProvisionedRequest& WithKafkaVersion(Aws::String&& value) { SetKafkaVersion(std::move(value)); return *this;}
152 inline ProvisionedRequest& WithKafkaVersion(const char* value) { SetKafkaVersion(value); return *this;}
154
156
161 inline const LoggingInfo& GetLoggingInfo() const{ return m_loggingInfo; }
162 inline bool LoggingInfoHasBeenSet() const { return m_loggingInfoHasBeenSet; }
163 inline void SetLoggingInfo(const LoggingInfo& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = value; }
164 inline void SetLoggingInfo(LoggingInfo&& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = std::move(value); }
165 inline ProvisionedRequest& WithLoggingInfo(const LoggingInfo& value) { SetLoggingInfo(value); return *this;}
166 inline ProvisionedRequest& WithLoggingInfo(LoggingInfo&& value) { SetLoggingInfo(std::move(value)); return *this;}
168
170
175 inline int GetNumberOfBrokerNodes() const{ return m_numberOfBrokerNodes; }
176 inline bool NumberOfBrokerNodesHasBeenSet() const { return m_numberOfBrokerNodesHasBeenSet; }
177 inline void SetNumberOfBrokerNodes(int value) { m_numberOfBrokerNodesHasBeenSet = true; m_numberOfBrokerNodes = value; }
178 inline ProvisionedRequest& WithNumberOfBrokerNodes(int value) { SetNumberOfBrokerNodes(value); return *this;}
180
182
188 inline const StorageMode& GetStorageMode() const{ return m_storageMode; }
189 inline bool StorageModeHasBeenSet() const { return m_storageModeHasBeenSet; }
190 inline void SetStorageMode(const StorageMode& value) { m_storageModeHasBeenSet = true; m_storageMode = value; }
191 inline void SetStorageMode(StorageMode&& value) { m_storageModeHasBeenSet = true; m_storageMode = std::move(value); }
192 inline ProvisionedRequest& WithStorageMode(const StorageMode& value) { SetStorageMode(value); return *this;}
193 inline ProvisionedRequest& WithStorageMode(StorageMode&& value) { SetStorageMode(std::move(value)); return *this;}
195 private:
196
197 BrokerNodeGroupInfo m_brokerNodeGroupInfo;
198 bool m_brokerNodeGroupInfoHasBeenSet = false;
199
200 ClientAuthentication m_clientAuthentication;
201 bool m_clientAuthenticationHasBeenSet = false;
202
203 ConfigurationInfo m_configurationInfo;
204 bool m_configurationInfoHasBeenSet = false;
205
206 EncryptionInfo m_encryptionInfo;
207 bool m_encryptionInfoHasBeenSet = false;
208
209 EnhancedMonitoring m_enhancedMonitoring;
210 bool m_enhancedMonitoringHasBeenSet = false;
211
212 OpenMonitoringInfo m_openMonitoring;
213 bool m_openMonitoringHasBeenSet = false;
214
215 Aws::String m_kafkaVersion;
216 bool m_kafkaVersionHasBeenSet = false;
217
218 LoggingInfo m_loggingInfo;
219 bool m_loggingInfoHasBeenSet = false;
220
221 int m_numberOfBrokerNodes;
222 bool m_numberOfBrokerNodesHasBeenSet = false;
223
224 StorageMode m_storageMode;
225 bool m_storageModeHasBeenSet = false;
226 };
227
228} // namespace Model
229} // namespace Kafka
230} // namespace Aws
void SetKafkaVersion(Aws::String &&value)
void SetBrokerNodeGroupInfo(BrokerNodeGroupInfo &&value)
ProvisionedRequest & WithLoggingInfo(const LoggingInfo &value)
const Aws::String & GetKafkaVersion() const
ProvisionedRequest & WithOpenMonitoring(OpenMonitoringInfo &&value)
ProvisionedRequest & WithKafkaVersion(Aws::String &&value)
ProvisionedRequest & WithStorageMode(StorageMode &&value)
void SetEnhancedMonitoring(EnhancedMonitoring &&value)
const EnhancedMonitoring & GetEnhancedMonitoring() const
ProvisionedRequest & WithLoggingInfo(LoggingInfo &&value)
ProvisionedRequest & WithEnhancedMonitoring(EnhancedMonitoring &&value)
const StorageMode & GetStorageMode() const
ProvisionedRequest & WithEnhancedMonitoring(const EnhancedMonitoring &value)
ProvisionedRequest & WithStorageMode(const StorageMode &value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKA_API ProvisionedRequest(Aws::Utils::Json::JsonView jsonValue)
const ConfigurationInfo & GetConfigurationInfo() const
ProvisionedRequest & WithBrokerNodeGroupInfo(BrokerNodeGroupInfo &&value)
void SetStorageMode(const StorageMode &value)
void SetClientAuthentication(const ClientAuthentication &value)
ProvisionedRequest & WithConfigurationInfo(ConfigurationInfo &&value)
void SetConfigurationInfo(const ConfigurationInfo &value)
void SetEnhancedMonitoring(const EnhancedMonitoring &value)
AWS_KAFKA_API ProvisionedRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisionedRequest & WithNumberOfBrokerNodes(int value)
const LoggingInfo & GetLoggingInfo() const
ProvisionedRequest & WithClientAuthentication(ClientAuthentication &&value)
ProvisionedRequest & WithConfigurationInfo(const ConfigurationInfo &value)
ProvisionedRequest & WithKafkaVersion(const Aws::String &value)
ProvisionedRequest & WithEncryptionInfo(EncryptionInfo &&value)
ProvisionedRequest & WithClientAuthentication(const ClientAuthentication &value)
const ClientAuthentication & GetClientAuthentication() const
void SetLoggingInfo(const LoggingInfo &value)
void SetBrokerNodeGroupInfo(const BrokerNodeGroupInfo &value)
void SetOpenMonitoring(OpenMonitoringInfo &&value)
void SetEncryptionInfo(const EncryptionInfo &value)
void SetKafkaVersion(const Aws::String &value)
ProvisionedRequest & WithBrokerNodeGroupInfo(const BrokerNodeGroupInfo &value)
void SetOpenMonitoring(const OpenMonitoringInfo &value)
const BrokerNodeGroupInfo & GetBrokerNodeGroupInfo() const
ProvisionedRequest & WithKafkaVersion(const char *value)
ProvisionedRequest & WithOpenMonitoring(const OpenMonitoringInfo &value)
void SetClientAuthentication(ClientAuthentication &&value)
void SetConfigurationInfo(ConfigurationInfo &&value)
ProvisionedRequest & WithEncryptionInfo(const EncryptionInfo &value)
void SetEncryptionInfo(EncryptionInfo &&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