AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
StringFormatConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/NullValueFormatConfiguration.h>
9#include <aws/quicksight/model/NumericFormatConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
29 public:
30 AWS_QUICKSIGHT_API StringFormatConfiguration() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const NullValueFormatConfiguration& GetNullValueFormatConfiguration() const { return m_nullValueFormatConfiguration; }
40 inline bool NullValueFormatConfigurationHasBeenSet() const { return m_nullValueFormatConfigurationHasBeenSet; }
41 template <typename NullValueFormatConfigurationT = NullValueFormatConfiguration>
42 void SetNullValueFormatConfiguration(NullValueFormatConfigurationT&& value) {
43 m_nullValueFormatConfigurationHasBeenSet = true;
44 m_nullValueFormatConfiguration = std::forward<NullValueFormatConfigurationT>(value);
45 }
46 template <typename NullValueFormatConfigurationT = NullValueFormatConfiguration>
47 StringFormatConfiguration& WithNullValueFormatConfiguration(NullValueFormatConfigurationT&& value) {
48 SetNullValueFormatConfiguration(std::forward<NullValueFormatConfigurationT>(value));
49 return *this;
50 }
52
54
57 inline const NumericFormatConfiguration& GetNumericFormatConfiguration() const { return m_numericFormatConfiguration; }
58 inline bool NumericFormatConfigurationHasBeenSet() const { return m_numericFormatConfigurationHasBeenSet; }
59 template <typename NumericFormatConfigurationT = NumericFormatConfiguration>
60 void SetNumericFormatConfiguration(NumericFormatConfigurationT&& value) {
61 m_numericFormatConfigurationHasBeenSet = true;
62 m_numericFormatConfiguration = std::forward<NumericFormatConfigurationT>(value);
63 }
64 template <typename NumericFormatConfigurationT = NumericFormatConfiguration>
65 StringFormatConfiguration& WithNumericFormatConfiguration(NumericFormatConfigurationT&& value) {
66 SetNumericFormatConfiguration(std::forward<NumericFormatConfigurationT>(value));
67 return *this;
68 }
70 private:
71 NullValueFormatConfiguration m_nullValueFormatConfiguration;
72
73 NumericFormatConfiguration m_numericFormatConfiguration;
74 bool m_nullValueFormatConfigurationHasBeenSet = false;
75 bool m_numericFormatConfigurationHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace QuickSight
80} // namespace Aws
AWS_QUICKSIGHT_API StringFormatConfiguration()=default
const NumericFormatConfiguration & GetNumericFormatConfiguration() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
StringFormatConfiguration & WithNullValueFormatConfiguration(NullValueFormatConfigurationT &&value)
StringFormatConfiguration & WithNumericFormatConfiguration(NumericFormatConfigurationT &&value)
void SetNumericFormatConfiguration(NumericFormatConfigurationT &&value)
AWS_QUICKSIGHT_API StringFormatConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API StringFormatConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetNullValueFormatConfiguration(NullValueFormatConfigurationT &&value)
const NullValueFormatConfiguration & GetNullValueFormatConfiguration() const
Aws::Utils::Json::JsonValue JsonValue