AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TopicIR.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/TopicSortClause.h>
10#include <aws/quicksight/model/TopicIRContributionAnalysis.h>
11#include <aws/quicksight/model/VisualOptions.h>
12#include <aws/quicksight/model/TopicIRMetric.h>
13#include <aws/quicksight/model/TopicIRGroupBy.h>
14#include <aws/quicksight/model/TopicIRFilterOption.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight
28{
29namespace Model
30{
31
37 class TopicIR
38 {
39 public:
40 AWS_QUICKSIGHT_API TopicIR();
41 AWS_QUICKSIGHT_API TopicIR(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API TopicIR& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::Vector<TopicIRMetric>& GetMetrics() const{ return m_metrics; }
51 inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
52 inline void SetMetrics(const Aws::Vector<TopicIRMetric>& value) { m_metricsHasBeenSet = true; m_metrics = value; }
53 inline void SetMetrics(Aws::Vector<TopicIRMetric>&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); }
54 inline TopicIR& WithMetrics(const Aws::Vector<TopicIRMetric>& value) { SetMetrics(value); return *this;}
55 inline TopicIR& WithMetrics(Aws::Vector<TopicIRMetric>&& value) { SetMetrics(std::move(value)); return *this;}
56 inline TopicIR& AddMetrics(const TopicIRMetric& value) { m_metricsHasBeenSet = true; m_metrics.push_back(value); return *this; }
57 inline TopicIR& AddMetrics(TopicIRMetric&& value) { m_metricsHasBeenSet = true; m_metrics.push_back(std::move(value)); return *this; }
59
61
64 inline const Aws::Vector<TopicIRGroupBy>& GetGroupByList() const{ return m_groupByList; }
65 inline bool GroupByListHasBeenSet() const { return m_groupByListHasBeenSet; }
66 inline void SetGroupByList(const Aws::Vector<TopicIRGroupBy>& value) { m_groupByListHasBeenSet = true; m_groupByList = value; }
67 inline void SetGroupByList(Aws::Vector<TopicIRGroupBy>&& value) { m_groupByListHasBeenSet = true; m_groupByList = std::move(value); }
68 inline TopicIR& WithGroupByList(const Aws::Vector<TopicIRGroupBy>& value) { SetGroupByList(value); return *this;}
69 inline TopicIR& WithGroupByList(Aws::Vector<TopicIRGroupBy>&& value) { SetGroupByList(std::move(value)); return *this;}
70 inline TopicIR& AddGroupByList(const TopicIRGroupBy& value) { m_groupByListHasBeenSet = true; m_groupByList.push_back(value); return *this; }
71 inline TopicIR& AddGroupByList(TopicIRGroupBy&& value) { m_groupByListHasBeenSet = true; m_groupByList.push_back(std::move(value)); return *this; }
73
75
78 inline const Aws::Vector<Aws::Vector<TopicIRFilterOption>>& GetFilters() const{ return m_filters; }
79 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
80 inline void SetFilters(const Aws::Vector<Aws::Vector<TopicIRFilterOption>>& value) { m_filtersHasBeenSet = true; m_filters = value; }
81 inline void SetFilters(Aws::Vector<Aws::Vector<TopicIRFilterOption>>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
82 inline TopicIR& WithFilters(const Aws::Vector<Aws::Vector<TopicIRFilterOption>>& value) { SetFilters(value); return *this;}
83 inline TopicIR& WithFilters(Aws::Vector<Aws::Vector<TopicIRFilterOption>>&& value) { SetFilters(std::move(value)); return *this;}
84 inline TopicIR& AddFilters(const Aws::Vector<TopicIRFilterOption>& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
85 inline TopicIR& AddFilters(Aws::Vector<TopicIRFilterOption>&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
87
89
92 inline const TopicSortClause& GetSort() const{ return m_sort; }
93 inline bool SortHasBeenSet() const { return m_sortHasBeenSet; }
94 inline void SetSort(const TopicSortClause& value) { m_sortHasBeenSet = true; m_sort = value; }
95 inline void SetSort(TopicSortClause&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); }
96 inline TopicIR& WithSort(const TopicSortClause& value) { SetSort(value); return *this;}
97 inline TopicIR& WithSort(TopicSortClause&& value) { SetSort(std::move(value)); return *this;}
99
101
104 inline const TopicIRContributionAnalysis& GetContributionAnalysis() const{ return m_contributionAnalysis; }
105 inline bool ContributionAnalysisHasBeenSet() const { return m_contributionAnalysisHasBeenSet; }
106 inline void SetContributionAnalysis(const TopicIRContributionAnalysis& value) { m_contributionAnalysisHasBeenSet = true; m_contributionAnalysis = value; }
107 inline void SetContributionAnalysis(TopicIRContributionAnalysis&& value) { m_contributionAnalysisHasBeenSet = true; m_contributionAnalysis = std::move(value); }
109 inline TopicIR& WithContributionAnalysis(TopicIRContributionAnalysis&& value) { SetContributionAnalysis(std::move(value)); return *this;}
111
113
116 inline const VisualOptions& GetVisual() const{ return m_visual; }
117 inline bool VisualHasBeenSet() const { return m_visualHasBeenSet; }
118 inline void SetVisual(const VisualOptions& value) { m_visualHasBeenSet = true; m_visual = value; }
119 inline void SetVisual(VisualOptions&& value) { m_visualHasBeenSet = true; m_visual = std::move(value); }
120 inline TopicIR& WithVisual(const VisualOptions& value) { SetVisual(value); return *this;}
121 inline TopicIR& WithVisual(VisualOptions&& value) { SetVisual(std::move(value)); return *this;}
123 private:
124
126 bool m_metricsHasBeenSet = false;
127
128 Aws::Vector<TopicIRGroupBy> m_groupByList;
129 bool m_groupByListHasBeenSet = false;
130
132 bool m_filtersHasBeenSet = false;
133
134 TopicSortClause m_sort;
135 bool m_sortHasBeenSet = false;
136
137 TopicIRContributionAnalysis m_contributionAnalysis;
138 bool m_contributionAnalysisHasBeenSet = false;
139
140 VisualOptions m_visual;
141 bool m_visualHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace QuickSight
146} // namespace Aws
TopicIR & WithContributionAnalysis(TopicIRContributionAnalysis &&value)
Definition TopicIR.h:109
TopicIR & AddMetrics(TopicIRMetric &&value)
Definition TopicIR.h:57
void SetVisual(const VisualOptions &value)
Definition TopicIR.h:118
TopicIR & WithGroupByList(Aws::Vector< TopicIRGroupBy > &&value)
Definition TopicIR.h:69
const TopicIRContributionAnalysis & GetContributionAnalysis() const
Definition TopicIR.h:104
const TopicSortClause & GetSort() const
Definition TopicIR.h:92
TopicIR & WithMetrics(Aws::Vector< TopicIRMetric > &&value)
Definition TopicIR.h:55
AWS_QUICKSIGHT_API TopicIR()
TopicIR & WithMetrics(const Aws::Vector< TopicIRMetric > &value)
Definition TopicIR.h:54
TopicIR & AddMetrics(const TopicIRMetric &value)
Definition TopicIR.h:56
void SetMetrics(const Aws::Vector< TopicIRMetric > &value)
Definition TopicIR.h:52
void SetGroupByList(Aws::Vector< TopicIRGroupBy > &&value)
Definition TopicIR.h:67
TopicIR & WithContributionAnalysis(const TopicIRContributionAnalysis &value)
Definition TopicIR.h:108
void SetFilters(Aws::Vector< Aws::Vector< TopicIRFilterOption > > &&value)
Definition TopicIR.h:81
void SetSort(TopicSortClause &&value)
Definition TopicIR.h:95
TopicIR & WithSort(TopicSortClause &&value)
Definition TopicIR.h:97
void SetContributionAnalysis(TopicIRContributionAnalysis &&value)
Definition TopicIR.h:107
AWS_QUICKSIGHT_API TopicIR(Aws::Utils::Json::JsonView jsonValue)
void SetMetrics(Aws::Vector< TopicIRMetric > &&value)
Definition TopicIR.h:53
void SetContributionAnalysis(const TopicIRContributionAnalysis &value)
Definition TopicIR.h:106
void SetSort(const TopicSortClause &value)
Definition TopicIR.h:94
TopicIR & WithVisual(const VisualOptions &value)
Definition TopicIR.h:120
TopicIR & WithFilters(const Aws::Vector< Aws::Vector< TopicIRFilterOption > > &value)
Definition TopicIR.h:82
const Aws::Vector< TopicIRMetric > & GetMetrics() const
Definition TopicIR.h:50
AWS_QUICKSIGHT_API TopicIR & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GroupByListHasBeenSet() const
Definition TopicIR.h:65
TopicIR & WithFilters(Aws::Vector< Aws::Vector< TopicIRFilterOption > > &&value)
Definition TopicIR.h:83
const Aws::Vector< Aws::Vector< TopicIRFilterOption > > & GetFilters() const
Definition TopicIR.h:78
TopicIR & AddFilters(Aws::Vector< TopicIRFilterOption > &&value)
Definition TopicIR.h:85
void SetGroupByList(const Aws::Vector< TopicIRGroupBy > &value)
Definition TopicIR.h:66
const VisualOptions & GetVisual() const
Definition TopicIR.h:116
TopicIR & AddGroupByList(const TopicIRGroupBy &value)
Definition TopicIR.h:70
const Aws::Vector< TopicIRGroupBy > & GetGroupByList() const
Definition TopicIR.h:64
TopicIR & WithVisual(VisualOptions &&value)
Definition TopicIR.h:121
void SetVisual(VisualOptions &&value)
Definition TopicIR.h:119
TopicIR & AddFilters(const Aws::Vector< TopicIRFilterOption > &value)
Definition TopicIR.h:84
TopicIR & AddGroupByList(TopicIRGroupBy &&value)
Definition TopicIR.h:71
TopicIR & WithGroupByList(const Aws::Vector< TopicIRGroupBy > &value)
Definition TopicIR.h:68
bool ContributionAnalysisHasBeenSet() const
Definition TopicIR.h:105
TopicIR & WithSort(const TopicSortClause &value)
Definition TopicIR.h:96
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFilters(const Aws::Vector< Aws::Vector< TopicIRFilterOption > > &value)
Definition TopicIR.h:80
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue