AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
NumericalDimensionField.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/ColumnIdentifier.h>
10#include <aws/quicksight/model/NumberFormatConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API NumericalDimensionField() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetFieldId() const { return m_fieldId; }
42 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
43 template <typename FieldIdT = Aws::String>
44 void SetFieldId(FieldIdT&& value) {
45 m_fieldIdHasBeenSet = true;
46 m_fieldId = std::forward<FieldIdT>(value);
47 }
48 template <typename FieldIdT = Aws::String>
50 SetFieldId(std::forward<FieldIdT>(value));
51 return *this;
52 }
54
56
59 inline const ColumnIdentifier& GetColumn() const { return m_column; }
60 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
61 template <typename ColumnT = ColumnIdentifier>
62 void SetColumn(ColumnT&& value) {
63 m_columnHasBeenSet = true;
64 m_column = std::forward<ColumnT>(value);
65 }
66 template <typename ColumnT = ColumnIdentifier>
68 SetColumn(std::forward<ColumnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetHierarchyId() const { return m_hierarchyId; }
78 inline bool HierarchyIdHasBeenSet() const { return m_hierarchyIdHasBeenSet; }
79 template <typename HierarchyIdT = Aws::String>
80 void SetHierarchyId(HierarchyIdT&& value) {
81 m_hierarchyIdHasBeenSet = true;
82 m_hierarchyId = std::forward<HierarchyIdT>(value);
83 }
84 template <typename HierarchyIdT = Aws::String>
86 SetHierarchyId(std::forward<HierarchyIdT>(value));
87 return *this;
88 }
90
92
95 inline const NumberFormatConfiguration& GetFormatConfiguration() const { return m_formatConfiguration; }
96 inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; }
97 template <typename FormatConfigurationT = NumberFormatConfiguration>
98 void SetFormatConfiguration(FormatConfigurationT&& value) {
99 m_formatConfigurationHasBeenSet = true;
100 m_formatConfiguration = std::forward<FormatConfigurationT>(value);
101 }
102 template <typename FormatConfigurationT = NumberFormatConfiguration>
103 NumericalDimensionField& WithFormatConfiguration(FormatConfigurationT&& value) {
104 SetFormatConfiguration(std::forward<FormatConfigurationT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_fieldId;
110
111 ColumnIdentifier m_column;
112
113 Aws::String m_hierarchyId;
114
115 NumberFormatConfiguration m_formatConfiguration;
116 bool m_fieldIdHasBeenSet = false;
117 bool m_columnHasBeenSet = false;
118 bool m_hierarchyIdHasBeenSet = false;
119 bool m_formatConfigurationHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace QuickSight
124} // namespace Aws
NumericalDimensionField & WithFormatConfiguration(FormatConfigurationT &&value)
NumericalDimensionField & WithHierarchyId(HierarchyIdT &&value)
const NumberFormatConfiguration & GetFormatConfiguration() const
AWS_QUICKSIGHT_API NumericalDimensionField()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API NumericalDimensionField & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFormatConfiguration(FormatConfigurationT &&value)
NumericalDimensionField & WithColumn(ColumnT &&value)
NumericalDimensionField & WithFieldId(FieldIdT &&value)
AWS_QUICKSIGHT_API NumericalDimensionField(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue