AWS SDK for C++

AWS SDK for C++ Version 1.11.760

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API TopicIRComparisonMethod() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline ComparisonMethodType GetType() const { return m_type; }
41 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
42 inline void SetType(ComparisonMethodType value) {
43 m_typeHasBeenSet = true;
44 m_type = value;
45 }
47 SetType(value);
48 return *this;
49 }
51
53
56 inline TopicTimeGranularity GetPeriod() const { return m_period; }
57 inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
58 inline void SetPeriod(TopicTimeGranularity value) {
59 m_periodHasBeenSet = true;
60 m_period = value;
61 }
63 SetPeriod(value);
64 return *this;
65 }
67
69
72 inline int GetWindowSize() const { return m_windowSize; }
73 inline bool WindowSizeHasBeenSet() const { return m_windowSizeHasBeenSet; }
74 inline void SetWindowSize(int value) {
75 m_windowSizeHasBeenSet = true;
76 m_windowSize = value;
77 }
79 SetWindowSize(value);
80 return *this;
81 }
83 private:
85
87
88 int m_windowSize{0};
89 bool m_typeHasBeenSet = false;
90 bool m_periodHasBeenSet = false;
91 bool m_windowSizeHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace QuickSight
96} // namespace Aws
AWS_QUICKSIGHT_API TopicIRComparisonMethod()=default
AWS_QUICKSIGHT_API TopicIRComparisonMethod & operator=(Aws::Utils::Json::JsonView jsonValue)
TopicIRComparisonMethod & WithPeriod(TopicTimeGranularity value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TopicIRComparisonMethod(Aws::Utils::Json::JsonView jsonValue)
TopicIRComparisonMethod & WithType(ComparisonMethodType value)
TopicIRComparisonMethod & WithWindowSize(int value)
Aws::Utils::Json::JsonValue JsonValue