AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TopicIRGroupBy.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Identifier.h>
9#include <aws/quicksight/model/TopicTimeGranularity.h>
10#include <aws/quicksight/model/TopicSortClause.h>
11#include <aws/quicksight/model/DisplayFormat.h>
12#include <aws/quicksight/model/DisplayFormatOptions.h>
13#include <aws/quicksight/model/NamedEntityRef.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_QUICKSIGHT_API TopicIRGroupBy();
41 AWS_QUICKSIGHT_API TopicIRGroupBy(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API TopicIRGroupBy& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Identifier& GetFieldName() const{ return m_fieldName; }
51 inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
52 inline void SetFieldName(const Identifier& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; }
53 inline void SetFieldName(Identifier&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); }
54 inline TopicIRGroupBy& WithFieldName(const Identifier& value) { SetFieldName(value); return *this;}
55 inline TopicIRGroupBy& WithFieldName(Identifier&& value) { SetFieldName(std::move(value)); return *this;}
57
59
62 inline const TopicTimeGranularity& GetTimeGranularity() const{ return m_timeGranularity; }
63 inline bool TimeGranularityHasBeenSet() const { return m_timeGranularityHasBeenSet; }
64 inline void SetTimeGranularity(const TopicTimeGranularity& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = value; }
65 inline void SetTimeGranularity(TopicTimeGranularity&& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = std::move(value); }
66 inline TopicIRGroupBy& WithTimeGranularity(const TopicTimeGranularity& value) { SetTimeGranularity(value); return *this;}
67 inline TopicIRGroupBy& WithTimeGranularity(TopicTimeGranularity&& value) { SetTimeGranularity(std::move(value)); return *this;}
69
71
74 inline const TopicSortClause& GetSort() const{ return m_sort; }
75 inline bool SortHasBeenSet() const { return m_sortHasBeenSet; }
76 inline void SetSort(const TopicSortClause& value) { m_sortHasBeenSet = true; m_sort = value; }
77 inline void SetSort(TopicSortClause&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); }
78 inline TopicIRGroupBy& WithSort(const TopicSortClause& value) { SetSort(value); return *this;}
79 inline TopicIRGroupBy& WithSort(TopicSortClause&& value) { SetSort(std::move(value)); return *this;}
81
83
86 inline const DisplayFormat& GetDisplayFormat() const{ return m_displayFormat; }
87 inline bool DisplayFormatHasBeenSet() const { return m_displayFormatHasBeenSet; }
88 inline void SetDisplayFormat(const DisplayFormat& value) { m_displayFormatHasBeenSet = true; m_displayFormat = value; }
89 inline void SetDisplayFormat(DisplayFormat&& value) { m_displayFormatHasBeenSet = true; m_displayFormat = std::move(value); }
90 inline TopicIRGroupBy& WithDisplayFormat(const DisplayFormat& value) { SetDisplayFormat(value); return *this;}
91 inline TopicIRGroupBy& WithDisplayFormat(DisplayFormat&& value) { SetDisplayFormat(std::move(value)); return *this;}
93
95
96 inline const DisplayFormatOptions& GetDisplayFormatOptions() const{ return m_displayFormatOptions; }
97 inline bool DisplayFormatOptionsHasBeenSet() const { return m_displayFormatOptionsHasBeenSet; }
98 inline void SetDisplayFormatOptions(const DisplayFormatOptions& value) { m_displayFormatOptionsHasBeenSet = true; m_displayFormatOptions = value; }
99 inline void SetDisplayFormatOptions(DisplayFormatOptions&& value) { m_displayFormatOptionsHasBeenSet = true; m_displayFormatOptions = std::move(value); }
101 inline TopicIRGroupBy& WithDisplayFormatOptions(DisplayFormatOptions&& value) { SetDisplayFormatOptions(std::move(value)); return *this;}
103
105
108 inline const NamedEntityRef& GetNamedEntity() const{ return m_namedEntity; }
109 inline bool NamedEntityHasBeenSet() const { return m_namedEntityHasBeenSet; }
110 inline void SetNamedEntity(const NamedEntityRef& value) { m_namedEntityHasBeenSet = true; m_namedEntity = value; }
111 inline void SetNamedEntity(NamedEntityRef&& value) { m_namedEntityHasBeenSet = true; m_namedEntity = std::move(value); }
112 inline TopicIRGroupBy& WithNamedEntity(const NamedEntityRef& value) { SetNamedEntity(value); return *this;}
113 inline TopicIRGroupBy& WithNamedEntity(NamedEntityRef&& value) { SetNamedEntity(std::move(value)); return *this;}
115 private:
116
117 Identifier m_fieldName;
118 bool m_fieldNameHasBeenSet = false;
119
120 TopicTimeGranularity m_timeGranularity;
121 bool m_timeGranularityHasBeenSet = false;
122
123 TopicSortClause m_sort;
124 bool m_sortHasBeenSet = false;
125
126 DisplayFormat m_displayFormat;
127 bool m_displayFormatHasBeenSet = false;
128
129 DisplayFormatOptions m_displayFormatOptions;
130 bool m_displayFormatOptionsHasBeenSet = false;
131
132 NamedEntityRef m_namedEntity;
133 bool m_namedEntityHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace QuickSight
138} // namespace Aws
TopicIRGroupBy & WithDisplayFormatOptions(const DisplayFormatOptions &value)
TopicIRGroupBy & WithDisplayFormatOptions(DisplayFormatOptions &&value)
void SetDisplayFormatOptions(DisplayFormatOptions &&value)
TopicIRGroupBy & WithDisplayFormat(DisplayFormat &&value)
void SetSort(TopicSortClause &&value)
void SetFieldName(Identifier &&value)
TopicIRGroupBy & WithFieldName(Identifier &&value)
TopicIRGroupBy & WithNamedEntity(const NamedEntityRef &value)
void SetDisplayFormat(DisplayFormat &&value)
TopicIRGroupBy & WithTimeGranularity(const TopicTimeGranularity &value)
TopicIRGroupBy & WithSort(TopicSortClause &&value)
void SetNamedEntity(const NamedEntityRef &value)
const TopicSortClause & GetSort() const
const TopicTimeGranularity & GetTimeGranularity() const
TopicIRGroupBy & WithFieldName(const Identifier &value)
void SetDisplayFormatOptions(const DisplayFormatOptions &value)
const Identifier & GetFieldName() const
void SetSort(const TopicSortClause &value)
void SetTimeGranularity(TopicTimeGranularity &&value)
void SetNamedEntity(NamedEntityRef &&value)
TopicIRGroupBy & WithDisplayFormat(const DisplayFormat &value)
const DisplayFormat & GetDisplayFormat() const
TopicIRGroupBy & WithNamedEntity(NamedEntityRef &&value)
TopicIRGroupBy & WithTimeGranularity(TopicTimeGranularity &&value)
const NamedEntityRef & GetNamedEntity() const
void SetTimeGranularity(const TopicTimeGranularity &value)
TopicIRGroupBy & WithSort(const TopicSortClause &value)
const DisplayFormatOptions & GetDisplayFormatOptions() const
void SetFieldName(const Identifier &value)
AWS_QUICKSIGHT_API TopicIRGroupBy(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TopicIRGroupBy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDisplayFormat(const DisplayFormat &value)
Aws::Utils::Json::JsonValue JsonValue