AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TopicIRContributionAnalysis.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/ContributionAnalysisTimeRanges.h>
10#include <aws/quicksight/model/ContributionAnalysisDirection.h>
11#include <aws/quicksight/model/ContributionAnalysisSortType.h>
12#include <aws/quicksight/model/ContributionAnalysisFactor.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_QUICKSIGHT_API TopicIRContributionAnalysis();
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<ContributionAnalysisFactor>& GetFactors() const{ return m_factors; }
50 inline bool FactorsHasBeenSet() const { return m_factorsHasBeenSet; }
51 inline void SetFactors(const Aws::Vector<ContributionAnalysisFactor>& value) { m_factorsHasBeenSet = true; m_factors = value; }
52 inline void SetFactors(Aws::Vector<ContributionAnalysisFactor>&& value) { m_factorsHasBeenSet = true; m_factors = std::move(value); }
55 inline TopicIRContributionAnalysis& AddFactors(const ContributionAnalysisFactor& value) { m_factorsHasBeenSet = true; m_factors.push_back(value); return *this; }
56 inline TopicIRContributionAnalysis& AddFactors(ContributionAnalysisFactor&& value) { m_factorsHasBeenSet = true; m_factors.push_back(std::move(value)); return *this; }
58
60
63 inline const ContributionAnalysisTimeRanges& GetTimeRanges() const{ return m_timeRanges; }
64 inline bool TimeRangesHasBeenSet() const { return m_timeRangesHasBeenSet; }
65 inline void SetTimeRanges(const ContributionAnalysisTimeRanges& value) { m_timeRangesHasBeenSet = true; m_timeRanges = value; }
66 inline void SetTimeRanges(ContributionAnalysisTimeRanges&& value) { m_timeRangesHasBeenSet = true; m_timeRanges = std::move(value); }
70
72
75 inline const ContributionAnalysisDirection& GetDirection() const{ return m_direction; }
76 inline bool DirectionHasBeenSet() const { return m_directionHasBeenSet; }
77 inline void SetDirection(const ContributionAnalysisDirection& value) { m_directionHasBeenSet = true; m_direction = value; }
78 inline void SetDirection(ContributionAnalysisDirection&& value) { m_directionHasBeenSet = true; m_direction = std::move(value); }
80 inline TopicIRContributionAnalysis& WithDirection(ContributionAnalysisDirection&& value) { SetDirection(std::move(value)); return *this;}
82
84
87 inline const ContributionAnalysisSortType& GetSortType() const{ return m_sortType; }
88 inline bool SortTypeHasBeenSet() const { return m_sortTypeHasBeenSet; }
89 inline void SetSortType(const ContributionAnalysisSortType& value) { m_sortTypeHasBeenSet = true; m_sortType = value; }
90 inline void SetSortType(ContributionAnalysisSortType&& value) { m_sortTypeHasBeenSet = true; m_sortType = std::move(value); }
92 inline TopicIRContributionAnalysis& WithSortType(ContributionAnalysisSortType&& value) { SetSortType(std::move(value)); return *this;}
94 private:
95
97 bool m_factorsHasBeenSet = false;
98
100 bool m_timeRangesHasBeenSet = false;
101
103 bool m_directionHasBeenSet = false;
104
106 bool m_sortTypeHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace QuickSight
111} // namespace Aws
void SetSortType(ContributionAnalysisSortType &&value)
const ContributionAnalysisTimeRanges & GetTimeRanges() const
void SetTimeRanges(const ContributionAnalysisTimeRanges &value)
const ContributionAnalysisSortType & GetSortType() const
TopicIRContributionAnalysis & WithFactors(Aws::Vector< ContributionAnalysisFactor > &&value)
TopicIRContributionAnalysis & WithDirection(const ContributionAnalysisDirection &value)
TopicIRContributionAnalysis & WithFactors(const Aws::Vector< ContributionAnalysisFactor > &value)
const ContributionAnalysisDirection & GetDirection() const
TopicIRContributionAnalysis & WithSortType(ContributionAnalysisSortType &&value)
void SetTimeRanges(ContributionAnalysisTimeRanges &&value)
TopicIRContributionAnalysis & WithDirection(ContributionAnalysisDirection &&value)
void SetFactors(Aws::Vector< ContributionAnalysisFactor > &&value)
const Aws::Vector< ContributionAnalysisFactor > & GetFactors() const
TopicIRContributionAnalysis & WithSortType(const ContributionAnalysisSortType &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TopicIRContributionAnalysis(Aws::Utils::Json::JsonView jsonValue)
TopicIRContributionAnalysis & WithTimeRanges(const ContributionAnalysisTimeRanges &value)
void SetDirection(ContributionAnalysisDirection &&value)
TopicIRContributionAnalysis & AddFactors(ContributionAnalysisFactor &&value)
void SetFactors(const Aws::Vector< ContributionAnalysisFactor > &value)
void SetDirection(const ContributionAnalysisDirection &value)
TopicIRContributionAnalysis & AddFactors(const ContributionAnalysisFactor &value)
TopicIRContributionAnalysis & WithTimeRanges(ContributionAnalysisTimeRanges &&value)
AWS_QUICKSIGHT_API TopicIRContributionAnalysis & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSortType(const ContributionAnalysisSortType &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue