7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafkaconnect/KafkaConnectRequest.h>
10#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
11#include <aws/kafkaconnect/model/CapacityUpdate.h>
19namespace KafkaConnect {
44 template <
typename CapacityT = CapacityUpdate>
46 m_capacityHasBeenSet =
true;
47 m_capacity = std::forward<CapacityT>(value);
49 template <
typename CapacityT = CapacityUpdate>
63 template <
typename ConnectorConfigurationT = Aws::Map<Aws::String, Aws::String>>
65 m_connectorConfigurationHasBeenSet =
true;
66 m_connectorConfiguration = std::forward<ConnectorConfigurationT>(value);
68 template <
typename ConnectorConfigurationT = Aws::Map<Aws::String, Aws::String>>
73 template <
typename ConnectorConfigurationKeyT = Aws::String,
typename ConnectorConfigurationValueT = Aws::String>
75 m_connectorConfigurationHasBeenSet =
true;
76 m_connectorConfiguration.emplace(std::forward<ConnectorConfigurationKeyT>(key), std::forward<ConnectorConfigurationValueT>(value));
87 template <
typename ConnectorArnT = Aws::String>
89 m_connectorArnHasBeenSet =
true;
90 m_connectorArn = std::forward<ConnectorArnT>(value);
92 template <
typename ConnectorArnT = Aws::String>
105 template <
typename CurrentVersionT = Aws::String>
107 m_currentVersionHasBeenSet =
true;
108 m_currentVersion = std::forward<CurrentVersionT>(value);
110 template <
typename CurrentVersionT = Aws::String>
124 bool m_capacityHasBeenSet =
false;
125 bool m_connectorConfigurationHasBeenSet =
false;
126 bool m_connectorArnHasBeenSet =
false;
127 bool m_currentVersionHasBeenSet =
false;
void SetCapacity(CapacityT &&value)
UpdateConnectorRequest & WithCapacity(CapacityT &&value)
const Aws::String & GetCurrentVersion() const
bool ConnectorConfigurationHasBeenSet() const
UpdateConnectorRequest & WithConnectorArn(ConnectorArnT &&value)
bool CapacityHasBeenSet() const
bool CurrentVersionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateConnectorRequest & WithConnectorConfiguration(ConnectorConfigurationT &&value)
void SetConnectorArn(ConnectorArnT &&value)
void SetConnectorConfiguration(ConnectorConfigurationT &&value)
AWS_KAFKACONNECT_API Aws::String SerializePayload() const override
bool ConnectorArnHasBeenSet() const
AWS_KAFKACONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::Map< Aws::String, Aws::String > & GetConnectorConfiguration() const
AWS_KAFKACONNECT_API UpdateConnectorRequest()=default
const Aws::String & GetConnectorArn() const
const CapacityUpdate & GetCapacity() const
UpdateConnectorRequest & AddConnectorConfiguration(ConnectorConfigurationKeyT &&key, ConnectorConfigurationValueT &&value)
void SetCurrentVersion(CurrentVersionT &&value)
UpdateConnectorRequest & WithCurrentVersion(CurrentVersionT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String