AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TopBottomMoversComputation.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/DimensionField.h>
10#include <aws/quicksight/model/MeasureField.h>
11#include <aws/quicksight/model/TopBottomSortOrder.h>
12#include <aws/quicksight/model/TopBottomComputationType.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 TopBottomMoversComputation() = default;
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetComputationId() const { return m_computationId; }
50 inline bool ComputationIdHasBeenSet() const { return m_computationIdHasBeenSet; }
51 template<typename ComputationIdT = Aws::String>
52 void SetComputationId(ComputationIdT&& value) { m_computationIdHasBeenSet = true; m_computationId = std::forward<ComputationIdT>(value); }
53 template<typename ComputationIdT = Aws::String>
54 TopBottomMoversComputation& WithComputationId(ComputationIdT&& value) { SetComputationId(std::forward<ComputationIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template<typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
65 template<typename NameT = Aws::String>
66 TopBottomMoversComputation& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
68
70
73 inline const DimensionField& GetTime() const { return m_time; }
74 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
75 template<typename TimeT = DimensionField>
76 void SetTime(TimeT&& value) { m_timeHasBeenSet = true; m_time = std::forward<TimeT>(value); }
77 template<typename TimeT = DimensionField>
78 TopBottomMoversComputation& WithTime(TimeT&& value) { SetTime(std::forward<TimeT>(value)); return *this;}
80
82
85 inline const DimensionField& GetCategory() const { return m_category; }
86 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
87 template<typename CategoryT = DimensionField>
88 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
89 template<typename CategoryT = DimensionField>
90 TopBottomMoversComputation& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
92
94
97 inline const MeasureField& GetValue() const { return m_value; }
98 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
99 template<typename ValueT = MeasureField>
100 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
101 template<typename ValueT = MeasureField>
102 TopBottomMoversComputation& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
104
106
109 inline int GetMoverSize() const { return m_moverSize; }
110 inline bool MoverSizeHasBeenSet() const { return m_moverSizeHasBeenSet; }
111 inline void SetMoverSize(int value) { m_moverSizeHasBeenSet = true; m_moverSize = value; }
112 inline TopBottomMoversComputation& WithMoverSize(int value) { SetMoverSize(value); return *this;}
114
116
119 inline TopBottomSortOrder GetSortOrder() const { return m_sortOrder; }
120 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
121 inline void SetSortOrder(TopBottomSortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
124
126
131 inline TopBottomComputationType GetType() const { return m_type; }
132 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
133 inline void SetType(TopBottomComputationType value) { m_typeHasBeenSet = true; m_type = value; }
136 private:
137
138 Aws::String m_computationId;
139 bool m_computationIdHasBeenSet = false;
140
141 Aws::String m_name;
142 bool m_nameHasBeenSet = false;
143
144 DimensionField m_time;
145 bool m_timeHasBeenSet = false;
146
147 DimensionField m_category;
148 bool m_categoryHasBeenSet = false;
149
150 MeasureField m_value;
151 bool m_valueHasBeenSet = false;
152
153 int m_moverSize{0};
154 bool m_moverSizeHasBeenSet = false;
155
157 bool m_sortOrderHasBeenSet = false;
158
160 bool m_typeHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace QuickSight
165} // namespace Aws
TopBottomMoversComputation & WithSortOrder(TopBottomSortOrder value)
TopBottomMoversComputation & WithComputationId(ComputationIdT &&value)
TopBottomMoversComputation & WithTime(TimeT &&value)
TopBottomMoversComputation & WithType(TopBottomComputationType value)
TopBottomMoversComputation & WithCategory(CategoryT &&value)
AWS_QUICKSIGHT_API TopBottomMoversComputation()=default
TopBottomMoversComputation & WithName(NameT &&value)
AWS_QUICKSIGHT_API TopBottomMoversComputation(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopBottomMoversComputation & WithValue(ValueT &&value)
AWS_QUICKSIGHT_API TopBottomMoversComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue