/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

Specifies a Snowflake target.

See Also:

AWS * API Reference

*/ class SnowflakeTarget { public: AWS_GLUE_API SnowflakeTarget(); AWS_GLUE_API SnowflakeTarget(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API SnowflakeTarget& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the Snowflake target.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the Snowflake target.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the Snowflake target.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the Snowflake target.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the Snowflake target.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the Snowflake target.

*/ inline SnowflakeTarget& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the Snowflake target.

*/ inline SnowflakeTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the Snowflake target.

*/ inline SnowflakeTarget& WithName(const char* value) { SetName(value); return *this;} /** *

Specifies the data of the Snowflake target node.

*/ inline const SnowflakeNodeData& GetData() const{ return m_data; } /** *

Specifies the data of the Snowflake target node.

*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *

Specifies the data of the Snowflake target node.

*/ inline void SetData(const SnowflakeNodeData& value) { m_dataHasBeenSet = true; m_data = value; } /** *

Specifies the data of the Snowflake target node.

*/ inline void SetData(SnowflakeNodeData&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** *

Specifies the data of the Snowflake target node.

*/ inline SnowflakeTarget& WithData(const SnowflakeNodeData& value) { SetData(value); return *this;} /** *

Specifies the data of the Snowflake target node.

*/ inline SnowflakeTarget& WithData(SnowflakeNodeData&& value) { SetData(std::move(value)); return *this;} /** *

The nodes that are inputs to the data target.

*/ inline const Aws::Vector& GetInputs() const{ return m_inputs; } /** *

The 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::Vector& value) { m_inputsHasBeenSet = true; m_inputs = value; } /** *

The nodes that are inputs to the data target.

*/ inline void SetInputs(Aws::Vector&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); } /** *

The nodes that are inputs to the data target.

*/ inline SnowflakeTarget& WithInputs(const Aws::Vector& value) { SetInputs(value); return *this;} /** *

The nodes that are inputs to the data target.

*/ inline SnowflakeTarget& WithInputs(Aws::Vector&& value) { SetInputs(std::move(value)); return *this;} /** *

The nodes that are inputs to the data target.

*/ inline SnowflakeTarget& 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 SnowflakeTarget& 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 SnowflakeTarget& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; SnowflakeNodeData m_data; bool m_dataHasBeenSet = false; Aws::Vector m_inputs; bool m_inputsHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws