/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a target that uses an Apache Spark connector.See
* Also:
AWS
* API Reference
The name of the data target.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the data target.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the data target.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the data target.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the data target.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the data target.
*/ inline SparkConnectorTarget& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the data target.
*/ inline SparkConnectorTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the data target.
*/ inline SparkConnectorTarget& WithName(const char* value) { SetName(value); return *this;} /** *The nodes that are inputs to the data target.
*/ inline const Aws::VectorThe nodes that are inputs to the data target.
*/ inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; } /** *The nodes that are inputs to the data target.
*/ inline void SetInputs(const Aws::VectorThe nodes that are inputs to the data target.
*/ inline void SetInputs(Aws::VectorThe nodes that are inputs to the data target.
*/ inline SparkConnectorTarget& WithInputs(const Aws::VectorThe nodes that are inputs to the data target.
*/ inline SparkConnectorTarget& WithInputs(Aws::VectorThe nodes that are inputs to the data target.
*/ inline SparkConnectorTarget& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; } /** *The nodes that are inputs to the data target.
*/ inline SparkConnectorTarget& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; } /** *The nodes that are inputs to the data target.
*/ inline SparkConnectorTarget& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; } /** *The name of a connection for an Apache Spark connector.
*/ inline const Aws::String& GetConnectionName() const{ return m_connectionName; } /** *The name of a connection for an Apache Spark connector.
*/ inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; } /** *The name of a connection for an Apache Spark connector.
*/ inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; } /** *The name of a connection for an Apache Spark connector.
*/ inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); } /** *The name of a connection for an Apache Spark connector.
*/ inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); } /** *The name of a connection for an Apache Spark connector.
*/ inline SparkConnectorTarget& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;} /** *The name of a connection for an Apache Spark connector.
*/ inline SparkConnectorTarget& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;} /** *The name of a connection for an Apache Spark connector.
*/ inline SparkConnectorTarget& WithConnectionName(const char* value) { SetConnectionName(value); return *this;} /** *The name of an Apache Spark connector.
*/ inline const Aws::String& GetConnectorName() const{ return m_connectorName; } /** *The name of an Apache Spark connector.
*/ inline bool ConnectorNameHasBeenSet() const { return m_connectorNameHasBeenSet; } /** *The name of an Apache Spark connector.
*/ inline void SetConnectorName(const Aws::String& value) { m_connectorNameHasBeenSet = true; m_connectorName = value; } /** *The name of an Apache Spark connector.
*/ inline void SetConnectorName(Aws::String&& value) { m_connectorNameHasBeenSet = true; m_connectorName = std::move(value); } /** *The name of an Apache Spark connector.
*/ inline void SetConnectorName(const char* value) { m_connectorNameHasBeenSet = true; m_connectorName.assign(value); } /** *The name of an Apache Spark connector.
*/ inline SparkConnectorTarget& WithConnectorName(const Aws::String& value) { SetConnectorName(value); return *this;} /** *The name of an Apache Spark connector.
*/ inline SparkConnectorTarget& WithConnectorName(Aws::String&& value) { SetConnectorName(std::move(value)); return *this;} /** *The name of an Apache Spark connector.
*/ inline SparkConnectorTarget& WithConnectorName(const char* value) { SetConnectorName(value); return *this;} /** *The type of connection, such as marketplace.spark or custom.spark, * designating a connection to an Apache Spark data store.
*/ inline const Aws::String& GetConnectionType() const{ return m_connectionType; } /** *The type of connection, such as marketplace.spark or custom.spark, * designating a connection to an Apache Spark data store.
*/ inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; } /** *The type of connection, such as marketplace.spark or custom.spark, * designating a connection to an Apache Spark data store.
*/ inline void SetConnectionType(const Aws::String& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; } /** *The type of connection, such as marketplace.spark or custom.spark, * designating a connection to an Apache Spark data store.
*/ inline void SetConnectionType(Aws::String&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); } /** *The type of connection, such as marketplace.spark or custom.spark, * designating a connection to an Apache Spark data store.
*/ inline void SetConnectionType(const char* value) { m_connectionTypeHasBeenSet = true; m_connectionType.assign(value); } /** *The type of connection, such as marketplace.spark or custom.spark, * designating a connection to an Apache Spark data store.
*/ inline SparkConnectorTarget& WithConnectionType(const Aws::String& value) { SetConnectionType(value); return *this;} /** *The type of connection, such as marketplace.spark or custom.spark, * designating a connection to an Apache Spark data store.
*/ inline SparkConnectorTarget& WithConnectionType(Aws::String&& value) { SetConnectionType(std::move(value)); return *this;} /** *The type of connection, such as marketplace.spark or custom.spark, * designating a connection to an Apache Spark data store.
*/ inline SparkConnectorTarget& WithConnectionType(const char* value) { SetConnectionType(value); return *this;} /** *Additional connection options for the connector.
*/ inline const Aws::MapAdditional connection options for the connector.
*/ inline bool AdditionalOptionsHasBeenSet() const { return m_additionalOptionsHasBeenSet; } /** *Additional connection options for the connector.
*/ inline void SetAdditionalOptions(const Aws::MapAdditional connection options for the connector.
*/ inline void SetAdditionalOptions(Aws::MapAdditional connection options for the connector.
*/ inline SparkConnectorTarget& WithAdditionalOptions(const Aws::MapAdditional connection options for the connector.
*/ inline SparkConnectorTarget& WithAdditionalOptions(Aws::MapAdditional connection options for the connector.
*/ inline SparkConnectorTarget& AddAdditionalOptions(const Aws::String& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; } /** *Additional connection options for the connector.
*/ inline SparkConnectorTarget& AddAdditionalOptions(Aws::String&& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; } /** *Additional connection options for the connector.
*/ inline SparkConnectorTarget& AddAdditionalOptions(const Aws::String& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; } /** *Additional connection options for the connector.
*/ inline SparkConnectorTarget& AddAdditionalOptions(Aws::String&& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), std::move(value)); return *this; } /** *Additional connection options for the connector.
*/ inline SparkConnectorTarget& AddAdditionalOptions(const char* key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; } /** *Additional connection options for the connector.
*/ inline SparkConnectorTarget& AddAdditionalOptions(Aws::String&& key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; } /** *Additional connection options for the connector.
*/ inline SparkConnectorTarget& AddAdditionalOptions(const char* key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; } /** *Specifies the data schema for the custom spark target.
*/ inline const Aws::VectorSpecifies the data schema for the custom spark target.
*/ inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; } /** *Specifies the data schema for the custom spark target.
*/ inline void SetOutputSchemas(const Aws::VectorSpecifies the data schema for the custom spark target.
*/ inline void SetOutputSchemas(Aws::VectorSpecifies the data schema for the custom spark target.
*/ inline SparkConnectorTarget& WithOutputSchemas(const Aws::VectorSpecifies the data schema for the custom spark target.
*/ inline SparkConnectorTarget& WithOutputSchemas(Aws::VectorSpecifies the data schema for the custom spark target.
*/ inline SparkConnectorTarget& AddOutputSchemas(const GlueSchema& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(value); return *this; } /** *Specifies the data schema for the custom spark target.
*/ inline SparkConnectorTarget& AddOutputSchemas(GlueSchema&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(std::move(value)); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector