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

See * Also:

AWS * API Reference

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

The field ID of the field that you are setting the axis binding to.

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

The field ID of the field that you are setting the axis binding to.

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

The field ID of the field that you are setting the axis binding to.

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

The field ID of the field that you are setting the axis binding to.

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

The field ID of the field that you are setting the axis binding to.

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

The field ID of the field that you are setting the axis binding to.

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

The field ID of the field that you are setting the axis binding to.

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

The field ID of the field that you are setting the axis binding to.

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

The field value of the field that you are setting the axis binding to.

*/ inline const Aws::String& GetFieldValue() const{ return m_fieldValue; } /** *

The field value of the field that you are setting the axis binding to.

*/ inline bool FieldValueHasBeenSet() const { return m_fieldValueHasBeenSet; } /** *

The field value of the field that you are setting the axis binding to.

*/ inline void SetFieldValue(const Aws::String& value) { m_fieldValueHasBeenSet = true; m_fieldValue = value; } /** *

The field value of the field that you are setting the axis binding to.

*/ inline void SetFieldValue(Aws::String&& value) { m_fieldValueHasBeenSet = true; m_fieldValue = std::move(value); } /** *

The field value of the field that you are setting the axis binding to.

*/ inline void SetFieldValue(const char* value) { m_fieldValueHasBeenSet = true; m_fieldValue.assign(value); } /** *

The field value of the field that you are setting the axis binding to.

*/ inline DataFieldSeriesItem& WithFieldValue(const Aws::String& value) { SetFieldValue(value); return *this;} /** *

The field value of the field that you are setting the axis binding to.

*/ inline DataFieldSeriesItem& WithFieldValue(Aws::String&& value) { SetFieldValue(std::move(value)); return *this;} /** *

The field value of the field that you are setting the axis binding to.

*/ inline DataFieldSeriesItem& WithFieldValue(const char* value) { SetFieldValue(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 DataFieldSeriesItem& WithAxisBinding(const AxisBinding& value) { SetAxisBinding(value); return *this;} /** *

The axis that you are binding the field to.

*/ inline DataFieldSeriesItem& 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 DataFieldSeriesItem& WithSettings(const LineChartSeriesSettings& value) { SetSettings(value); return *this;} /** *

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

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