7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pipes/model/SelfManagedKafkaStartPosition.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/pipes/model/SelfManagedKafkaAccessConfigurationCredentials.h>
12#include <aws/pipes/model/SelfManagedKafkaAccessConfigurationVpc.h>
59 template<
typename TopicNameT = Aws::String>
60 void SetTopicName(TopicNameT&& value) { m_topicNameHasBeenSet =
true; m_topicName = std::forward<TopicNameT>(value); }
61 template<
typename TopicNameT = Aws::String>
81 template<
typename AdditionalBootstrapServersT = Aws::Vector<Aws::String>>
82 void SetAdditionalBootstrapServers(AdditionalBootstrapServersT&& value) { m_additionalBootstrapServersHasBeenSet =
true; m_additionalBootstrapServers = std::forward<AdditionalBootstrapServersT>(value); }
83 template<
typename AdditionalBootstrapServersT = Aws::Vector<Aws::String>>
85 template<
typename AdditionalBootstrapServersT = Aws::String>
95 inline void SetBatchSize(
int value) { m_batchSizeHasBeenSet =
true; m_batchSize = value; }
115 template<
typename ConsumerGroupIDT = Aws::String>
116 void SetConsumerGroupID(ConsumerGroupIDT&& value) { m_consumerGroupIDHasBeenSet =
true; m_consumerGroupID = std::forward<ConsumerGroupIDT>(value); }
117 template<
typename ConsumerGroupIDT = Aws::String>
127 template<
typename CredentialsT = SelfManagedKafkaAccessConfigurationCredentials>
128 void SetCredentials(CredentialsT&& value) { m_credentialsHasBeenSet =
true; m_credentials = std::forward<CredentialsT>(value); }
129 template<
typename CredentialsT = SelfManagedKafkaAccessConfigurationCredentials>
139 template<
typename ServerRootCaCertificateT = Aws::String>
140 void SetServerRootCaCertificate(ServerRootCaCertificateT&& value) { m_serverRootCaCertificateHasBeenSet =
true; m_serverRootCaCertificate = std::forward<ServerRootCaCertificateT>(value); }
141 template<
typename ServerRootCaCertificateT = Aws::String>
152 template<
typename VpcT = SelfManagedKafkaAccessConfigurationVpc>
153 void SetVpc(VpcT&& value) { m_vpcHasBeenSet =
true; m_vpc = std::forward<VpcT>(value); }
154 template<
typename VpcT = SelfManagedKafkaAccessConfigurationVpc>
160 bool m_topicNameHasBeenSet =
false;
163 bool m_startingPositionHasBeenSet =
false;
166 bool m_additionalBootstrapServersHasBeenSet =
false;
169 bool m_batchSizeHasBeenSet =
false;
171 int m_maximumBatchingWindowInSeconds{0};
172 bool m_maximumBatchingWindowInSecondsHasBeenSet =
false;
175 bool m_consumerGroupIDHasBeenSet =
false;
177 SelfManagedKafkaAccessConfigurationCredentials m_credentials;
178 bool m_credentialsHasBeenSet =
false;
181 bool m_serverRootCaCertificateHasBeenSet =
false;
183 SelfManagedKafkaAccessConfigurationVpc m_vpc;
184 bool m_vpcHasBeenSet =
false;
void SetVpc(VpcT &&value)
void SetStartingPosition(SelfManagedKafkaStartPosition value)
bool CredentialsHasBeenSet() const
const Aws::String & GetServerRootCaCertificate() const
const Aws::String & GetTopicName() const
bool StartingPositionHasBeenSet() const
PipeSourceSelfManagedKafkaParameters & WithTopicName(TopicNameT &&value)
AWS_PIPES_API PipeSourceSelfManagedKafkaParameters()=default
PipeSourceSelfManagedKafkaParameters & AddAdditionalBootstrapServers(AdditionalBootstrapServersT &&value)
PipeSourceSelfManagedKafkaParameters & WithStartingPosition(SelfManagedKafkaStartPosition value)
AWS_PIPES_API PipeSourceSelfManagedKafkaParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ConsumerGroupIDHasBeenSet() const
bool VpcHasBeenSet() const
void SetConsumerGroupID(ConsumerGroupIDT &&value)
PipeSourceSelfManagedKafkaParameters & WithConsumerGroupID(ConsumerGroupIDT &&value)
PipeSourceSelfManagedKafkaParameters & WithCredentials(CredentialsT &&value)
bool AdditionalBootstrapServersHasBeenSet() const
bool TopicNameHasBeenSet() const
int GetMaximumBatchingWindowInSeconds() const
PipeSourceSelfManagedKafkaParameters & WithMaximumBatchingWindowInSeconds(int value)
void SetMaximumBatchingWindowInSeconds(int value)
PipeSourceSelfManagedKafkaParameters & WithServerRootCaCertificate(ServerRootCaCertificateT &&value)
const SelfManagedKafkaAccessConfigurationVpc & GetVpc() const
const Aws::String & GetConsumerGroupID() const
PipeSourceSelfManagedKafkaParameters & WithAdditionalBootstrapServers(AdditionalBootstrapServersT &&value)
AWS_PIPES_API PipeSourceSelfManagedKafkaParameters(Aws::Utils::Json::JsonView jsonValue)
void SetServerRootCaCertificate(ServerRootCaCertificateT &&value)
PipeSourceSelfManagedKafkaParameters & WithVpc(VpcT &&value)
void SetBatchSize(int value)
PipeSourceSelfManagedKafkaParameters & WithBatchSize(int value)
const Aws::Vector< Aws::String > & GetAdditionalBootstrapServers() const
bool MaximumBatchingWindowInSecondsHasBeenSet() const
void SetTopicName(TopicNameT &&value)
void SetCredentials(CredentialsT &&value)
bool ServerRootCaCertificateHasBeenSet() const
SelfManagedKafkaStartPosition GetStartingPosition() const
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
bool BatchSizeHasBeenSet() const
const SelfManagedKafkaAccessConfigurationCredentials & GetCredentials() const
void SetAdditionalBootstrapServers(AdditionalBootstrapServersT &&value)
SelfManagedKafkaStartPosition
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue