AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
53 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
54 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
55 inline CurrencyDisplayFormatConfiguration& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
56 inline CurrencyDisplayFormatConfiguration& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
57 inline CurrencyDisplayFormatConfiguration& WithPrefix(const char* value) { SetPrefix(value); return *this;}
59
61
64 inline const Aws::String& GetSuffix() const{ return m_suffix; }
65 inline bool SuffixHasBeenSet() const { return m_suffixHasBeenSet; }
66 inline void SetSuffix(const Aws::String& value) { m_suffixHasBeenSet = true; m_suffix = value; }
67 inline void SetSuffix(Aws::String&& value) { m_suffixHasBeenSet = true; m_suffix = std::move(value); }
68 inline void SetSuffix(const char* value) { m_suffixHasBeenSet = true; m_suffix.assign(value); }
69 inline CurrencyDisplayFormatConfiguration& WithSuffix(const Aws::String& value) { SetSuffix(value); return *this;}
70 inline CurrencyDisplayFormatConfiguration& WithSuffix(Aws::String&& value) { SetSuffix(std::move(value)); return *this;}
71 inline CurrencyDisplayFormatConfiguration& WithSuffix(const char* value) { SetSuffix(value); return *this;}
73
75
78 inline const NumericSeparatorConfiguration& GetSeparatorConfiguration() const{ return m_separatorConfiguration; }
79 inline bool SeparatorConfigurationHasBeenSet() const { return m_separatorConfigurationHasBeenSet; }
80 inline void SetSeparatorConfiguration(const NumericSeparatorConfiguration& value) { m_separatorConfigurationHasBeenSet = true; m_separatorConfiguration = value; }
81 inline void SetSeparatorConfiguration(NumericSeparatorConfiguration&& value) { m_separatorConfigurationHasBeenSet = true; m_separatorConfiguration = std::move(value); }
85
87
90 inline const Aws::String& GetSymbol() const{ return m_symbol; }
91 inline bool SymbolHasBeenSet() const { return m_symbolHasBeenSet; }
92 inline void SetSymbol(const Aws::String& value) { m_symbolHasBeenSet = true; m_symbol = value; }
93 inline void SetSymbol(Aws::String&& value) { m_symbolHasBeenSet = true; m_symbol = std::move(value); }
94 inline void SetSymbol(const char* value) { m_symbolHasBeenSet = true; m_symbol.assign(value); }
95 inline CurrencyDisplayFormatConfiguration& WithSymbol(const Aws::String& value) { SetSymbol(value); return *this;}
96 inline CurrencyDisplayFormatConfiguration& WithSymbol(Aws::String&& value) { SetSymbol(std::move(value)); return *this;}
97 inline CurrencyDisplayFormatConfiguration& WithSymbol(const char* value) { SetSymbol(value); return *this;}
99
101
104 inline const DecimalPlacesConfiguration& GetDecimalPlacesConfiguration() const{ return m_decimalPlacesConfiguration; }
105 inline bool DecimalPlacesConfigurationHasBeenSet() const { return m_decimalPlacesConfigurationHasBeenSet; }
106 inline void SetDecimalPlacesConfiguration(const DecimalPlacesConfiguration& value) { m_decimalPlacesConfigurationHasBeenSet = true; m_decimalPlacesConfiguration = value; }
107 inline void SetDecimalPlacesConfiguration(DecimalPlacesConfiguration&& value) { m_decimalPlacesConfigurationHasBeenSet = true; m_decimalPlacesConfiguration = std::move(value); }
111
113
116 inline const NumberScale& GetNumberScale() const{ return m_numberScale; }
117 inline bool NumberScaleHasBeenSet() const { return m_numberScaleHasBeenSet; }
118 inline void SetNumberScale(const NumberScale& value) { m_numberScaleHasBeenSet = true; m_numberScale = value; }
119 inline void SetNumberScale(NumberScale&& value) { m_numberScaleHasBeenSet = true; m_numberScale = std::move(value); }
121 inline CurrencyDisplayFormatConfiguration& WithNumberScale(NumberScale&& value) { SetNumberScale(std::move(value)); return *this;}
123
125
128 inline const NegativeValueConfiguration& GetNegativeValueConfiguration() const{ return m_negativeValueConfiguration; }
129 inline bool NegativeValueConfigurationHasBeenSet() const { return m_negativeValueConfigurationHasBeenSet; }
130 inline void SetNegativeValueConfiguration(const NegativeValueConfiguration& value) { m_negativeValueConfigurationHasBeenSet = true; m_negativeValueConfiguration = value; }
131 inline void SetNegativeValueConfiguration(NegativeValueConfiguration&& value) { m_negativeValueConfigurationHasBeenSet = true; m_negativeValueConfiguration = std::move(value); }
135
137
140 inline const NullValueFormatConfiguration& GetNullValueFormatConfiguration() const{ return m_nullValueFormatConfiguration; }
141 inline bool NullValueFormatConfigurationHasBeenSet() const { return m_nullValueFormatConfigurationHasBeenSet; }
142 inline void SetNullValueFormatConfiguration(const NullValueFormatConfiguration& value) { m_nullValueFormatConfigurationHasBeenSet = true; m_nullValueFormatConfiguration = value; }
143 inline void SetNullValueFormatConfiguration(NullValueFormatConfiguration&& value) { m_nullValueFormatConfigurationHasBeenSet = true; m_nullValueFormatConfiguration = std::move(value); }
147 private:
148
149 Aws::String m_prefix;
150 bool m_prefixHasBeenSet = false;
151
152 Aws::String m_suffix;
153 bool m_suffixHasBeenSet = false;
154
155 NumericSeparatorConfiguration m_separatorConfiguration;
156 bool m_separatorConfigurationHasBeenSet = false;
157
158 Aws::String m_symbol;
159 bool m_symbolHasBeenSet = false;
160
161 DecimalPlacesConfiguration m_decimalPlacesConfiguration;
162 bool m_decimalPlacesConfigurationHasBeenSet = false;
163
164 NumberScale m_numberScale;
165 bool m_numberScaleHasBeenSet = false;
166
167 NegativeValueConfiguration m_negativeValueConfiguration;
168 bool m_negativeValueConfigurationHasBeenSet = false;
169
170 NullValueFormatConfiguration m_nullValueFormatConfiguration;
171 bool m_nullValueFormatConfigurationHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace QuickSight
176} // namespace Aws
CurrencyDisplayFormatConfiguration & WithSymbol(const char *value)
CurrencyDisplayFormatConfiguration & WithNegativeValueConfiguration(const NegativeValueConfiguration &value)
CurrencyDisplayFormatConfiguration & WithNullValueFormatConfiguration(NullValueFormatConfiguration &&value)
void SetDecimalPlacesConfiguration(const DecimalPlacesConfiguration &value)
CurrencyDisplayFormatConfiguration & WithSuffix(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSeparatorConfiguration(const NumericSeparatorConfiguration &value)
CurrencyDisplayFormatConfiguration & WithPrefix(const char *value)
CurrencyDisplayFormatConfiguration & WithSymbol(Aws::String &&value)
AWS_QUICKSIGHT_API CurrencyDisplayFormatConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CurrencyDisplayFormatConfiguration & WithSymbol(const Aws::String &value)
void SetNullValueFormatConfiguration(const NullValueFormatConfiguration &value)
CurrencyDisplayFormatConfiguration & WithPrefix(Aws::String &&value)
CurrencyDisplayFormatConfiguration & WithNumberScale(const NumberScale &value)
CurrencyDisplayFormatConfiguration & WithSuffix(Aws::String &&value)
CurrencyDisplayFormatConfiguration & WithNumberScale(NumberScale &&value)
CurrencyDisplayFormatConfiguration & WithSeparatorConfiguration(const NumericSeparatorConfiguration &value)
CurrencyDisplayFormatConfiguration & WithPrefix(const Aws::String &value)
CurrencyDisplayFormatConfiguration & WithSeparatorConfiguration(NumericSeparatorConfiguration &&value)
CurrencyDisplayFormatConfiguration & WithNullValueFormatConfiguration(const NullValueFormatConfiguration &value)
CurrencyDisplayFormatConfiguration & WithDecimalPlacesConfiguration(const DecimalPlacesConfiguration &value)
void SetNegativeValueConfiguration(const NegativeValueConfiguration &value)
CurrencyDisplayFormatConfiguration & WithNegativeValueConfiguration(NegativeValueConfiguration &&value)
CurrencyDisplayFormatConfiguration & WithDecimalPlacesConfiguration(DecimalPlacesConfiguration &&value)
AWS_QUICKSIGHT_API CurrencyDisplayFormatConfiguration(Aws::Utils::Json::JsonView jsonValue)
CurrencyDisplayFormatConfiguration & WithSuffix(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue