AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CategoricalMeasureField.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/CategoricalAggregationFunction.h>
11#include <aws/quicksight/model/StringFormatConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API CategoricalMeasureField();
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetFieldId() const{ return m_fieldId; }
49 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
50 inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
51 inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }
52 inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }
53 inline CategoricalMeasureField& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
54 inline CategoricalMeasureField& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
55 inline CategoricalMeasureField& WithFieldId(const char* value) { SetFieldId(value); return *this;}
57
59
62 inline const ColumnIdentifier& GetColumn() const{ return m_column; }
63 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
64 inline void SetColumn(const ColumnIdentifier& value) { m_columnHasBeenSet = true; m_column = value; }
65 inline void SetColumn(ColumnIdentifier&& value) { m_columnHasBeenSet = true; m_column = std::move(value); }
66 inline CategoricalMeasureField& WithColumn(const ColumnIdentifier& value) { SetColumn(value); return *this;}
67 inline CategoricalMeasureField& WithColumn(ColumnIdentifier&& value) { SetColumn(std::move(value)); return *this;}
69
71
74 inline const CategoricalAggregationFunction& GetAggregationFunction() const{ return m_aggregationFunction; }
75 inline bool AggregationFunctionHasBeenSet() const { return m_aggregationFunctionHasBeenSet; }
76 inline void SetAggregationFunction(const CategoricalAggregationFunction& value) { m_aggregationFunctionHasBeenSet = true; m_aggregationFunction = value; }
77 inline void SetAggregationFunction(CategoricalAggregationFunction&& value) { m_aggregationFunctionHasBeenSet = true; m_aggregationFunction = std::move(value); }
81
83
86 inline const StringFormatConfiguration& GetFormatConfiguration() const{ return m_formatConfiguration; }
87 inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; }
88 inline void SetFormatConfiguration(const StringFormatConfiguration& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = value; }
89 inline void SetFormatConfiguration(StringFormatConfiguration&& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = std::move(value); }
93 private:
94
95 Aws::String m_fieldId;
96 bool m_fieldIdHasBeenSet = false;
97
98 ColumnIdentifier m_column;
99 bool m_columnHasBeenSet = false;
100
101 CategoricalAggregationFunction m_aggregationFunction;
102 bool m_aggregationFunctionHasBeenSet = false;
103
104 StringFormatConfiguration m_formatConfiguration;
105 bool m_formatConfigurationHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace QuickSight
110} // namespace Aws
CategoricalMeasureField & WithColumn(const ColumnIdentifier &value)
CategoricalMeasureField & WithFormatConfiguration(StringFormatConfiguration &&value)
CategoricalMeasureField & WithFieldId(Aws::String &&value)
void SetFormatConfiguration(StringFormatConfiguration &&value)
CategoricalMeasureField & WithFieldId(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
CategoricalMeasureField & WithAggregationFunction(CategoricalAggregationFunction &&value)
void SetFormatConfiguration(const StringFormatConfiguration &value)
CategoricalMeasureField & WithFormatConfiguration(const StringFormatConfiguration &value)
void SetAggregationFunction(const CategoricalAggregationFunction &value)
const CategoricalAggregationFunction & GetAggregationFunction() const
const StringFormatConfiguration & GetFormatConfiguration() const
void SetAggregationFunction(CategoricalAggregationFunction &&value)
CategoricalMeasureField & WithColumn(ColumnIdentifier &&value)
AWS_QUICKSIGHT_API CategoricalMeasureField & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API CategoricalMeasureField(Aws::Utils::Json::JsonView jsonValue)
CategoricalMeasureField & WithAggregationFunction(const CategoricalAggregationFunction &value)
CategoricalMeasureField & WithFieldId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue