AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisplayFormatOptions.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/TopicNumericSeparatorSymbol.h>
10#include <aws/quicksight/model/NumberScale.h>
11#include <aws/quicksight/model/NegativeFormat.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API DisplayFormatOptions();
39 AWS_QUICKSIGHT_API DisplayFormatOptions(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline bool GetUseBlankCellFormat() const{ return m_useBlankCellFormat; }
49 inline bool UseBlankCellFormatHasBeenSet() const { return m_useBlankCellFormatHasBeenSet; }
50 inline void SetUseBlankCellFormat(bool value) { m_useBlankCellFormatHasBeenSet = true; m_useBlankCellFormat = value; }
51 inline DisplayFormatOptions& WithUseBlankCellFormat(bool value) { SetUseBlankCellFormat(value); return *this;}
53
55
58 inline const Aws::String& GetBlankCellFormat() const{ return m_blankCellFormat; }
59 inline bool BlankCellFormatHasBeenSet() const { return m_blankCellFormatHasBeenSet; }
60 inline void SetBlankCellFormat(const Aws::String& value) { m_blankCellFormatHasBeenSet = true; m_blankCellFormat = value; }
61 inline void SetBlankCellFormat(Aws::String&& value) { m_blankCellFormatHasBeenSet = true; m_blankCellFormat = std::move(value); }
62 inline void SetBlankCellFormat(const char* value) { m_blankCellFormatHasBeenSet = true; m_blankCellFormat.assign(value); }
63 inline DisplayFormatOptions& WithBlankCellFormat(const Aws::String& value) { SetBlankCellFormat(value); return *this;}
64 inline DisplayFormatOptions& WithBlankCellFormat(Aws::String&& value) { SetBlankCellFormat(std::move(value)); return *this;}
65 inline DisplayFormatOptions& WithBlankCellFormat(const char* value) { SetBlankCellFormat(value); return *this;}
67
69
72 inline const Aws::String& GetDateFormat() const{ return m_dateFormat; }
73 inline bool DateFormatHasBeenSet() const { return m_dateFormatHasBeenSet; }
74 inline void SetDateFormat(const Aws::String& value) { m_dateFormatHasBeenSet = true; m_dateFormat = value; }
75 inline void SetDateFormat(Aws::String&& value) { m_dateFormatHasBeenSet = true; m_dateFormat = std::move(value); }
76 inline void SetDateFormat(const char* value) { m_dateFormatHasBeenSet = true; m_dateFormat.assign(value); }
77 inline DisplayFormatOptions& WithDateFormat(const Aws::String& value) { SetDateFormat(value); return *this;}
78 inline DisplayFormatOptions& WithDateFormat(Aws::String&& value) { SetDateFormat(std::move(value)); return *this;}
79 inline DisplayFormatOptions& WithDateFormat(const char* value) { SetDateFormat(value); return *this;}
81
83
86 inline const TopicNumericSeparatorSymbol& GetDecimalSeparator() const{ return m_decimalSeparator; }
87 inline bool DecimalSeparatorHasBeenSet() const { return m_decimalSeparatorHasBeenSet; }
88 inline void SetDecimalSeparator(const TopicNumericSeparatorSymbol& value) { m_decimalSeparatorHasBeenSet = true; m_decimalSeparator = value; }
89 inline void SetDecimalSeparator(TopicNumericSeparatorSymbol&& value) { m_decimalSeparatorHasBeenSet = true; m_decimalSeparator = std::move(value); }
93
95
98 inline const Aws::String& GetGroupingSeparator() const{ return m_groupingSeparator; }
99 inline bool GroupingSeparatorHasBeenSet() const { return m_groupingSeparatorHasBeenSet; }
100 inline void SetGroupingSeparator(const Aws::String& value) { m_groupingSeparatorHasBeenSet = true; m_groupingSeparator = value; }
101 inline void SetGroupingSeparator(Aws::String&& value) { m_groupingSeparatorHasBeenSet = true; m_groupingSeparator = std::move(value); }
102 inline void SetGroupingSeparator(const char* value) { m_groupingSeparatorHasBeenSet = true; m_groupingSeparator.assign(value); }
103 inline DisplayFormatOptions& WithGroupingSeparator(const Aws::String& value) { SetGroupingSeparator(value); return *this;}
104 inline DisplayFormatOptions& WithGroupingSeparator(Aws::String&& value) { SetGroupingSeparator(std::move(value)); return *this;}
105 inline DisplayFormatOptions& WithGroupingSeparator(const char* value) { SetGroupingSeparator(value); return *this;}
107
109
112 inline bool GetUseGrouping() const{ return m_useGrouping; }
113 inline bool UseGroupingHasBeenSet() const { return m_useGroupingHasBeenSet; }
114 inline void SetUseGrouping(bool value) { m_useGroupingHasBeenSet = true; m_useGrouping = value; }
115 inline DisplayFormatOptions& WithUseGrouping(bool value) { SetUseGrouping(value); return *this;}
117
119
122 inline int GetFractionDigits() const{ return m_fractionDigits; }
123 inline bool FractionDigitsHasBeenSet() const { return m_fractionDigitsHasBeenSet; }
124 inline void SetFractionDigits(int value) { m_fractionDigitsHasBeenSet = true; m_fractionDigits = value; }
125 inline DisplayFormatOptions& WithFractionDigits(int value) { SetFractionDigits(value); return *this;}
127
129
132 inline const Aws::String& GetPrefix() const{ return m_prefix; }
133 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
134 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
135 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
136 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
137 inline DisplayFormatOptions& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
138 inline DisplayFormatOptions& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
139 inline DisplayFormatOptions& WithPrefix(const char* value) { SetPrefix(value); return *this;}
141
143
146 inline const Aws::String& GetSuffix() const{ return m_suffix; }
147 inline bool SuffixHasBeenSet() const { return m_suffixHasBeenSet; }
148 inline void SetSuffix(const Aws::String& value) { m_suffixHasBeenSet = true; m_suffix = value; }
149 inline void SetSuffix(Aws::String&& value) { m_suffixHasBeenSet = true; m_suffix = std::move(value); }
150 inline void SetSuffix(const char* value) { m_suffixHasBeenSet = true; m_suffix.assign(value); }
151 inline DisplayFormatOptions& WithSuffix(const Aws::String& value) { SetSuffix(value); return *this;}
152 inline DisplayFormatOptions& WithSuffix(Aws::String&& value) { SetSuffix(std::move(value)); return *this;}
153 inline DisplayFormatOptions& WithSuffix(const char* value) { SetSuffix(value); return *this;}
155
157
162 inline const NumberScale& GetUnitScaler() const{ return m_unitScaler; }
163 inline bool UnitScalerHasBeenSet() const { return m_unitScalerHasBeenSet; }
164 inline void SetUnitScaler(const NumberScale& value) { m_unitScalerHasBeenSet = true; m_unitScaler = value; }
165 inline void SetUnitScaler(NumberScale&& value) { m_unitScalerHasBeenSet = true; m_unitScaler = std::move(value); }
166 inline DisplayFormatOptions& WithUnitScaler(const NumberScale& value) { SetUnitScaler(value); return *this;}
167 inline DisplayFormatOptions& WithUnitScaler(NumberScale&& value) { SetUnitScaler(std::move(value)); return *this;}
169
171
174 inline const NegativeFormat& GetNegativeFormat() const{ return m_negativeFormat; }
175 inline bool NegativeFormatHasBeenSet() const { return m_negativeFormatHasBeenSet; }
176 inline void SetNegativeFormat(const NegativeFormat& value) { m_negativeFormatHasBeenSet = true; m_negativeFormat = value; }
177 inline void SetNegativeFormat(NegativeFormat&& value) { m_negativeFormatHasBeenSet = true; m_negativeFormat = std::move(value); }
178 inline DisplayFormatOptions& WithNegativeFormat(const NegativeFormat& value) { SetNegativeFormat(value); return *this;}
179 inline DisplayFormatOptions& WithNegativeFormat(NegativeFormat&& value) { SetNegativeFormat(std::move(value)); return *this;}
181
183
186 inline const Aws::String& GetCurrencySymbol() const{ return m_currencySymbol; }
187 inline bool CurrencySymbolHasBeenSet() const { return m_currencySymbolHasBeenSet; }
188 inline void SetCurrencySymbol(const Aws::String& value) { m_currencySymbolHasBeenSet = true; m_currencySymbol = value; }
189 inline void SetCurrencySymbol(Aws::String&& value) { m_currencySymbolHasBeenSet = true; m_currencySymbol = std::move(value); }
190 inline void SetCurrencySymbol(const char* value) { m_currencySymbolHasBeenSet = true; m_currencySymbol.assign(value); }
191 inline DisplayFormatOptions& WithCurrencySymbol(const Aws::String& value) { SetCurrencySymbol(value); return *this;}
192 inline DisplayFormatOptions& WithCurrencySymbol(Aws::String&& value) { SetCurrencySymbol(std::move(value)); return *this;}
193 inline DisplayFormatOptions& WithCurrencySymbol(const char* value) { SetCurrencySymbol(value); return *this;}
195 private:
196
197 bool m_useBlankCellFormat;
198 bool m_useBlankCellFormatHasBeenSet = false;
199
200 Aws::String m_blankCellFormat;
201 bool m_blankCellFormatHasBeenSet = false;
202
203 Aws::String m_dateFormat;
204 bool m_dateFormatHasBeenSet = false;
205
206 TopicNumericSeparatorSymbol m_decimalSeparator;
207 bool m_decimalSeparatorHasBeenSet = false;
208
209 Aws::String m_groupingSeparator;
210 bool m_groupingSeparatorHasBeenSet = false;
211
212 bool m_useGrouping;
213 bool m_useGroupingHasBeenSet = false;
214
215 int m_fractionDigits;
216 bool m_fractionDigitsHasBeenSet = false;
217
218 Aws::String m_prefix;
219 bool m_prefixHasBeenSet = false;
220
221 Aws::String m_suffix;
222 bool m_suffixHasBeenSet = false;
223
224 NumberScale m_unitScaler;
225 bool m_unitScalerHasBeenSet = false;
226
227 NegativeFormat m_negativeFormat;
228 bool m_negativeFormatHasBeenSet = false;
229
230 Aws::String m_currencySymbol;
231 bool m_currencySymbolHasBeenSet = false;
232 };
233
234} // namespace Model
235} // namespace QuickSight
236} // namespace Aws
DisplayFormatOptions & WithDateFormat(const Aws::String &value)
DisplayFormatOptions & WithNegativeFormat(const NegativeFormat &value)
DisplayFormatOptions & WithSuffix(Aws::String &&value)
void SetNegativeFormat(const NegativeFormat &value)
DisplayFormatOptions & WithDecimalSeparator(const TopicNumericSeparatorSymbol &value)
DisplayFormatOptions & WithDecimalSeparator(TopicNumericSeparatorSymbol &&value)
DisplayFormatOptions & WithBlankCellFormat(const char *value)
void SetBlankCellFormat(const Aws::String &value)
DisplayFormatOptions & WithGroupingSeparator(const Aws::String &value)
DisplayFormatOptions & WithUseBlankCellFormat(bool value)
DisplayFormatOptions & WithCurrencySymbol(const char *value)
void SetGroupingSeparator(const Aws::String &value)
DisplayFormatOptions & WithSuffix(const Aws::String &value)
DisplayFormatOptions & WithCurrencySymbol(Aws::String &&value)
DisplayFormatOptions & WithUnitScaler(const NumberScale &value)
DisplayFormatOptions & WithUseGrouping(bool value)
DisplayFormatOptions & WithGroupingSeparator(Aws::String &&value)
DisplayFormatOptions & WithGroupingSeparator(const char *value)
DisplayFormatOptions & WithBlankCellFormat(Aws::String &&value)
const TopicNumericSeparatorSymbol & GetDecimalSeparator() const
DisplayFormatOptions & WithFractionDigits(int value)
DisplayFormatOptions & WithBlankCellFormat(const Aws::String &value)
DisplayFormatOptions & WithDateFormat(Aws::String &&value)
DisplayFormatOptions & WithNegativeFormat(NegativeFormat &&value)
DisplayFormatOptions & WithPrefix(const Aws::String &value)
DisplayFormatOptions & WithPrefix(Aws::String &&value)
DisplayFormatOptions & WithPrefix(const char *value)
void SetDecimalSeparator(const TopicNumericSeparatorSymbol &value)
AWS_QUICKSIGHT_API DisplayFormatOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DisplayFormatOptions & WithSuffix(const char *value)
DisplayFormatOptions & WithCurrencySymbol(const Aws::String &value)
void SetDecimalSeparator(TopicNumericSeparatorSymbol &&value)
DisplayFormatOptions & WithUnitScaler(NumberScale &&value)
AWS_QUICKSIGHT_API DisplayFormatOptions(Aws::Utils::Json::JsonView jsonValue)
DisplayFormatOptions & WithDateFormat(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue