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

The reference that specifies where the axis label is applied * to.

See Also:

AWS * API Reference

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

The field that the axis label is targeted to.

*/ inline const Aws::String& GetFieldId() const{ return m_fieldId; } /** *

The field that the axis label is targeted to.

*/ inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; } /** *

The field that the axis label is targeted to.

*/ inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; } /** *

The field that the axis label is targeted to.

*/ inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); } /** *

The field that the axis label is targeted to.

*/ inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); } /** *

The field that the axis label is targeted to.

*/ inline AxisLabelReferenceOptions& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;} /** *

The field that the axis label is targeted to.

*/ inline AxisLabelReferenceOptions& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;} /** *

The field that the axis label is targeted to.

*/ inline AxisLabelReferenceOptions& WithFieldId(const char* value) { SetFieldId(value); return *this;} /** *

The column that the axis label is targeted to.

*/ inline const ColumnIdentifier& GetColumn() const{ return m_column; } /** *

The column that the axis label is targeted to.

*/ inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; } /** *

The column that the axis label is targeted to.

*/ inline void SetColumn(const ColumnIdentifier& value) { m_columnHasBeenSet = true; m_column = value; } /** *

The column that the axis label is targeted to.

*/ inline void SetColumn(ColumnIdentifier&& value) { m_columnHasBeenSet = true; m_column = std::move(value); } /** *

The column that the axis label is targeted to.

*/ inline AxisLabelReferenceOptions& WithColumn(const ColumnIdentifier& value) { SetColumn(value); return *this;} /** *

The column that the axis label is targeted to.

*/ inline AxisLabelReferenceOptions& WithColumn(ColumnIdentifier&& value) { SetColumn(std::move(value)); return *this;} private: Aws::String m_fieldId; bool m_fieldIdHasBeenSet = false; ColumnIdentifier m_column; bool m_columnHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws