/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The options for data bars.See Also:
AWS
* API Reference
The field ID for the data bars options.
*/ inline const Aws::String& GetFieldId() const{ return m_fieldId; } /** *The field ID for the data bars options.
*/ inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; } /** *The field ID for the data bars options.
*/ inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; } /** *The field ID for the data bars options.
*/ inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); } /** *The field ID for the data bars options.
*/ inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); } /** *The field ID for the data bars options.
*/ inline DataBarsOptions& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;} /** *The field ID for the data bars options.
*/ inline DataBarsOptions& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;} /** *The field ID for the data bars options.
*/ inline DataBarsOptions& WithFieldId(const char* value) { SetFieldId(value); return *this;} /** *The color of the positive data bar.
*/ inline const Aws::String& GetPositiveColor() const{ return m_positiveColor; } /** *The color of the positive data bar.
*/ inline bool PositiveColorHasBeenSet() const { return m_positiveColorHasBeenSet; } /** *The color of the positive data bar.
*/ inline void SetPositiveColor(const Aws::String& value) { m_positiveColorHasBeenSet = true; m_positiveColor = value; } /** *The color of the positive data bar.
*/ inline void SetPositiveColor(Aws::String&& value) { m_positiveColorHasBeenSet = true; m_positiveColor = std::move(value); } /** *The color of the positive data bar.
*/ inline void SetPositiveColor(const char* value) { m_positiveColorHasBeenSet = true; m_positiveColor.assign(value); } /** *The color of the positive data bar.
*/ inline DataBarsOptions& WithPositiveColor(const Aws::String& value) { SetPositiveColor(value); return *this;} /** *The color of the positive data bar.
*/ inline DataBarsOptions& WithPositiveColor(Aws::String&& value) { SetPositiveColor(std::move(value)); return *this;} /** *The color of the positive data bar.
*/ inline DataBarsOptions& WithPositiveColor(const char* value) { SetPositiveColor(value); return *this;} /** *The color of the negative data bar.
*/ inline const Aws::String& GetNegativeColor() const{ return m_negativeColor; } /** *The color of the negative data bar.
*/ inline bool NegativeColorHasBeenSet() const { return m_negativeColorHasBeenSet; } /** *The color of the negative data bar.
*/ inline void SetNegativeColor(const Aws::String& value) { m_negativeColorHasBeenSet = true; m_negativeColor = value; } /** *The color of the negative data bar.
*/ inline void SetNegativeColor(Aws::String&& value) { m_negativeColorHasBeenSet = true; m_negativeColor = std::move(value); } /** *The color of the negative data bar.
*/ inline void SetNegativeColor(const char* value) { m_negativeColorHasBeenSet = true; m_negativeColor.assign(value); } /** *The color of the negative data bar.
*/ inline DataBarsOptions& WithNegativeColor(const Aws::String& value) { SetNegativeColor(value); return *this;} /** *The color of the negative data bar.
*/ inline DataBarsOptions& WithNegativeColor(Aws::String&& value) { SetNegativeColor(std::move(value)); return *this;} /** *The color of the negative data bar.
*/ inline DataBarsOptions& WithNegativeColor(const char* value) { SetNegativeColor(value); return *this;} private: Aws::String m_fieldId; bool m_fieldIdHasBeenSet = false; Aws::String m_positiveColor; bool m_positiveColorHasBeenSet = false; Aws::String m_negativeColor; bool m_negativeColorHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws