AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
NumericSeparatorConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/NumericSeparatorSymbol.h>
9#include <aws/quicksight/model/ThousandSeparatorOptions.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API NumericSeparatorConfiguration() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline NumericSeparatorSymbol GetDecimalSeparator() const { return m_decimalSeparator; }
47 inline bool DecimalSeparatorHasBeenSet() const { return m_decimalSeparatorHasBeenSet; }
48 inline void SetDecimalSeparator(NumericSeparatorSymbol value) { m_decimalSeparatorHasBeenSet = true; m_decimalSeparator = value; }
51
53
56 inline const ThousandSeparatorOptions& GetThousandsSeparator() const { return m_thousandsSeparator; }
57 inline bool ThousandsSeparatorHasBeenSet() const { return m_thousandsSeparatorHasBeenSet; }
58 template<typename ThousandsSeparatorT = ThousandSeparatorOptions>
59 void SetThousandsSeparator(ThousandsSeparatorT&& value) { m_thousandsSeparatorHasBeenSet = true; m_thousandsSeparator = std::forward<ThousandsSeparatorT>(value); }
60 template<typename ThousandsSeparatorT = ThousandSeparatorOptions>
61 NumericSeparatorConfiguration& WithThousandsSeparator(ThousandsSeparatorT&& value) { SetThousandsSeparator(std::forward<ThousandsSeparatorT>(value)); return *this;}
63 private:
64
66 bool m_decimalSeparatorHasBeenSet = false;
67
68 ThousandSeparatorOptions m_thousandsSeparator;
69 bool m_thousandsSeparatorHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace QuickSight
74} // namespace Aws
AWS_QUICKSIGHT_API NumericSeparatorConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API NumericSeparatorConfiguration()=default
NumericSeparatorConfiguration & WithThousandsSeparator(ThousandsSeparatorT &&value)
AWS_QUICKSIGHT_API NumericSeparatorConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
NumericSeparatorConfiguration & WithDecimalSeparator(NumericSeparatorSymbol value)
Aws::Utils::Json::JsonValue JsonValue