AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NumericalMeasureField.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/NumericalAggregationFunction.h>
11#include <aws/quicksight/model/NumberFormatConfiguration.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 NumericalMeasureField();
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 NumericalMeasureField& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
54 inline NumericalMeasureField& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
55 inline NumericalMeasureField& 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 NumericalMeasureField& WithColumn(const ColumnIdentifier& value) { SetColumn(value); return *this;}
67 inline NumericalMeasureField& WithColumn(ColumnIdentifier&& value) { SetColumn(std::move(value)); return *this;}
69
71
74 inline const NumericalAggregationFunction& GetAggregationFunction() const{ return m_aggregationFunction; }
75 inline bool AggregationFunctionHasBeenSet() const { return m_aggregationFunctionHasBeenSet; }
76 inline void SetAggregationFunction(const NumericalAggregationFunction& value) { m_aggregationFunctionHasBeenSet = true; m_aggregationFunction = value; }
77 inline void SetAggregationFunction(NumericalAggregationFunction&& value) { m_aggregationFunctionHasBeenSet = true; m_aggregationFunction = std::move(value); }
81
83
86 inline const NumberFormatConfiguration& GetFormatConfiguration() const{ return m_formatConfiguration; }
87 inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; }
88 inline void SetFormatConfiguration(const NumberFormatConfiguration& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = value; }
89 inline void SetFormatConfiguration(NumberFormatConfiguration&& 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 NumericalAggregationFunction m_aggregationFunction;
102 bool m_aggregationFunctionHasBeenSet = false;
103
104 NumberFormatConfiguration m_formatConfiguration;
105 bool m_formatConfigurationHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace QuickSight
110} // namespace Aws
void SetFormatConfiguration(NumberFormatConfiguration &&value)
const NumberFormatConfiguration & GetFormatConfiguration() const
NumericalMeasureField & WithFormatConfiguration(NumberFormatConfiguration &&value)
AWS_QUICKSIGHT_API NumericalMeasureField & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
NumericalMeasureField & WithColumn(const ColumnIdentifier &value)
NumericalMeasureField & WithAggregationFunction(const NumericalAggregationFunction &value)
const NumericalAggregationFunction & GetAggregationFunction() const
void SetAggregationFunction(const NumericalAggregationFunction &value)
AWS_QUICKSIGHT_API NumericalMeasureField(Aws::Utils::Json::JsonView jsonValue)
NumericalMeasureField & WithAggregationFunction(NumericalAggregationFunction &&value)
void SetFormatConfiguration(const NumberFormatConfiguration &value)
void SetAggregationFunction(NumericalAggregationFunction &&value)
NumericalMeasureField & WithFieldId(Aws::String &&value)
NumericalMeasureField & WithFieldId(const Aws::String &value)
NumericalMeasureField & WithFormatConfiguration(const NumberFormatConfiguration &value)
NumericalMeasureField & WithColumn(ColumnIdentifier &&value)
void SetColumn(const ColumnIdentifier &value)
NumericalMeasureField & WithFieldId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue