AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CurrencyDisplayFormatConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/NumericSeparatorConfiguration.h>
10#include <aws/quicksight/model/DecimalPlacesConfiguration.h>
11#include <aws/quicksight/model/NumberScale.h>
12#include <aws/quicksight/model/NegativeValueConfiguration.h>
13#include <aws/quicksight/model/NullValueFormatConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_QUICKSIGHT_API CurrencyDisplayFormatConfiguration() = default;
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetPrefix() const { return m_prefix; }
51 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
52 template<typename PrefixT = Aws::String>
53 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
54 template<typename PrefixT = Aws::String>
55 CurrencyDisplayFormatConfiguration& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
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) { m_suffixHasBeenSet = true; m_suffix = std::forward<SuffixT>(value); }
66 template<typename SuffixT = Aws::String>
67 CurrencyDisplayFormatConfiguration& WithSuffix(SuffixT&& value) { SetSuffix(std::forward<SuffixT>(value)); return *this;}
69
71
74 inline const NumericSeparatorConfiguration& GetSeparatorConfiguration() const { return m_separatorConfiguration; }
75 inline bool SeparatorConfigurationHasBeenSet() const { return m_separatorConfigurationHasBeenSet; }
76 template<typename SeparatorConfigurationT = NumericSeparatorConfiguration>
77 void SetSeparatorConfiguration(SeparatorConfigurationT&& value) { m_separatorConfigurationHasBeenSet = true; m_separatorConfiguration = std::forward<SeparatorConfigurationT>(value); }
78 template<typename SeparatorConfigurationT = NumericSeparatorConfiguration>
79 CurrencyDisplayFormatConfiguration& WithSeparatorConfiguration(SeparatorConfigurationT&& value) { SetSeparatorConfiguration(std::forward<SeparatorConfigurationT>(value)); return *this;}
81
83
86 inline const Aws::String& GetSymbol() const { return m_symbol; }
87 inline bool SymbolHasBeenSet() const { return m_symbolHasBeenSet; }
88 template<typename SymbolT = Aws::String>
89 void SetSymbol(SymbolT&& value) { m_symbolHasBeenSet = true; m_symbol = std::forward<SymbolT>(value); }
90 template<typename SymbolT = Aws::String>
91 CurrencyDisplayFormatConfiguration& WithSymbol(SymbolT&& value) { SetSymbol(std::forward<SymbolT>(value)); return *this;}
93
95
98 inline const DecimalPlacesConfiguration& GetDecimalPlacesConfiguration() const { return m_decimalPlacesConfiguration; }
99 inline bool DecimalPlacesConfigurationHasBeenSet() const { return m_decimalPlacesConfigurationHasBeenSet; }
100 template<typename DecimalPlacesConfigurationT = DecimalPlacesConfiguration>
101 void SetDecimalPlacesConfiguration(DecimalPlacesConfigurationT&& value) { m_decimalPlacesConfigurationHasBeenSet = true; m_decimalPlacesConfiguration = std::forward<DecimalPlacesConfigurationT>(value); }
102 template<typename DecimalPlacesConfigurationT = DecimalPlacesConfiguration>
103 CurrencyDisplayFormatConfiguration& WithDecimalPlacesConfiguration(DecimalPlacesConfigurationT&& value) { SetDecimalPlacesConfiguration(std::forward<DecimalPlacesConfigurationT>(value)); return *this;}
105
107
110 inline NumberScale GetNumberScale() const { return m_numberScale; }
111 inline bool NumberScaleHasBeenSet() const { return m_numberScaleHasBeenSet; }
112 inline void SetNumberScale(NumberScale value) { m_numberScaleHasBeenSet = true; m_numberScale = value; }
115
117
120 inline const NegativeValueConfiguration& GetNegativeValueConfiguration() const { return m_negativeValueConfiguration; }
121 inline bool NegativeValueConfigurationHasBeenSet() const { return m_negativeValueConfigurationHasBeenSet; }
122 template<typename NegativeValueConfigurationT = NegativeValueConfiguration>
123 void SetNegativeValueConfiguration(NegativeValueConfigurationT&& value) { m_negativeValueConfigurationHasBeenSet = true; m_negativeValueConfiguration = std::forward<NegativeValueConfigurationT>(value); }
124 template<typename NegativeValueConfigurationT = NegativeValueConfiguration>
125 CurrencyDisplayFormatConfiguration& WithNegativeValueConfiguration(NegativeValueConfigurationT&& value) { SetNegativeValueConfiguration(std::forward<NegativeValueConfigurationT>(value)); return *this;}
127
129
132 inline const NullValueFormatConfiguration& GetNullValueFormatConfiguration() const { return m_nullValueFormatConfiguration; }
133 inline bool NullValueFormatConfigurationHasBeenSet() const { return m_nullValueFormatConfigurationHasBeenSet; }
134 template<typename NullValueFormatConfigurationT = NullValueFormatConfiguration>
135 void SetNullValueFormatConfiguration(NullValueFormatConfigurationT&& value) { m_nullValueFormatConfigurationHasBeenSet = true; m_nullValueFormatConfiguration = std::forward<NullValueFormatConfigurationT>(value); }
136 template<typename NullValueFormatConfigurationT = NullValueFormatConfiguration>
137 CurrencyDisplayFormatConfiguration& WithNullValueFormatConfiguration(NullValueFormatConfigurationT&& value) { SetNullValueFormatConfiguration(std::forward<NullValueFormatConfigurationT>(value)); return *this;}
139 private:
140
141 Aws::String m_prefix;
142 bool m_prefixHasBeenSet = false;
143
144 Aws::String m_suffix;
145 bool m_suffixHasBeenSet = false;
146
147 NumericSeparatorConfiguration m_separatorConfiguration;
148 bool m_separatorConfigurationHasBeenSet = false;
149
150 Aws::String m_symbol;
151 bool m_symbolHasBeenSet = false;
152
153 DecimalPlacesConfiguration m_decimalPlacesConfiguration;
154 bool m_decimalPlacesConfigurationHasBeenSet = false;
155
156 NumberScale m_numberScale{NumberScale::NOT_SET};
157 bool m_numberScaleHasBeenSet = false;
158
159 NegativeValueConfiguration m_negativeValueConfiguration;
160 bool m_negativeValueConfigurationHasBeenSet = false;
161
162 NullValueFormatConfiguration m_nullValueFormatConfiguration;
163 bool m_nullValueFormatConfigurationHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace QuickSight
168} // 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