AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComputationId(const Aws::String& value) { m_computationIdHasBeenSet = true; m_computationId = value; }
52 inline void SetComputationId(Aws::String&& value) { m_computationIdHasBeenSet = true; m_computationId = std::move(value); }
53 inline void SetComputationId(const char* value) { m_computationIdHasBeenSet = true; m_computationId.assign(value); }
54 inline TopBottomMoversComputation& WithComputationId(const Aws::String& value) { SetComputationId(value); return *this;}
55 inline TopBottomMoversComputation& WithComputationId(Aws::String&& value) { SetComputationId(std::move(value)); return *this;}
56 inline TopBottomMoversComputation& WithComputationId(const char* value) { SetComputationId(value); return *this;}
58
60
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline TopBottomMoversComputation& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline TopBottomMoversComputation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline TopBottomMoversComputation& WithName(const char* value) { SetName(value); return *this;}
72
74
77 inline const DimensionField& GetTime() const{ return m_time; }
78 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
79 inline void SetTime(const DimensionField& value) { m_timeHasBeenSet = true; m_time = value; }
80 inline void SetTime(DimensionField&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
81 inline TopBottomMoversComputation& WithTime(const DimensionField& value) { SetTime(value); return *this;}
82 inline TopBottomMoversComputation& WithTime(DimensionField&& value) { SetTime(std::move(value)); return *this;}
84
86
89 inline const DimensionField& GetCategory() const{ return m_category; }
90 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
91 inline void SetCategory(const DimensionField& value) { m_categoryHasBeenSet = true; m_category = value; }
92 inline void SetCategory(DimensionField&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
93 inline TopBottomMoversComputation& WithCategory(const DimensionField& value) { SetCategory(value); return *this;}
94 inline TopBottomMoversComputation& WithCategory(DimensionField&& value) { SetCategory(std::move(value)); return *this;}
96
98
101 inline const MeasureField& GetValue() const{ return m_value; }
102 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
103 inline void SetValue(const MeasureField& value) { m_valueHasBeenSet = true; m_value = value; }
104 inline void SetValue(MeasureField&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
105 inline TopBottomMoversComputation& WithValue(const MeasureField& value) { SetValue(value); return *this;}
106 inline TopBottomMoversComputation& WithValue(MeasureField&& value) { SetValue(std::move(value)); return *this;}
108
110
113 inline int GetMoverSize() const{ return m_moverSize; }
114 inline bool MoverSizeHasBeenSet() const { return m_moverSizeHasBeenSet; }
115 inline void SetMoverSize(int value) { m_moverSizeHasBeenSet = true; m_moverSize = value; }
116 inline TopBottomMoversComputation& WithMoverSize(int value) { SetMoverSize(value); return *this;}
118
120
123 inline const TopBottomSortOrder& GetSortOrder() const{ return m_sortOrder; }
124 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
125 inline void SetSortOrder(const TopBottomSortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
126 inline void SetSortOrder(TopBottomSortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
127 inline TopBottomMoversComputation& WithSortOrder(const TopBottomSortOrder& value) { SetSortOrder(value); return *this;}
128 inline TopBottomMoversComputation& WithSortOrder(TopBottomSortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
130
132
137 inline const TopBottomComputationType& GetType() const{ return m_type; }
138 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
139 inline void SetType(const TopBottomComputationType& value) { m_typeHasBeenSet = true; m_type = value; }
140 inline void SetType(TopBottomComputationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
141 inline TopBottomMoversComputation& WithType(const TopBottomComputationType& value) { SetType(value); return *this;}
142 inline TopBottomMoversComputation& WithType(TopBottomComputationType&& value) { SetType(std::move(value)); return *this;}
144 private:
145
146 Aws::String m_computationId;
147 bool m_computationIdHasBeenSet = false;
148
149 Aws::String m_name;
150 bool m_nameHasBeenSet = false;
151
152 DimensionField m_time;
153 bool m_timeHasBeenSet = false;
154
155 DimensionField m_category;
156 bool m_categoryHasBeenSet = false;
157
158 MeasureField m_value;
159 bool m_valueHasBeenSet = false;
160
161 int m_moverSize;
162 bool m_moverSizeHasBeenSet = false;
163
164 TopBottomSortOrder m_sortOrder;
165 bool m_sortOrderHasBeenSet = false;
166
168 bool m_typeHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace QuickSight
173} // namespace Aws
TopBottomMoversComputation & WithName(Aws::String &&value)
TopBottomMoversComputation & WithComputationId(const Aws::String &value)
TopBottomMoversComputation & WithTime(const DimensionField &value)
TopBottomMoversComputation & WithName(const char *value)
TopBottomMoversComputation & WithCategory(const DimensionField &value)
TopBottomMoversComputation & WithComputationId(const char *value)
TopBottomMoversComputation & WithSortOrder(const TopBottomSortOrder &value)
TopBottomMoversComputation & WithName(const Aws::String &value)
TopBottomMoversComputation & WithValue(const MeasureField &value)
TopBottomMoversComputation & WithType(TopBottomComputationType &&value)
void SetType(const TopBottomComputationType &value)
TopBottomMoversComputation & WithCategory(DimensionField &&value)
TopBottomMoversComputation & WithSortOrder(TopBottomSortOrder &&value)
TopBottomMoversComputation & WithValue(MeasureField &&value)
AWS_QUICKSIGHT_API TopBottomMoversComputation(Aws::Utils::Json::JsonView jsonValue)
TopBottomMoversComputation & WithComputationId(Aws::String &&value)
TopBottomMoversComputation & WithType(const TopBottomComputationType &value)
TopBottomMoversComputation & WithTime(DimensionField &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
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