AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipeSourceSelfManagedKafkaParameters.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Pipes
26{
27namespace Model
28{
29
45 {
46 public:
50 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
57 inline const Aws::String& GetTopicName() const{ return m_topicName; }
58 inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
59 inline void SetTopicName(const Aws::String& value) { m_topicNameHasBeenSet = true; m_topicName = value; }
60 inline void SetTopicName(Aws::String&& value) { m_topicNameHasBeenSet = true; m_topicName = std::move(value); }
61 inline void SetTopicName(const char* value) { m_topicNameHasBeenSet = true; m_topicName.assign(value); }
62 inline PipeSourceSelfManagedKafkaParameters& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;}
63 inline PipeSourceSelfManagedKafkaParameters& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;}
64 inline PipeSourceSelfManagedKafkaParameters& WithTopicName(const char* value) { SetTopicName(value); return *this;}
66
68
71 inline const SelfManagedKafkaStartPosition& GetStartingPosition() const{ return m_startingPosition; }
72 inline bool StartingPositionHasBeenSet() const { return m_startingPositionHasBeenSet; }
73 inline void SetStartingPosition(const SelfManagedKafkaStartPosition& value) { m_startingPositionHasBeenSet = true; m_startingPosition = value; }
74 inline void SetStartingPosition(SelfManagedKafkaStartPosition&& value) { m_startingPositionHasBeenSet = true; m_startingPosition = std::move(value); }
78
80
83 inline const Aws::Vector<Aws::String>& GetAdditionalBootstrapServers() const{ return m_additionalBootstrapServers; }
84 inline bool AdditionalBootstrapServersHasBeenSet() const { return m_additionalBootstrapServersHasBeenSet; }
85 inline void SetAdditionalBootstrapServers(const Aws::Vector<Aws::String>& value) { m_additionalBootstrapServersHasBeenSet = true; m_additionalBootstrapServers = value; }
86 inline void SetAdditionalBootstrapServers(Aws::Vector<Aws::String>&& value) { m_additionalBootstrapServersHasBeenSet = true; m_additionalBootstrapServers = std::move(value); }
89 inline PipeSourceSelfManagedKafkaParameters& AddAdditionalBootstrapServers(const Aws::String& value) { m_additionalBootstrapServersHasBeenSet = true; m_additionalBootstrapServers.push_back(value); return *this; }
90 inline PipeSourceSelfManagedKafkaParameters& AddAdditionalBootstrapServers(Aws::String&& value) { m_additionalBootstrapServersHasBeenSet = true; m_additionalBootstrapServers.push_back(std::move(value)); return *this; }
91 inline PipeSourceSelfManagedKafkaParameters& AddAdditionalBootstrapServers(const char* value) { m_additionalBootstrapServersHasBeenSet = true; m_additionalBootstrapServers.push_back(value); return *this; }
93
95
98 inline int GetBatchSize() const{ return m_batchSize; }
99 inline bool BatchSizeHasBeenSet() const { return m_batchSizeHasBeenSet; }
100 inline void SetBatchSize(int value) { m_batchSizeHasBeenSet = true; m_batchSize = value; }
101 inline PipeSourceSelfManagedKafkaParameters& WithBatchSize(int value) { SetBatchSize(value); return *this;}
103
105
108 inline int GetMaximumBatchingWindowInSeconds() const{ return m_maximumBatchingWindowInSeconds; }
109 inline bool MaximumBatchingWindowInSecondsHasBeenSet() const { return m_maximumBatchingWindowInSecondsHasBeenSet; }
110 inline void SetMaximumBatchingWindowInSeconds(int value) { m_maximumBatchingWindowInSecondsHasBeenSet = true; m_maximumBatchingWindowInSeconds = value; }
113
115
118 inline const Aws::String& GetConsumerGroupID() const{ return m_consumerGroupID; }
119 inline bool ConsumerGroupIDHasBeenSet() const { return m_consumerGroupIDHasBeenSet; }
120 inline void SetConsumerGroupID(const Aws::String& value) { m_consumerGroupIDHasBeenSet = true; m_consumerGroupID = value; }
121 inline void SetConsumerGroupID(Aws::String&& value) { m_consumerGroupIDHasBeenSet = true; m_consumerGroupID = std::move(value); }
122 inline void SetConsumerGroupID(const char* value) { m_consumerGroupIDHasBeenSet = true; m_consumerGroupID.assign(value); }
125 inline PipeSourceSelfManagedKafkaParameters& WithConsumerGroupID(const char* value) { SetConsumerGroupID(value); return *this;}
127
129
132 inline const SelfManagedKafkaAccessConfigurationCredentials& GetCredentials() const{ return m_credentials; }
133 inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; }
134 inline void SetCredentials(const SelfManagedKafkaAccessConfigurationCredentials& value) { m_credentialsHasBeenSet = true; m_credentials = value; }
135 inline void SetCredentials(SelfManagedKafkaAccessConfigurationCredentials&& value) { m_credentialsHasBeenSet = true; m_credentials = std::move(value); }
139
141
144 inline const Aws::String& GetServerRootCaCertificate() const{ return m_serverRootCaCertificate; }
145 inline bool ServerRootCaCertificateHasBeenSet() const { return m_serverRootCaCertificateHasBeenSet; }
146 inline void SetServerRootCaCertificate(const Aws::String& value) { m_serverRootCaCertificateHasBeenSet = true; m_serverRootCaCertificate = value; }
147 inline void SetServerRootCaCertificate(Aws::String&& value) { m_serverRootCaCertificateHasBeenSet = true; m_serverRootCaCertificate = std::move(value); }
148 inline void SetServerRootCaCertificate(const char* value) { m_serverRootCaCertificateHasBeenSet = true; m_serverRootCaCertificate.assign(value); }
153
155
159 inline const SelfManagedKafkaAccessConfigurationVpc& GetVpc() const{ return m_vpc; }
160 inline bool VpcHasBeenSet() const { return m_vpcHasBeenSet; }
161 inline void SetVpc(const SelfManagedKafkaAccessConfigurationVpc& value) { m_vpcHasBeenSet = true; m_vpc = value; }
162 inline void SetVpc(SelfManagedKafkaAccessConfigurationVpc&& value) { m_vpcHasBeenSet = true; m_vpc = std::move(value); }
166 private:
167
168 Aws::String m_topicName;
169 bool m_topicNameHasBeenSet = false;
170
171 SelfManagedKafkaStartPosition m_startingPosition;
172 bool m_startingPositionHasBeenSet = false;
173
174 Aws::Vector<Aws::String> m_additionalBootstrapServers;
175 bool m_additionalBootstrapServersHasBeenSet = false;
176
177 int m_batchSize;
178 bool m_batchSizeHasBeenSet = false;
179
180 int m_maximumBatchingWindowInSeconds;
181 bool m_maximumBatchingWindowInSecondsHasBeenSet = false;
182
183 Aws::String m_consumerGroupID;
184 bool m_consumerGroupIDHasBeenSet = false;
185
187 bool m_credentialsHasBeenSet = false;
188
189 Aws::String m_serverRootCaCertificate;
190 bool m_serverRootCaCertificateHasBeenSet = false;
191
193 bool m_vpcHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace Pipes
198} // namespace Aws
PipeSourceSelfManagedKafkaParameters & AddAdditionalBootstrapServers(const char *value)
PipeSourceSelfManagedKafkaParameters & WithConsumerGroupID(const char *value)
void SetVpc(const SelfManagedKafkaAccessConfigurationVpc &value)
PipeSourceSelfManagedKafkaParameters & WithAdditionalBootstrapServers(const Aws::Vector< Aws::String > &value)
AWS_PIPES_API PipeSourceSelfManagedKafkaParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
PipeSourceSelfManagedKafkaParameters & WithTopicName(const Aws::String &value)
PipeSourceSelfManagedKafkaParameters & WithAdditionalBootstrapServers(Aws::Vector< Aws::String > &&value)
PipeSourceSelfManagedKafkaParameters & WithServerRootCaCertificate(Aws::String &&value)
PipeSourceSelfManagedKafkaParameters & WithStartingPosition(SelfManagedKafkaStartPosition &&value)
void SetCredentials(const SelfManagedKafkaAccessConfigurationCredentials &value)
void SetCredentials(SelfManagedKafkaAccessConfigurationCredentials &&value)
PipeSourceSelfManagedKafkaParameters & AddAdditionalBootstrapServers(const Aws::String &value)
PipeSourceSelfManagedKafkaParameters & WithMaximumBatchingWindowInSeconds(int value)
PipeSourceSelfManagedKafkaParameters & WithCredentials(const SelfManagedKafkaAccessConfigurationCredentials &value)
void SetVpc(SelfManagedKafkaAccessConfigurationVpc &&value)
PipeSourceSelfManagedKafkaParameters & WithConsumerGroupID(const Aws::String &value)
const SelfManagedKafkaAccessConfigurationVpc & GetVpc() const
PipeSourceSelfManagedKafkaParameters & WithServerRootCaCertificate(const char *value)
PipeSourceSelfManagedKafkaParameters & WithCredentials(SelfManagedKafkaAccessConfigurationCredentials &&value)
AWS_PIPES_API PipeSourceSelfManagedKafkaParameters(Aws::Utils::Json::JsonView jsonValue)
PipeSourceSelfManagedKafkaParameters & WithServerRootCaCertificate(const Aws::String &value)
PipeSourceSelfManagedKafkaParameters & AddAdditionalBootstrapServers(Aws::String &&value)
PipeSourceSelfManagedKafkaParameters & WithConsumerGroupID(Aws::String &&value)
PipeSourceSelfManagedKafkaParameters & WithTopicName(Aws::String &&value)
void SetStartingPosition(const SelfManagedKafkaStartPosition &value)
void SetAdditionalBootstrapServers(const Aws::Vector< Aws::String > &value)
PipeSourceSelfManagedKafkaParameters & WithTopicName(const char *value)
PipeSourceSelfManagedKafkaParameters & WithStartingPosition(const SelfManagedKafkaStartPosition &value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
PipeSourceSelfManagedKafkaParameters & WithVpc(SelfManagedKafkaAccessConfigurationVpc &&value)
const SelfManagedKafkaAccessConfigurationCredentials & GetCredentials() const
PipeSourceSelfManagedKafkaParameters & WithVpc(const SelfManagedKafkaAccessConfigurationVpc &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue