7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.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 InputsT = Aws::Vector<Aws::String>>
63 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
64 template<
typename InputsT = Aws::Vector<Aws::String>>
66 template<
typename InputsT = Aws::String>
76 template<
typename ConnectionNameT = Aws::String>
77 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet =
true; m_connectionName = std::forward<ConnectionNameT>(value); }
78 template<
typename ConnectionNameT = Aws::String>
88 template<
typename ConnectorNameT = Aws::String>
89 void SetConnectorName(ConnectorNameT&& value) { m_connectorNameHasBeenSet =
true; m_connectorName = std::forward<ConnectorNameT>(value); }
90 template<
typename ConnectorNameT = Aws::String>
101 template<
typename ConnectionTypeT = Aws::String>
102 void SetConnectionType(ConnectionTypeT&& value) { m_connectionTypeHasBeenSet =
true; m_connectionType = std::forward<ConnectionTypeT>(value); }
103 template<
typename ConnectionTypeT = Aws::String>
113 template<
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
114 void SetAdditionalOptions(AdditionalOptionsT&& value) { m_additionalOptionsHasBeenSet =
true; m_additionalOptions = std::forward<AdditionalOptionsT>(value); }
115 template<
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
117 template<
typename AdditionalOptionsKeyT = Aws::String,
typename AdditionalOptionsValueT = Aws::String>
119 m_additionalOptionsHasBeenSet =
true; m_additionalOptions.emplace(std::forward<AdditionalOptionsKeyT>(key), std::forward<AdditionalOptionsValueT>(value));
return *
this;
129 template<
typename OutputSchemasT = Aws::Vector<GlueSchema>>
130 void SetOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet =
true; m_outputSchemas = std::forward<OutputSchemasT>(value); }
131 template<
typename OutputSchemasT = Aws::Vector<GlueSchema>>
133 template<
typename OutputSchemasT = GlueSchema>
139 bool m_nameHasBeenSet =
false;
142 bool m_inputsHasBeenSet =
false;
145 bool m_connectionNameHasBeenSet =
false;
148 bool m_connectorNameHasBeenSet =
false;
151 bool m_connectionTypeHasBeenSet =
false;
154 bool m_additionalOptionsHasBeenSet =
false;
157 bool m_outputSchemasHasBeenSet =
false;
bool InputsHasBeenSet() const
bool NameHasBeenSet() const
SparkConnectorTarget & WithInputs(InputsT &&value)
void SetConnectionType(ConnectionTypeT &&value)
SparkConnectorTarget & AddInputs(InputsT &&value)
AWS_GLUE_API SparkConnectorTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
SparkConnectorTarget & AddAdditionalOptions(AdditionalOptionsKeyT &&key, AdditionalOptionsValueT &&value)
const Aws::String & GetConnectorName() const
const Aws::String & GetConnectionName() const
const Aws::String & GetName() const
SparkConnectorTarget & WithConnectionType(ConnectionTypeT &&value)
bool ConnectionNameHasBeenSet() const
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
const Aws::String & GetConnectionType() const
void SetInputs(InputsT &&value)
void SetName(NameT &&value)
void SetConnectionName(ConnectionNameT &&value)
void SetConnectorName(ConnectorNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalOptions() const
bool OutputSchemasHasBeenSet() const
bool ConnectorNameHasBeenSet() const
SparkConnectorTarget & AddOutputSchemas(OutputSchemasT &&value)
void SetOutputSchemas(OutputSchemasT &&value)
SparkConnectorTarget & WithOutputSchemas(OutputSchemasT &&value)
const Aws::Vector< Aws::String > & GetInputs() const
bool AdditionalOptionsHasBeenSet() const
AWS_GLUE_API SparkConnectorTarget()=default
bool ConnectionTypeHasBeenSet() const
SparkConnectorTarget & WithConnectionName(ConnectionNameT &&value)
SparkConnectorTarget & WithName(NameT &&value)
void SetAdditionalOptions(AdditionalOptionsT &&value)
SparkConnectorTarget & WithAdditionalOptions(AdditionalOptionsT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API SparkConnectorTarget(Aws::Utils::Json::JsonView jsonValue)
SparkConnectorTarget & WithConnectorName(ConnectorNameT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue