AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API NumericSeparatorConfiguration() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline NumericSeparatorSymbol GetDecimalSeparator() const { return m_decimalSeparator; }
41 inline bool DecimalSeparatorHasBeenSet() const { return m_decimalSeparatorHasBeenSet; }
43 m_decimalSeparatorHasBeenSet = true;
44 m_decimalSeparator = value;
45 }
48 return *this;
49 }
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) {
60 m_thousandsSeparatorHasBeenSet = true;
61 m_thousandsSeparator = std::forward<ThousandsSeparatorT>(value);
62 }
63 template <typename ThousandsSeparatorT = ThousandSeparatorOptions>
65 SetThousandsSeparator(std::forward<ThousandsSeparatorT>(value));
66 return *this;
67 }
69 private:
71
72 ThousandSeparatorOptions m_thousandsSeparator;
73 bool m_decimalSeparatorHasBeenSet = false;
74 bool m_thousandsSeparatorHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace QuickSight
79} // 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