AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NumberDisplayFormatConfiguration.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 NumberDisplayFormatConfiguration& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
56 inline NumberDisplayFormatConfiguration& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
57 inline NumberDisplayFormatConfiguration& 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 NumberDisplayFormatConfiguration& WithSuffix(const Aws::String& value) { SetSuffix(value); return *this;}
70 inline NumberDisplayFormatConfiguration& WithSuffix(Aws::String&& value) { SetSuffix(std::move(value)); return *this;}
71 inline NumberDisplayFormatConfiguration& 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 DecimalPlacesConfiguration& GetDecimalPlacesConfiguration() const{ return m_decimalPlacesConfiguration; }
91 inline bool DecimalPlacesConfigurationHasBeenSet() const { return m_decimalPlacesConfigurationHasBeenSet; }
92 inline void SetDecimalPlacesConfiguration(const DecimalPlacesConfiguration& value) { m_decimalPlacesConfigurationHasBeenSet = true; m_decimalPlacesConfiguration = value; }
93 inline void SetDecimalPlacesConfiguration(DecimalPlacesConfiguration&& value) { m_decimalPlacesConfigurationHasBeenSet = true; m_decimalPlacesConfiguration = std::move(value); }
97
99
102 inline const NumberScale& GetNumberScale() const{ return m_numberScale; }
103 inline bool NumberScaleHasBeenSet() const { return m_numberScaleHasBeenSet; }
104 inline void SetNumberScale(const NumberScale& value) { m_numberScaleHasBeenSet = true; m_numberScale = value; }
105 inline void SetNumberScale(NumberScale&& value) { m_numberScaleHasBeenSet = true; m_numberScale = std::move(value); }
106 inline NumberDisplayFormatConfiguration& WithNumberScale(const NumberScale& value) { SetNumberScale(value); return *this;}
107 inline NumberDisplayFormatConfiguration& WithNumberScale(NumberScale&& value) { SetNumberScale(std::move(value)); return *this;}
109
111
114 inline const NegativeValueConfiguration& GetNegativeValueConfiguration() const{ return m_negativeValueConfiguration; }
115 inline bool NegativeValueConfigurationHasBeenSet() const { return m_negativeValueConfigurationHasBeenSet; }
116 inline void SetNegativeValueConfiguration(const NegativeValueConfiguration& value) { m_negativeValueConfigurationHasBeenSet = true; m_negativeValueConfiguration = value; }
117 inline void SetNegativeValueConfiguration(NegativeValueConfiguration&& value) { m_negativeValueConfigurationHasBeenSet = true; m_negativeValueConfiguration = std::move(value); }
121
123
126 inline const NullValueFormatConfiguration& GetNullValueFormatConfiguration() const{ return m_nullValueFormatConfiguration; }
127 inline bool NullValueFormatConfigurationHasBeenSet() const { return m_nullValueFormatConfigurationHasBeenSet; }
128 inline void SetNullValueFormatConfiguration(const NullValueFormatConfiguration& value) { m_nullValueFormatConfigurationHasBeenSet = true; m_nullValueFormatConfiguration = value; }
129 inline void SetNullValueFormatConfiguration(NullValueFormatConfiguration&& value) { m_nullValueFormatConfigurationHasBeenSet = true; m_nullValueFormatConfiguration = std::move(value); }
133 private:
134
135 Aws::String m_prefix;
136 bool m_prefixHasBeenSet = false;
137
138 Aws::String m_suffix;
139 bool m_suffixHasBeenSet = false;
140
141 NumericSeparatorConfiguration m_separatorConfiguration;
142 bool m_separatorConfigurationHasBeenSet = false;
143
144 DecimalPlacesConfiguration m_decimalPlacesConfiguration;
145 bool m_decimalPlacesConfigurationHasBeenSet = false;
146
147 NumberScale m_numberScale;
148 bool m_numberScaleHasBeenSet = false;
149
150 NegativeValueConfiguration m_negativeValueConfiguration;
151 bool m_negativeValueConfigurationHasBeenSet = false;
152
153 NullValueFormatConfiguration m_nullValueFormatConfiguration;
154 bool m_nullValueFormatConfigurationHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace QuickSight
159} // namespace Aws
const NumericSeparatorConfiguration & GetSeparatorConfiguration() const
NumberDisplayFormatConfiguration & WithNumberScale(const NumberScale &value)
NumberDisplayFormatConfiguration & WithSuffix(const char *value)
const DecimalPlacesConfiguration & GetDecimalPlacesConfiguration() const
void SetNullValueFormatConfiguration(NullValueFormatConfiguration &&value)
NumberDisplayFormatConfiguration & WithPrefix(Aws::String &&value)
NumberDisplayFormatConfiguration & WithNegativeValueConfiguration(const NegativeValueConfiguration &value)
NumberDisplayFormatConfiguration & WithNullValueFormatConfiguration(NullValueFormatConfiguration &&value)
NumberDisplayFormatConfiguration & WithPrefix(const char *value)
void SetSeparatorConfiguration(const NumericSeparatorConfiguration &value)
NumberDisplayFormatConfiguration & WithNullValueFormatConfiguration(const NullValueFormatConfiguration &value)
const NullValueFormatConfiguration & GetNullValueFormatConfiguration() const
void SetSeparatorConfiguration(NumericSeparatorConfiguration &&value)
NumberDisplayFormatConfiguration & WithSeparatorConfiguration(const NumericSeparatorConfiguration &value)
NumberDisplayFormatConfiguration & WithSeparatorConfiguration(NumericSeparatorConfiguration &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
NumberDisplayFormatConfiguration & WithDecimalPlacesConfiguration(const DecimalPlacesConfiguration &value)
AWS_QUICKSIGHT_API NumberDisplayFormatConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
NumberDisplayFormatConfiguration & WithSuffix(const Aws::String &value)
NumberDisplayFormatConfiguration & WithPrefix(const Aws::String &value)
NumberDisplayFormatConfiguration & WithDecimalPlacesConfiguration(DecimalPlacesConfiguration &&value)
AWS_QUICKSIGHT_API NumberDisplayFormatConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetNegativeValueConfiguration(const NegativeValueConfiguration &value)
void SetDecimalPlacesConfiguration(const DecimalPlacesConfiguration &value)
NumberDisplayFormatConfiguration & WithNegativeValueConfiguration(NegativeValueConfiguration &&value)
void SetNullValueFormatConfiguration(const NullValueFormatConfiguration &value)
NumberDisplayFormatConfiguration & WithNumberScale(NumberScale &&value)
NumberDisplayFormatConfiguration & WithSuffix(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue