/** * 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 QuickSight { namespace Model { /** *

The instructions associated with a join.

See Also:

AWS * API Reference

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

The operand on the left side of a join.

*/ inline const Aws::String& GetLeftOperand() const{ return m_leftOperand; } /** *

The operand on the left side of a join.

*/ inline bool LeftOperandHasBeenSet() const { return m_leftOperandHasBeenSet; } /** *

The operand on the left side of a join.

*/ inline void SetLeftOperand(const Aws::String& value) { m_leftOperandHasBeenSet = true; m_leftOperand = value; } /** *

The operand on the left side of a join.

*/ inline void SetLeftOperand(Aws::String&& value) { m_leftOperandHasBeenSet = true; m_leftOperand = std::move(value); } /** *

The operand on the left side of a join.

*/ inline void SetLeftOperand(const char* value) { m_leftOperandHasBeenSet = true; m_leftOperand.assign(value); } /** *

The operand on the left side of a join.

*/ inline JoinInstruction& WithLeftOperand(const Aws::String& value) { SetLeftOperand(value); return *this;} /** *

The operand on the left side of a join.

*/ inline JoinInstruction& WithLeftOperand(Aws::String&& value) { SetLeftOperand(std::move(value)); return *this;} /** *

The operand on the left side of a join.

*/ inline JoinInstruction& WithLeftOperand(const char* value) { SetLeftOperand(value); return *this;} /** *

The operand on the right side of a join.

*/ inline const Aws::String& GetRightOperand() const{ return m_rightOperand; } /** *

The operand on the right side of a join.

*/ inline bool RightOperandHasBeenSet() const { return m_rightOperandHasBeenSet; } /** *

The operand on the right side of a join.

*/ inline void SetRightOperand(const Aws::String& value) { m_rightOperandHasBeenSet = true; m_rightOperand = value; } /** *

The operand on the right side of a join.

*/ inline void SetRightOperand(Aws::String&& value) { m_rightOperandHasBeenSet = true; m_rightOperand = std::move(value); } /** *

The operand on the right side of a join.

*/ inline void SetRightOperand(const char* value) { m_rightOperandHasBeenSet = true; m_rightOperand.assign(value); } /** *

The operand on the right side of a join.

*/ inline JoinInstruction& WithRightOperand(const Aws::String& value) { SetRightOperand(value); return *this;} /** *

The operand on the right side of a join.

*/ inline JoinInstruction& WithRightOperand(Aws::String&& value) { SetRightOperand(std::move(value)); return *this;} /** *

The operand on the right side of a join.

*/ inline JoinInstruction& WithRightOperand(const char* value) { SetRightOperand(value); return *this;} /** *

Join key properties of the left operand.

*/ inline const JoinKeyProperties& GetLeftJoinKeyProperties() const{ return m_leftJoinKeyProperties; } /** *

Join key properties of the left operand.

*/ inline bool LeftJoinKeyPropertiesHasBeenSet() const { return m_leftJoinKeyPropertiesHasBeenSet; } /** *

Join key properties of the left operand.

*/ inline void SetLeftJoinKeyProperties(const JoinKeyProperties& value) { m_leftJoinKeyPropertiesHasBeenSet = true; m_leftJoinKeyProperties = value; } /** *

Join key properties of the left operand.

*/ inline void SetLeftJoinKeyProperties(JoinKeyProperties&& value) { m_leftJoinKeyPropertiesHasBeenSet = true; m_leftJoinKeyProperties = std::move(value); } /** *

Join key properties of the left operand.

*/ inline JoinInstruction& WithLeftJoinKeyProperties(const JoinKeyProperties& value) { SetLeftJoinKeyProperties(value); return *this;} /** *

Join key properties of the left operand.

*/ inline JoinInstruction& WithLeftJoinKeyProperties(JoinKeyProperties&& value) { SetLeftJoinKeyProperties(std::move(value)); return *this;} /** *

Join key properties of the right operand.

*/ inline const JoinKeyProperties& GetRightJoinKeyProperties() const{ return m_rightJoinKeyProperties; } /** *

Join key properties of the right operand.

*/ inline bool RightJoinKeyPropertiesHasBeenSet() const { return m_rightJoinKeyPropertiesHasBeenSet; } /** *

Join key properties of the right operand.

*/ inline void SetRightJoinKeyProperties(const JoinKeyProperties& value) { m_rightJoinKeyPropertiesHasBeenSet = true; m_rightJoinKeyProperties = value; } /** *

Join key properties of the right operand.

*/ inline void SetRightJoinKeyProperties(JoinKeyProperties&& value) { m_rightJoinKeyPropertiesHasBeenSet = true; m_rightJoinKeyProperties = std::move(value); } /** *

Join key properties of the right operand.

*/ inline JoinInstruction& WithRightJoinKeyProperties(const JoinKeyProperties& value) { SetRightJoinKeyProperties(value); return *this;} /** *

Join key properties of the right operand.

*/ inline JoinInstruction& WithRightJoinKeyProperties(JoinKeyProperties&& value) { SetRightJoinKeyProperties(std::move(value)); return *this;} /** *

The type of join that it is.

*/ inline const JoinType& GetType() const{ return m_type; } /** *

The type of join that it is.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of join that it is.

*/ inline void SetType(const JoinType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of join that it is.

*/ inline void SetType(JoinType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of join that it is.

*/ inline JoinInstruction& WithType(const JoinType& value) { SetType(value); return *this;} /** *

The type of join that it is.

*/ inline JoinInstruction& WithType(JoinType&& value) { SetType(std::move(value)); return *this;} /** *

The join instructions provided in the ON clause of a join.

*/ inline const Aws::String& GetOnClause() const{ return m_onClause; } /** *

The join instructions provided in the ON clause of a join.

*/ inline bool OnClauseHasBeenSet() const { return m_onClauseHasBeenSet; } /** *

The join instructions provided in the ON clause of a join.

*/ inline void SetOnClause(const Aws::String& value) { m_onClauseHasBeenSet = true; m_onClause = value; } /** *

The join instructions provided in the ON clause of a join.

*/ inline void SetOnClause(Aws::String&& value) { m_onClauseHasBeenSet = true; m_onClause = std::move(value); } /** *

The join instructions provided in the ON clause of a join.

*/ inline void SetOnClause(const char* value) { m_onClauseHasBeenSet = true; m_onClause.assign(value); } /** *

The join instructions provided in the ON clause of a join.

*/ inline JoinInstruction& WithOnClause(const Aws::String& value) { SetOnClause(value); return *this;} /** *

The join instructions provided in the ON clause of a join.

*/ inline JoinInstruction& WithOnClause(Aws::String&& value) { SetOnClause(std::move(value)); return *this;} /** *

The join instructions provided in the ON clause of a join.

*/ inline JoinInstruction& WithOnClause(const char* value) { SetOnClause(value); return *this;} private: Aws::String m_leftOperand; bool m_leftOperandHasBeenSet = false; Aws::String m_rightOperand; bool m_rightOperandHasBeenSet = false; JoinKeyProperties m_leftJoinKeyProperties; bool m_leftJoinKeyPropertiesHasBeenSet = false; JoinKeyProperties m_rightJoinKeyProperties; bool m_rightJoinKeyPropertiesHasBeenSet = false; JoinType m_type; bool m_typeHasBeenSet = false; Aws::String m_onClause; bool m_onClauseHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws