AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TopicIRComparisonMethod.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ComparisonMethodType.h>
9#include <aws/quicksight/model/TopicTimeGranularity.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API TopicIRComparisonMethod();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ComparisonMethodType& GetType() const{ return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(const ComparisonMethodType& value) { m_typeHasBeenSet = true; m_type = value; }
49 inline void SetType(ComparisonMethodType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
50 inline TopicIRComparisonMethod& WithType(const ComparisonMethodType& value) { SetType(value); return *this;}
51 inline TopicIRComparisonMethod& WithType(ComparisonMethodType&& value) { SetType(std::move(value)); return *this;}
53
55
58 inline const TopicTimeGranularity& GetPeriod() const{ return m_period; }
59 inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
60 inline void SetPeriod(const TopicTimeGranularity& value) { m_periodHasBeenSet = true; m_period = value; }
61 inline void SetPeriod(TopicTimeGranularity&& value) { m_periodHasBeenSet = true; m_period = std::move(value); }
62 inline TopicIRComparisonMethod& WithPeriod(const TopicTimeGranularity& value) { SetPeriod(value); return *this;}
63 inline TopicIRComparisonMethod& WithPeriod(TopicTimeGranularity&& value) { SetPeriod(std::move(value)); return *this;}
65
67
70 inline int GetWindowSize() const{ return m_windowSize; }
71 inline bool WindowSizeHasBeenSet() const { return m_windowSizeHasBeenSet; }
72 inline void SetWindowSize(int value) { m_windowSizeHasBeenSet = true; m_windowSize = value; }
73 inline TopicIRComparisonMethod& WithWindowSize(int value) { SetWindowSize(value); return *this;}
75 private:
76
78 bool m_typeHasBeenSet = false;
79
80 TopicTimeGranularity m_period;
81 bool m_periodHasBeenSet = false;
82
83 int m_windowSize;
84 bool m_windowSizeHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace QuickSight
89} // namespace Aws
TopicIRComparisonMethod & WithPeriod(TopicTimeGranularity &&value)
TopicIRComparisonMethod & WithType(const ComparisonMethodType &value)
void SetPeriod(const TopicTimeGranularity &value)
AWS_QUICKSIGHT_API TopicIRComparisonMethod & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TopicIRComparisonMethod(Aws::Utils::Json::JsonView jsonValue)
void SetType(const ComparisonMethodType &value)
TopicIRComparisonMethod & WithWindowSize(int value)
TopicIRComparisonMethod & WithPeriod(const TopicTimeGranularity &value)
TopicIRComparisonMethod & WithType(ComparisonMethodType &&value)
Aws::Utils::Json::JsonValue JsonValue