AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
CurrencyDisplayFormatConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/DecimalPlacesConfiguration.h>
10#include <aws/quicksight/model/NegativeValueConfiguration.h>
11#include <aws/quicksight/model/NullValueFormatConfiguration.h>
12#include <aws/quicksight/model/NumberScale.h>
13#include <aws/quicksight/model/NumericSeparatorConfiguration.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight {
25namespace Model {
26
34 public:
35 AWS_QUICKSIGHT_API CurrencyDisplayFormatConfiguration() = default;
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetPrefix() const { return m_prefix; }
45 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
46 template <typename PrefixT = Aws::String>
47 void SetPrefix(PrefixT&& value) {
48 m_prefixHasBeenSet = true;
49 m_prefix = std::forward<PrefixT>(value);
50 }
51 template <typename PrefixT = Aws::String>
53 SetPrefix(std::forward<PrefixT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetSuffix() const { return m_suffix; }
63 inline bool SuffixHasBeenSet() const { return m_suffixHasBeenSet; }
64 template <typename SuffixT = Aws::String>
65 void SetSuffix(SuffixT&& value) {
66 m_suffixHasBeenSet = true;
67 m_suffix = std::forward<SuffixT>(value);
68 }
69 template <typename SuffixT = Aws::String>
71 SetSuffix(std::forward<SuffixT>(value));
72 return *this;
73 }
75
77
80 inline const NumericSeparatorConfiguration& GetSeparatorConfiguration() const { return m_separatorConfiguration; }
81 inline bool SeparatorConfigurationHasBeenSet() const { return m_separatorConfigurationHasBeenSet; }
82 template <typename SeparatorConfigurationT = NumericSeparatorConfiguration>
83 void SetSeparatorConfiguration(SeparatorConfigurationT&& value) {
84 m_separatorConfigurationHasBeenSet = true;
85 m_separatorConfiguration = std::forward<SeparatorConfigurationT>(value);
86 }
87 template <typename SeparatorConfigurationT = NumericSeparatorConfiguration>
89 SetSeparatorConfiguration(std::forward<SeparatorConfigurationT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetSymbol() const { return m_symbol; }
99 inline bool SymbolHasBeenSet() const { return m_symbolHasBeenSet; }
100 template <typename SymbolT = Aws::String>
101 void SetSymbol(SymbolT&& value) {
102 m_symbolHasBeenSet = true;
103 m_symbol = std::forward<SymbolT>(value);
104 }
105 template <typename SymbolT = Aws::String>
107 SetSymbol(std::forward<SymbolT>(value));
108 return *this;
109 }
111
113
116 inline const DecimalPlacesConfiguration& GetDecimalPlacesConfiguration() const { return m_decimalPlacesConfiguration; }
117 inline bool DecimalPlacesConfigurationHasBeenSet() const { return m_decimalPlacesConfigurationHasBeenSet; }
118 template <typename DecimalPlacesConfigurationT = DecimalPlacesConfiguration>
119 void SetDecimalPlacesConfiguration(DecimalPlacesConfigurationT&& value) {
120 m_decimalPlacesConfigurationHasBeenSet = true;
121 m_decimalPlacesConfiguration = std::forward<DecimalPlacesConfigurationT>(value);
122 }
123 template <typename DecimalPlacesConfigurationT = DecimalPlacesConfiguration>
125 SetDecimalPlacesConfiguration(std::forward<DecimalPlacesConfigurationT>(value));
126 return *this;
127 }
129
131
134 inline NumberScale GetNumberScale() const { return m_numberScale; }
135 inline bool NumberScaleHasBeenSet() const { return m_numberScaleHasBeenSet; }
136 inline void SetNumberScale(NumberScale value) {
137 m_numberScaleHasBeenSet = true;
138 m_numberScale = value;
139 }
141 SetNumberScale(value);
142 return *this;
143 }
145
147
150 inline const NegativeValueConfiguration& GetNegativeValueConfiguration() const { return m_negativeValueConfiguration; }
151 inline bool NegativeValueConfigurationHasBeenSet() const { return m_negativeValueConfigurationHasBeenSet; }
152 template <typename NegativeValueConfigurationT = NegativeValueConfiguration>
153 void SetNegativeValueConfiguration(NegativeValueConfigurationT&& value) {
154 m_negativeValueConfigurationHasBeenSet = true;
155 m_negativeValueConfiguration = std::forward<NegativeValueConfigurationT>(value);
156 }
157 template <typename NegativeValueConfigurationT = NegativeValueConfiguration>
159 SetNegativeValueConfiguration(std::forward<NegativeValueConfigurationT>(value));
160 return *this;
161 }
163
165
168 inline const NullValueFormatConfiguration& GetNullValueFormatConfiguration() const { return m_nullValueFormatConfiguration; }
169 inline bool NullValueFormatConfigurationHasBeenSet() const { return m_nullValueFormatConfigurationHasBeenSet; }
170 template <typename NullValueFormatConfigurationT = NullValueFormatConfiguration>
171 void SetNullValueFormatConfiguration(NullValueFormatConfigurationT&& value) {
172 m_nullValueFormatConfigurationHasBeenSet = true;
173 m_nullValueFormatConfiguration = std::forward<NullValueFormatConfigurationT>(value);
174 }
175 template <typename NullValueFormatConfigurationT = NullValueFormatConfiguration>
177 SetNullValueFormatConfiguration(std::forward<NullValueFormatConfigurationT>(value));
178 return *this;
179 }
181 private:
182 Aws::String m_prefix;
183
184 Aws::String m_suffix;
185
186 NumericSeparatorConfiguration m_separatorConfiguration;
187
188 Aws::String m_symbol;
189
190 DecimalPlacesConfiguration m_decimalPlacesConfiguration;
191
192 NumberScale m_numberScale{NumberScale::NOT_SET};
193
194 NegativeValueConfiguration m_negativeValueConfiguration;
195
196 NullValueFormatConfiguration m_nullValueFormatConfiguration;
197 bool m_prefixHasBeenSet = false;
198 bool m_suffixHasBeenSet = false;
199 bool m_separatorConfigurationHasBeenSet = false;
200 bool m_symbolHasBeenSet = false;
201 bool m_decimalPlacesConfigurationHasBeenSet = false;
202 bool m_numberScaleHasBeenSet = false;
203 bool m_negativeValueConfigurationHasBeenSet = false;
204 bool m_nullValueFormatConfigurationHasBeenSet = false;
205};
206
207} // namespace Model
208} // namespace QuickSight
209} // namespace Aws
CurrencyDisplayFormatConfiguration & WithSeparatorConfiguration(SeparatorConfigurationT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
CurrencyDisplayFormatConfiguration & WithSuffix(SuffixT &&value)
AWS_QUICKSIGHT_API CurrencyDisplayFormatConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CurrencyDisplayFormatConfiguration & WithPrefix(PrefixT &&value)
CurrencyDisplayFormatConfiguration & WithNullValueFormatConfiguration(NullValueFormatConfigurationT &&value)
AWS_QUICKSIGHT_API CurrencyDisplayFormatConfiguration()=default
CurrencyDisplayFormatConfiguration & WithSymbol(SymbolT &&value)
CurrencyDisplayFormatConfiguration & WithDecimalPlacesConfiguration(DecimalPlacesConfigurationT &&value)
CurrencyDisplayFormatConfiguration & WithNumberScale(NumberScale value)
CurrencyDisplayFormatConfiguration & WithNegativeValueConfiguration(NegativeValueConfigurationT &&value)
AWS_QUICKSIGHT_API CurrencyDisplayFormatConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue