/** * 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 field series item configuration of a line chart.

See Also:

* AWS * API Reference

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

The field ID of the field for which you are setting the axis binding.

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

The field ID of the field for which you are setting the axis binding.

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

The field ID of the field for which you are setting the axis binding.

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

The field ID of the field for which you are setting the axis binding.

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

The field ID of the field for which you are setting the axis binding.

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

The field ID of the field for which you are setting the axis binding.

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

The field ID of the field for which you are setting the axis binding.

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

The field ID of the field for which you are setting the axis binding.

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

The axis that you are binding the field to.

*/ inline const AxisBinding& GetAxisBinding() const{ return m_axisBinding; } /** *

The axis that you are binding the field to.

*/ inline bool AxisBindingHasBeenSet() const { return m_axisBindingHasBeenSet; } /** *

The axis that you are binding the field to.

*/ inline void SetAxisBinding(const AxisBinding& value) { m_axisBindingHasBeenSet = true; m_axisBinding = value; } /** *

The axis that you are binding the field to.

*/ inline void SetAxisBinding(AxisBinding&& value) { m_axisBindingHasBeenSet = true; m_axisBinding = std::move(value); } /** *

The axis that you are binding the field to.

*/ inline FieldSeriesItem& WithAxisBinding(const AxisBinding& value) { SetAxisBinding(value); return *this;} /** *

The axis that you are binding the field to.

*/ inline FieldSeriesItem& WithAxisBinding(AxisBinding&& value) { SetAxisBinding(std::move(value)); return *this;} /** *

The options that determine the presentation of line series associated to the * field.

*/ inline const LineChartSeriesSettings& GetSettings() const{ return m_settings; } /** *

The options that determine the presentation of line series associated to the * field.

*/ inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; } /** *

The options that determine the presentation of line series associated to the * field.

*/ inline void SetSettings(const LineChartSeriesSettings& value) { m_settingsHasBeenSet = true; m_settings = value; } /** *

The options that determine the presentation of line series associated to the * field.

*/ inline void SetSettings(LineChartSeriesSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); } /** *

The options that determine the presentation of line series associated to the * field.

*/ inline FieldSeriesItem& WithSettings(const LineChartSeriesSettings& value) { SetSettings(value); return *this;} /** *

The options that determine the presentation of line series associated to the * field.

*/ inline FieldSeriesItem& WithSettings(LineChartSeriesSettings&& value) { SetSettings(std::move(value)); return *this;} private: Aws::String m_fieldId; bool m_fieldIdHasBeenSet = false; AxisBinding m_axisBinding; bool m_axisBindingHasBeenSet = false; LineChartSeriesSettings m_settings; bool m_settingsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws