AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DateMeasureField.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/DateAggregationFunction.h>
11#include <aws/quicksight/model/DateTimeFormatConfiguration.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
35 {
36 public:
37 AWS_QUICKSIGHT_API DateMeasureField();
38 AWS_QUICKSIGHT_API DateMeasureField(Aws::Utils::Json::JsonView jsonValue);
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 DateMeasureField& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
53 inline DateMeasureField& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
54 inline DateMeasureField& 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 DateMeasureField& WithColumn(const ColumnIdentifier& value) { SetColumn(value); return *this;}
66 inline DateMeasureField& WithColumn(ColumnIdentifier&& value) { SetColumn(std::move(value)); return *this;}
68
70
73 inline const DateAggregationFunction& GetAggregationFunction() const{ return m_aggregationFunction; }
74 inline bool AggregationFunctionHasBeenSet() const { return m_aggregationFunctionHasBeenSet; }
75 inline void SetAggregationFunction(const DateAggregationFunction& value) { m_aggregationFunctionHasBeenSet = true; m_aggregationFunction = value; }
76 inline void SetAggregationFunction(DateAggregationFunction&& value) { m_aggregationFunctionHasBeenSet = true; m_aggregationFunction = std::move(value); }
80
82
85 inline const DateTimeFormatConfiguration& GetFormatConfiguration() const{ return m_formatConfiguration; }
86 inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; }
87 inline void SetFormatConfiguration(const DateTimeFormatConfiguration& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = value; }
88 inline void SetFormatConfiguration(DateTimeFormatConfiguration&& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = std::move(value); }
92 private:
93
94 Aws::String m_fieldId;
95 bool m_fieldIdHasBeenSet = false;
96
97 ColumnIdentifier m_column;
98 bool m_columnHasBeenSet = false;
99
100 DateAggregationFunction m_aggregationFunction;
101 bool m_aggregationFunctionHasBeenSet = false;
102
103 DateTimeFormatConfiguration m_formatConfiguration;
104 bool m_formatConfigurationHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace QuickSight
109} // namespace Aws
const ColumnIdentifier & GetColumn() const
DateMeasureField & WithColumn(ColumnIdentifier &&value)
DateMeasureField & WithColumn(const ColumnIdentifier &value)
AWS_QUICKSIGHT_API DateMeasureField(Aws::Utils::Json::JsonView jsonValue)
DateMeasureField & WithAggregationFunction(DateAggregationFunction &&value)
void SetAggregationFunction(DateAggregationFunction &&value)
const DateTimeFormatConfiguration & GetFormatConfiguration() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DateMeasureField & operator=(Aws::Utils::Json::JsonView jsonValue)
DateMeasureField & WithFieldId(Aws::String &&value)
DateMeasureField & WithFormatConfiguration(const DateTimeFormatConfiguration &value)
const DateAggregationFunction & GetAggregationFunction() const
DateMeasureField & WithFormatConfiguration(DateTimeFormatConfiguration &&value)
DateMeasureField & WithFieldId(const Aws::String &value)
void SetFormatConfiguration(const DateTimeFormatConfiguration &value)
void SetAggregationFunction(const DateAggregationFunction &value)
const Aws::String & GetFieldId() const
void SetFormatConfiguration(DateTimeFormatConfiguration &&value)
void SetFieldId(const Aws::String &value)
DateMeasureField & WithFieldId(const char *value)
DateMeasureField & WithAggregationFunction(const DateAggregationFunction &value)
void SetColumn(ColumnIdentifier &&value)
void SetColumn(const ColumnIdentifier &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue