7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pipes/model/MSKStartPosition.h>
10#include <aws/pipes/model/MSKAccessCredentials.h>
49 template<
typename TopicNameT = Aws::String>
50 void SetTopicName(TopicNameT&& value) { m_topicNameHasBeenSet =
true; m_topicName = std::forward<TopicNameT>(value); }
51 template<
typename TopicNameT = Aws::String>
71 inline void SetBatchSize(
int value) { m_batchSizeHasBeenSet =
true; m_batchSize = value; }
91 template<
typename ConsumerGroupIDT = Aws::String>
92 void SetConsumerGroupID(ConsumerGroupIDT&& value) { m_consumerGroupIDHasBeenSet =
true; m_consumerGroupID = std::forward<ConsumerGroupIDT>(value); }
93 template<
typename ConsumerGroupIDT = Aws::String>
103 template<
typename CredentialsT = MSKAccessCredentials>
104 void SetCredentials(CredentialsT&& value) { m_credentialsHasBeenSet =
true; m_credentials = std::forward<CredentialsT>(value); }
105 template<
typename CredentialsT = MSKAccessCredentials>
111 bool m_topicNameHasBeenSet =
false;
114 bool m_startingPositionHasBeenSet =
false;
117 bool m_batchSizeHasBeenSet =
false;
119 int m_maximumBatchingWindowInSeconds{0};
120 bool m_maximumBatchingWindowInSecondsHasBeenSet =
false;
123 bool m_consumerGroupIDHasBeenSet =
false;
125 MSKAccessCredentials m_credentials;
126 bool m_credentialsHasBeenSet =
false;
void SetTopicName(TopicNameT &&value)
int GetMaximumBatchingWindowInSeconds() const
bool StartingPositionHasBeenSet() const
PipeSourceManagedStreamingKafkaParameters & WithBatchSize(int value)
PipeSourceManagedStreamingKafkaParameters & WithTopicName(TopicNameT &&value)
bool ConsumerGroupIDHasBeenSet() const
MSKStartPosition GetStartingPosition() const
bool BatchSizeHasBeenSet() const
const Aws::String & GetTopicName() const
PipeSourceManagedStreamingKafkaParameters & WithCredentials(CredentialsT &&value)
bool CredentialsHasBeenSet() const
bool TopicNameHasBeenSet() const
PipeSourceManagedStreamingKafkaParameters & WithConsumerGroupID(ConsumerGroupIDT &&value)
void SetBatchSize(int value)
AWS_PIPES_API PipeSourceManagedStreamingKafkaParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConsumerGroupID() const
const MSKAccessCredentials & GetCredentials() const
AWS_PIPES_API PipeSourceManagedStreamingKafkaParameters()=default
void SetStartingPosition(MSKStartPosition value)
void SetMaximumBatchingWindowInSeconds(int value)
PipeSourceManagedStreamingKafkaParameters & WithStartingPosition(MSKStartPosition value)
void SetConsumerGroupID(ConsumerGroupIDT &&value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCredentials(CredentialsT &&value)
bool MaximumBatchingWindowInSecondsHasBeenSet() const
AWS_PIPES_API PipeSourceManagedStreamingKafkaParameters(Aws::Utils::Json::JsonView jsonValue)
PipeSourceManagedStreamingKafkaParameters & WithMaximumBatchingWindowInSeconds(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue