7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/model/GlueSchema.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename ConnectionNameT = Aws::String>
63 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet =
true; m_connectionName = std::forward<ConnectionNameT>(value); }
64 template<
typename ConnectionNameT = Aws::String>
75 template<
typename ConnectorNameT = Aws::String>
76 void SetConnectorName(ConnectorNameT&& value) { m_connectorNameHasBeenSet =
true; m_connectorName = std::forward<ConnectorNameT>(value); }
77 template<
typename ConnectorNameT = Aws::String>
88 template<
typename ConnectionTypeT = Aws::String>
89 void SetConnectionType(ConnectionTypeT&& value) { m_connectionTypeHasBeenSet =
true; m_connectionType = std::forward<ConnectionTypeT>(value); }
90 template<
typename ConnectionTypeT = Aws::String>
100 template<
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
101 void SetAdditionalOptions(AdditionalOptionsT&& value) { m_additionalOptionsHasBeenSet =
true; m_additionalOptions = std::forward<AdditionalOptionsT>(value); }
102 template<
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
104 template<
typename AdditionalOptionsKeyT = Aws::String,
typename AdditionalOptionsValueT = Aws::String>
106 m_additionalOptionsHasBeenSet =
true; m_additionalOptions.emplace(std::forward<AdditionalOptionsKeyT>(key), std::forward<AdditionalOptionsValueT>(value));
return *
this;
116 template<
typename OutputSchemasT = Aws::Vector<GlueSchema>>
117 void SetOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet =
true; m_outputSchemas = std::forward<OutputSchemasT>(value); }
118 template<
typename OutputSchemasT = Aws::Vector<GlueSchema>>
120 template<
typename OutputSchemasT = GlueSchema>
126 bool m_nameHasBeenSet =
false;
129 bool m_connectionNameHasBeenSet =
false;
132 bool m_connectorNameHasBeenSet =
false;
135 bool m_connectionTypeHasBeenSet =
false;
138 bool m_additionalOptionsHasBeenSet =
false;
141 bool m_outputSchemasHasBeenSet =
false;
AWS_GLUE_API SparkConnectorSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API SparkConnectorSource()=default
const Aws::String & GetConnectionType() const
AWS_GLUE_API SparkConnectorSource(Aws::Utils::Json::JsonView jsonValue)
SparkConnectorSource & WithAdditionalOptions(AdditionalOptionsT &&value)
bool ConnectorNameHasBeenSet() const
SparkConnectorSource & WithConnectionName(ConnectionNameT &&value)
bool OutputSchemasHasBeenSet() const
bool ConnectionTypeHasBeenSet() const
void SetAdditionalOptions(AdditionalOptionsT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
SparkConnectorSource & AddAdditionalOptions(AdditionalOptionsKeyT &&key, AdditionalOptionsValueT &&value)
const Aws::String & GetName() const
const Aws::String & GetConnectionName() const
bool NameHasBeenSet() const
SparkConnectorSource & WithConnectorName(ConnectorNameT &&value)
bool ConnectionNameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalOptions() const
void SetConnectionType(ConnectionTypeT &&value)
SparkConnectorSource & AddOutputSchemas(OutputSchemasT &&value)
void SetConnectorName(ConnectorNameT &&value)
SparkConnectorSource & WithName(NameT &&value)
SparkConnectorSource & WithConnectionType(ConnectionTypeT &&value)
void SetName(NameT &&value)
SparkConnectorSource & WithOutputSchemas(OutputSchemasT &&value)
void SetOutputSchemas(OutputSchemasT &&value)
void SetConnectionName(ConnectionNameT &&value)
bool AdditionalOptionsHasBeenSet() const
const Aws::String & GetConnectorName() const
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue