AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CategoricalDimensionField.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/StringFormatConfiguration.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 CategoricalDimensionField();
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 inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
50 inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }
51 inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }
52 inline CategoricalDimensionField& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
53 inline CategoricalDimensionField& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
54 inline CategoricalDimensionField& WithFieldId(const char* value) { SetFieldId(value); return *this;}
56
58
61 inline const ColumnIdentifier& GetColumn() const{ return m_column; }
62 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
63 inline void SetColumn(const ColumnIdentifier& value) { m_columnHasBeenSet = true; m_column = value; }
64 inline void SetColumn(ColumnIdentifier&& value) { m_columnHasBeenSet = true; m_column = std::move(value); }
65 inline CategoricalDimensionField& WithColumn(const ColumnIdentifier& value) { SetColumn(value); return *this;}
66 inline CategoricalDimensionField& WithColumn(ColumnIdentifier&& value) { SetColumn(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetHierarchyId() const{ return m_hierarchyId; }
74 inline bool HierarchyIdHasBeenSet() const { return m_hierarchyIdHasBeenSet; }
75 inline void SetHierarchyId(const Aws::String& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = value; }
76 inline void SetHierarchyId(Aws::String&& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = std::move(value); }
77 inline void SetHierarchyId(const char* value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId.assign(value); }
78 inline CategoricalDimensionField& WithHierarchyId(const Aws::String& value) { SetHierarchyId(value); return *this;}
79 inline CategoricalDimensionField& WithHierarchyId(Aws::String&& value) { SetHierarchyId(std::move(value)); return *this;}
80 inline CategoricalDimensionField& WithHierarchyId(const char* value) { SetHierarchyId(value); return *this;}
82
84
87 inline const StringFormatConfiguration& GetFormatConfiguration() const{ return m_formatConfiguration; }
88 inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; }
89 inline void SetFormatConfiguration(const StringFormatConfiguration& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = value; }
90 inline void SetFormatConfiguration(StringFormatConfiguration&& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = std::move(value); }
94 private:
95
96 Aws::String m_fieldId;
97 bool m_fieldIdHasBeenSet = false;
98
99 ColumnIdentifier m_column;
100 bool m_columnHasBeenSet = false;
101
102 Aws::String m_hierarchyId;
103 bool m_hierarchyIdHasBeenSet = false;
104
105 StringFormatConfiguration m_formatConfiguration;
106 bool m_formatConfigurationHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace QuickSight
111} // namespace Aws
CategoricalDimensionField & WithFieldId(const Aws::String &value)
CategoricalDimensionField & WithFormatConfiguration(StringFormatConfiguration &&value)
CategoricalDimensionField & WithHierarchyId(const char *value)
CategoricalDimensionField & WithHierarchyId(Aws::String &&value)
CategoricalDimensionField & WithHierarchyId(const Aws::String &value)
AWS_QUICKSIGHT_API CategoricalDimensionField & operator=(Aws::Utils::Json::JsonView jsonValue)
const StringFormatConfiguration & GetFormatConfiguration() const
CategoricalDimensionField & WithFormatConfiguration(const StringFormatConfiguration &value)
CategoricalDimensionField & WithFieldId(const char *value)
CategoricalDimensionField & WithFieldId(Aws::String &&value)
void SetFormatConfiguration(const StringFormatConfiguration &value)
CategoricalDimensionField & WithColumn(const ColumnIdentifier &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
CategoricalDimensionField & WithColumn(ColumnIdentifier &&value)
void SetFormatConfiguration(StringFormatConfiguration &&value)
AWS_QUICKSIGHT_API CategoricalDimensionField(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue