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

The configuration of destination parameter values.

This is a union * type structure. For this structure to be valid, only one of the attributes can * be defined.

See Also:

AWS * API Reference

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

The configuration of custom values for destination parameter in * DestinationParameterValueConfiguration.

*/ inline const CustomValuesConfiguration& GetCustomValuesConfiguration() const{ return m_customValuesConfiguration; } /** *

The configuration of custom values for destination parameter in * DestinationParameterValueConfiguration.

*/ inline bool CustomValuesConfigurationHasBeenSet() const { return m_customValuesConfigurationHasBeenSet; } /** *

The configuration of custom values for destination parameter in * DestinationParameterValueConfiguration.

*/ inline void SetCustomValuesConfiguration(const CustomValuesConfiguration& value) { m_customValuesConfigurationHasBeenSet = true; m_customValuesConfiguration = value; } /** *

The configuration of custom values for destination parameter in * DestinationParameterValueConfiguration.

*/ inline void SetCustomValuesConfiguration(CustomValuesConfiguration&& value) { m_customValuesConfigurationHasBeenSet = true; m_customValuesConfiguration = std::move(value); } /** *

The configuration of custom values for destination parameter in * DestinationParameterValueConfiguration.

*/ inline DestinationParameterValueConfiguration& WithCustomValuesConfiguration(const CustomValuesConfiguration& value) { SetCustomValuesConfiguration(value); return *this;} /** *

The configuration of custom values for destination parameter in * DestinationParameterValueConfiguration.

*/ inline DestinationParameterValueConfiguration& WithCustomValuesConfiguration(CustomValuesConfiguration&& value) { SetCustomValuesConfiguration(std::move(value)); return *this;} /** *

The configuration that selects all options.

*/ inline const SelectAllValueOptions& GetSelectAllValueOptions() const{ return m_selectAllValueOptions; } /** *

The configuration that selects all options.

*/ inline bool SelectAllValueOptionsHasBeenSet() const { return m_selectAllValueOptionsHasBeenSet; } /** *

The configuration that selects all options.

*/ inline void SetSelectAllValueOptions(const SelectAllValueOptions& value) { m_selectAllValueOptionsHasBeenSet = true; m_selectAllValueOptions = value; } /** *

The configuration that selects all options.

*/ inline void SetSelectAllValueOptions(SelectAllValueOptions&& value) { m_selectAllValueOptionsHasBeenSet = true; m_selectAllValueOptions = std::move(value); } /** *

The configuration that selects all options.

*/ inline DestinationParameterValueConfiguration& WithSelectAllValueOptions(const SelectAllValueOptions& value) { SetSelectAllValueOptions(value); return *this;} /** *

The configuration that selects all options.

*/ inline DestinationParameterValueConfiguration& WithSelectAllValueOptions(SelectAllValueOptions&& value) { SetSelectAllValueOptions(std::move(value)); return *this;} /** *

The source parameter name of the destination parameter.

*/ inline const Aws::String& GetSourceParameterName() const{ return m_sourceParameterName; } /** *

The source parameter name of the destination parameter.

*/ inline bool SourceParameterNameHasBeenSet() const { return m_sourceParameterNameHasBeenSet; } /** *

The source parameter name of the destination parameter.

*/ inline void SetSourceParameterName(const Aws::String& value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName = value; } /** *

The source parameter name of the destination parameter.

*/ inline void SetSourceParameterName(Aws::String&& value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName = std::move(value); } /** *

The source parameter name of the destination parameter.

*/ inline void SetSourceParameterName(const char* value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName.assign(value); } /** *

The source parameter name of the destination parameter.

*/ inline DestinationParameterValueConfiguration& WithSourceParameterName(const Aws::String& value) { SetSourceParameterName(value); return *this;} /** *

The source parameter name of the destination parameter.

*/ inline DestinationParameterValueConfiguration& WithSourceParameterName(Aws::String&& value) { SetSourceParameterName(std::move(value)); return *this;} /** *

The source parameter name of the destination parameter.

*/ inline DestinationParameterValueConfiguration& WithSourceParameterName(const char* value) { SetSourceParameterName(value); return *this;} /** *

The source field ID of the destination parameter.

*/ inline const Aws::String& GetSourceField() const{ return m_sourceField; } /** *

The source field ID of the destination parameter.

*/ inline bool SourceFieldHasBeenSet() const { return m_sourceFieldHasBeenSet; } /** *

The source field ID of the destination parameter.

*/ inline void SetSourceField(const Aws::String& value) { m_sourceFieldHasBeenSet = true; m_sourceField = value; } /** *

The source field ID of the destination parameter.

*/ inline void SetSourceField(Aws::String&& value) { m_sourceFieldHasBeenSet = true; m_sourceField = std::move(value); } /** *

The source field ID of the destination parameter.

*/ inline void SetSourceField(const char* value) { m_sourceFieldHasBeenSet = true; m_sourceField.assign(value); } /** *

The source field ID of the destination parameter.

*/ inline DestinationParameterValueConfiguration& WithSourceField(const Aws::String& value) { SetSourceField(value); return *this;} /** *

The source field ID of the destination parameter.

*/ inline DestinationParameterValueConfiguration& WithSourceField(Aws::String&& value) { SetSourceField(std::move(value)); return *this;} /** *

The source field ID of the destination parameter.

*/ inline DestinationParameterValueConfiguration& WithSourceField(const char* value) { SetSourceField(value); return *this;} inline const ColumnIdentifier& GetSourceColumn() const{ return m_sourceColumn; } inline bool SourceColumnHasBeenSet() const { return m_sourceColumnHasBeenSet; } inline void SetSourceColumn(const ColumnIdentifier& value) { m_sourceColumnHasBeenSet = true; m_sourceColumn = value; } inline void SetSourceColumn(ColumnIdentifier&& value) { m_sourceColumnHasBeenSet = true; m_sourceColumn = std::move(value); } inline DestinationParameterValueConfiguration& WithSourceColumn(const ColumnIdentifier& value) { SetSourceColumn(value); return *this;} inline DestinationParameterValueConfiguration& WithSourceColumn(ColumnIdentifier&& value) { SetSourceColumn(std::move(value)); return *this;} private: CustomValuesConfiguration m_customValuesConfiguration; bool m_customValuesConfigurationHasBeenSet = false; SelectAllValueOptions m_selectAllValueOptions; bool m_selectAllValueOptionsHasBeenSet = false; Aws::String m_sourceParameterName; bool m_sourceParameterNameHasBeenSet = false; Aws::String m_sourceField; bool m_sourceFieldHasBeenSet = false; ColumnIdentifier m_sourceColumn; bool m_sourceColumnHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws