7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/GlueSchema.h>
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
62 template <
typename InputsT = Aws::Vector<Aws::String>>
64 m_inputsHasBeenSet =
true;
65 m_inputs = std::forward<InputsT>(value);
67 template <
typename InputsT = Aws::Vector<Aws::String>>
72 template <
typename InputsT = Aws::String>
74 m_inputsHasBeenSet =
true;
75 m_inputs.emplace_back(std::forward<InputsT>(value));
86 template <
typename ConnectionNameT = Aws::String>
88 m_connectionNameHasBeenSet =
true;
89 m_connectionName = std::forward<ConnectionNameT>(value);
91 template <
typename ConnectionNameT = Aws::String>
104 template <
typename ConnectorNameT = Aws::String>
106 m_connectorNameHasBeenSet =
true;
107 m_connectorName = std::forward<ConnectorNameT>(value);
109 template <
typename ConnectorNameT = Aws::String>
123 template <
typename ConnectionTypeT = Aws::String>
125 m_connectionTypeHasBeenSet =
true;
126 m_connectionType = std::forward<ConnectionTypeT>(value);
128 template <
typename ConnectionTypeT = Aws::String>
141 template <
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
143 m_additionalOptionsHasBeenSet =
true;
144 m_additionalOptions = std::forward<AdditionalOptionsT>(value);
146 template <
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
151 template <
typename AdditionalOptionsKeyT = Aws::String,
typename AdditionalOptionsValueT = Aws::String>
153 m_additionalOptionsHasBeenSet =
true;
154 m_additionalOptions.emplace(std::forward<AdditionalOptionsKeyT>(key), std::forward<AdditionalOptionsValueT>(value));
165 template <
typename OutputSchemasT = Aws::Vector<GlueSchema>>
167 m_outputSchemasHasBeenSet =
true;
168 m_outputSchemas = std::forward<OutputSchemasT>(value);
170 template <
typename OutputSchemasT = Aws::Vector<GlueSchema>>
175 template <
typename OutputSchemasT = GlueSchema>
177 m_outputSchemasHasBeenSet =
true;
178 m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value));
196 bool m_nameHasBeenSet =
false;
197 bool m_inputsHasBeenSet =
false;
198 bool m_connectionNameHasBeenSet =
false;
199 bool m_connectorNameHasBeenSet =
false;
200 bool m_connectionTypeHasBeenSet =
false;
201 bool m_additionalOptionsHasBeenSet =
false;
202 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