AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NumericalDimensionField.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/ColumnIdentifier.h>
10#include <aws/quicksight/model/NumberFormatConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API NumericalDimensionField() = default;
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetFieldId() const { return m_fieldId; }
48 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
49 template<typename FieldIdT = Aws::String>
50 void SetFieldId(FieldIdT&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::forward<FieldIdT>(value); }
51 template<typename FieldIdT = Aws::String>
52 NumericalDimensionField& WithFieldId(FieldIdT&& value) { SetFieldId(std::forward<FieldIdT>(value)); return *this;}
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) { m_columnHasBeenSet = true; m_column = std::forward<ColumnT>(value); }
63 template<typename ColumnT = ColumnIdentifier>
64 NumericalDimensionField& WithColumn(ColumnT&& value) { SetColumn(std::forward<ColumnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetHierarchyId() const { return m_hierarchyId; }
72 inline bool HierarchyIdHasBeenSet() const { return m_hierarchyIdHasBeenSet; }
73 template<typename HierarchyIdT = Aws::String>
74 void SetHierarchyId(HierarchyIdT&& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = std::forward<HierarchyIdT>(value); }
75 template<typename HierarchyIdT = Aws::String>
76 NumericalDimensionField& WithHierarchyId(HierarchyIdT&& value) { SetHierarchyId(std::forward<HierarchyIdT>(value)); return *this;}
78
80
83 inline const NumberFormatConfiguration& GetFormatConfiguration() const { return m_formatConfiguration; }
84 inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; }
85 template<typename FormatConfigurationT = NumberFormatConfiguration>
86 void SetFormatConfiguration(FormatConfigurationT&& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = std::forward<FormatConfigurationT>(value); }
87 template<typename FormatConfigurationT = NumberFormatConfiguration>
88 NumericalDimensionField& WithFormatConfiguration(FormatConfigurationT&& value) { SetFormatConfiguration(std::forward<FormatConfigurationT>(value)); return *this;}
90 private:
91
92 Aws::String m_fieldId;
93 bool m_fieldIdHasBeenSet = false;
94
95 ColumnIdentifier m_column;
96 bool m_columnHasBeenSet = false;
97
98 Aws::String m_hierarchyId;
99 bool m_hierarchyIdHasBeenSet = false;
100
101 NumberFormatConfiguration m_formatConfiguration;
102 bool m_formatConfigurationHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace QuickSight
107} // 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