AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API StringFormatConfiguration() = default;
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const NullValueFormatConfiguration& GetNullValueFormatConfiguration() const { return m_nullValueFormatConfiguration; }
46 inline bool NullValueFormatConfigurationHasBeenSet() const { return m_nullValueFormatConfigurationHasBeenSet; }
47 template<typename NullValueFormatConfigurationT = NullValueFormatConfiguration>
48 void SetNullValueFormatConfiguration(NullValueFormatConfigurationT&& value) { m_nullValueFormatConfigurationHasBeenSet = true; m_nullValueFormatConfiguration = std::forward<NullValueFormatConfigurationT>(value); }
49 template<typename NullValueFormatConfigurationT = NullValueFormatConfiguration>
50 StringFormatConfiguration& WithNullValueFormatConfiguration(NullValueFormatConfigurationT&& value) { SetNullValueFormatConfiguration(std::forward<NullValueFormatConfigurationT>(value)); return *this;}
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) { m_numericFormatConfigurationHasBeenSet = true; m_numericFormatConfiguration = std::forward<NumericFormatConfigurationT>(value); }
61 template<typename NumericFormatConfigurationT = NumericFormatConfiguration>
62 StringFormatConfiguration& WithNumericFormatConfiguration(NumericFormatConfigurationT&& value) { SetNumericFormatConfiguration(std::forward<NumericFormatConfigurationT>(value)); return *this;}
64 private:
65
66 NullValueFormatConfiguration m_nullValueFormatConfiguration;
67 bool m_nullValueFormatConfigurationHasBeenSet = false;
68
69 NumericFormatConfiguration m_numericFormatConfiguration;
70 bool m_numericFormatConfigurationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace QuickSight
75} // 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