/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The options that determine the number display format
* configuration.See Also:
AWS
* API Reference
Determines the prefix value of the number format.
*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *Determines the prefix value of the number format.
*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *Determines the prefix value of the number format.
*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *Determines the prefix value of the number format.
*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *Determines the prefix value of the number format.
*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *Determines the prefix value of the number format.
*/ inline NumberDisplayFormatConfiguration& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *Determines the prefix value of the number format.
*/ inline NumberDisplayFormatConfiguration& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *Determines the prefix value of the number format.
*/ inline NumberDisplayFormatConfiguration& WithPrefix(const char* value) { SetPrefix(value); return *this;} /** *Determines the suffix value of the number format.
*/ inline const Aws::String& GetSuffix() const{ return m_suffix; } /** *Determines the suffix value of the number format.
*/ inline bool SuffixHasBeenSet() const { return m_suffixHasBeenSet; } /** *Determines the suffix value of the number format.
*/ inline void SetSuffix(const Aws::String& value) { m_suffixHasBeenSet = true; m_suffix = value; } /** *Determines the suffix value of the number format.
*/ inline void SetSuffix(Aws::String&& value) { m_suffixHasBeenSet = true; m_suffix = std::move(value); } /** *Determines the suffix value of the number format.
*/ inline void SetSuffix(const char* value) { m_suffixHasBeenSet = true; m_suffix.assign(value); } /** *Determines the suffix value of the number format.
*/ inline NumberDisplayFormatConfiguration& WithSuffix(const Aws::String& value) { SetSuffix(value); return *this;} /** *Determines the suffix value of the number format.
*/ inline NumberDisplayFormatConfiguration& WithSuffix(Aws::String&& value) { SetSuffix(std::move(value)); return *this;} /** *Determines the suffix value of the number format.
*/ inline NumberDisplayFormatConfiguration& WithSuffix(const char* value) { SetSuffix(value); return *this;} /** *The options that determine the numeric separator configuration.
*/ inline const NumericSeparatorConfiguration& GetSeparatorConfiguration() const{ return m_separatorConfiguration; } /** *The options that determine the numeric separator configuration.
*/ inline bool SeparatorConfigurationHasBeenSet() const { return m_separatorConfigurationHasBeenSet; } /** *The options that determine the numeric separator configuration.
*/ inline void SetSeparatorConfiguration(const NumericSeparatorConfiguration& value) { m_separatorConfigurationHasBeenSet = true; m_separatorConfiguration = value; } /** *The options that determine the numeric separator configuration.
*/ inline void SetSeparatorConfiguration(NumericSeparatorConfiguration&& value) { m_separatorConfigurationHasBeenSet = true; m_separatorConfiguration = std::move(value); } /** *The options that determine the numeric separator configuration.
*/ inline NumberDisplayFormatConfiguration& WithSeparatorConfiguration(const NumericSeparatorConfiguration& value) { SetSeparatorConfiguration(value); return *this;} /** *The options that determine the numeric separator configuration.
*/ inline NumberDisplayFormatConfiguration& WithSeparatorConfiguration(NumericSeparatorConfiguration&& value) { SetSeparatorConfiguration(std::move(value)); return *this;} /** *The option that determines the decimal places configuration.
*/ inline const DecimalPlacesConfiguration& GetDecimalPlacesConfiguration() const{ return m_decimalPlacesConfiguration; } /** *The option that determines the decimal places configuration.
*/ inline bool DecimalPlacesConfigurationHasBeenSet() const { return m_decimalPlacesConfigurationHasBeenSet; } /** *The option that determines the decimal places configuration.
*/ inline void SetDecimalPlacesConfiguration(const DecimalPlacesConfiguration& value) { m_decimalPlacesConfigurationHasBeenSet = true; m_decimalPlacesConfiguration = value; } /** *The option that determines the decimal places configuration.
*/ inline void SetDecimalPlacesConfiguration(DecimalPlacesConfiguration&& value) { m_decimalPlacesConfigurationHasBeenSet = true; m_decimalPlacesConfiguration = std::move(value); } /** *The option that determines the decimal places configuration.
*/ inline NumberDisplayFormatConfiguration& WithDecimalPlacesConfiguration(const DecimalPlacesConfiguration& value) { SetDecimalPlacesConfiguration(value); return *this;} /** *The option that determines the decimal places configuration.
*/ inline NumberDisplayFormatConfiguration& WithDecimalPlacesConfiguration(DecimalPlacesConfiguration&& value) { SetDecimalPlacesConfiguration(std::move(value)); return *this;} /** *Determines the number scale value of the number format.
*/ inline const NumberScale& GetNumberScale() const{ return m_numberScale; } /** *Determines the number scale value of the number format.
*/ inline bool NumberScaleHasBeenSet() const { return m_numberScaleHasBeenSet; } /** *Determines the number scale value of the number format.
*/ inline void SetNumberScale(const NumberScale& value) { m_numberScaleHasBeenSet = true; m_numberScale = value; } /** *Determines the number scale value of the number format.
*/ inline void SetNumberScale(NumberScale&& value) { m_numberScaleHasBeenSet = true; m_numberScale = std::move(value); } /** *Determines the number scale value of the number format.
*/ inline NumberDisplayFormatConfiguration& WithNumberScale(const NumberScale& value) { SetNumberScale(value); return *this;} /** *Determines the number scale value of the number format.
*/ inline NumberDisplayFormatConfiguration& WithNumberScale(NumberScale&& value) { SetNumberScale(std::move(value)); return *this;} /** *The options that determine the negative value configuration.
*/ inline const NegativeValueConfiguration& GetNegativeValueConfiguration() const{ return m_negativeValueConfiguration; } /** *The options that determine the negative value configuration.
*/ inline bool NegativeValueConfigurationHasBeenSet() const { return m_negativeValueConfigurationHasBeenSet; } /** *The options that determine the negative value configuration.
*/ inline void SetNegativeValueConfiguration(const NegativeValueConfiguration& value) { m_negativeValueConfigurationHasBeenSet = true; m_negativeValueConfiguration = value; } /** *The options that determine the negative value configuration.
*/ inline void SetNegativeValueConfiguration(NegativeValueConfiguration&& value) { m_negativeValueConfigurationHasBeenSet = true; m_negativeValueConfiguration = std::move(value); } /** *The options that determine the negative value configuration.
*/ inline NumberDisplayFormatConfiguration& WithNegativeValueConfiguration(const NegativeValueConfiguration& value) { SetNegativeValueConfiguration(value); return *this;} /** *The options that determine the negative value configuration.
*/ inline NumberDisplayFormatConfiguration& WithNegativeValueConfiguration(NegativeValueConfiguration&& value) { SetNegativeValueConfiguration(std::move(value)); return *this;} /** *The options that determine the null value format configuration.
*/ inline const NullValueFormatConfiguration& GetNullValueFormatConfiguration() const{ return m_nullValueFormatConfiguration; } /** *The options that determine the null value format configuration.
*/ inline bool NullValueFormatConfigurationHasBeenSet() const { return m_nullValueFormatConfigurationHasBeenSet; } /** *The options that determine the null value format configuration.
*/ inline void SetNullValueFormatConfiguration(const NullValueFormatConfiguration& value) { m_nullValueFormatConfigurationHasBeenSet = true; m_nullValueFormatConfiguration = value; } /** *The options that determine the null value format configuration.
*/ inline void SetNullValueFormatConfiguration(NullValueFormatConfiguration&& value) { m_nullValueFormatConfigurationHasBeenSet = true; m_nullValueFormatConfiguration = std::move(value); } /** *The options that determine the null value format configuration.
*/ inline NumberDisplayFormatConfiguration& WithNullValueFormatConfiguration(const NullValueFormatConfiguration& value) { SetNullValueFormatConfiguration(value); return *this;} /** *The options that determine the null value format configuration.
*/ inline NumberDisplayFormatConfiguration& WithNullValueFormatConfiguration(NullValueFormatConfiguration&& value) { SetNullValueFormatConfiguration(std::move(value)); return *this;} private: Aws::String m_prefix; bool m_prefixHasBeenSet = false; Aws::String m_suffix; bool m_suffixHasBeenSet = false; NumericSeparatorConfiguration m_separatorConfiguration; bool m_separatorConfigurationHasBeenSet = false; DecimalPlacesConfiguration m_decimalPlacesConfiguration; bool m_decimalPlacesConfigurationHasBeenSet = false; NumberScale m_numberScale; bool m_numberScaleHasBeenSet = false; NegativeValueConfiguration m_negativeValueConfiguration; bool m_negativeValueConfigurationHasBeenSet = false; NullValueFormatConfiguration m_nullValueFormatConfiguration; bool m_nullValueFormatConfigurationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws