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 ConnectionNameT = Aws::String>
64 m_connectionNameHasBeenSet =
true;
65 m_connectionName = std::forward<ConnectionNameT>(value);
67 template <
typename ConnectionNameT = Aws::String>
81 template <
typename ConnectorNameT = Aws::String>
83 m_connectorNameHasBeenSet =
true;
84 m_connectorName = std::forward<ConnectorNameT>(value);
86 template <
typename ConnectorNameT = Aws::String>
100 template <
typename ConnectionTypeT = Aws::String>
102 m_connectionTypeHasBeenSet =
true;
103 m_connectionType = std::forward<ConnectionTypeT>(value);
105 template <
typename ConnectionTypeT = Aws::String>
118 template <
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
120 m_additionalOptionsHasBeenSet =
true;
121 m_additionalOptions = std::forward<AdditionalOptionsT>(value);
123 template <
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
128 template <
typename AdditionalOptionsKeyT = Aws::String,
typename AdditionalOptionsValueT = Aws::String>
130 m_additionalOptionsHasBeenSet =
true;
131 m_additionalOptions.emplace(std::forward<AdditionalOptionsKeyT>(key), std::forward<AdditionalOptionsValueT>(value));
142 template <
typename OutputSchemasT = Aws::Vector<GlueSchema>>
144 m_outputSchemasHasBeenSet =
true;
145 m_outputSchemas = std::forward<OutputSchemasT>(value);
147 template <
typename OutputSchemasT = Aws::Vector<GlueSchema>>
152 template <
typename OutputSchemasT = GlueSchema>
154 m_outputSchemasHasBeenSet =
true;
155 m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value));
171 bool m_nameHasBeenSet =
false;
172 bool m_connectionNameHasBeenSet =
false;
173 bool m_connectorNameHasBeenSet =
false;
174 bool m_connectionTypeHasBeenSet =
false;
175 bool m_additionalOptionsHasBeenSet =
false;
176 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