AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
TopBottomRankedComputation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/DimensionField.h>
10#include <aws/quicksight/model/MeasureField.h>
11#include <aws/quicksight/model/TopBottomComputationType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
32 public:
33 AWS_QUICKSIGHT_API TopBottomRankedComputation() = default;
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetComputationId() const { return m_computationId; }
43 inline bool ComputationIdHasBeenSet() const { return m_computationIdHasBeenSet; }
44 template <typename ComputationIdT = Aws::String>
45 void SetComputationId(ComputationIdT&& value) {
46 m_computationIdHasBeenSet = true;
47 m_computationId = std::forward<ComputationIdT>(value);
48 }
49 template <typename ComputationIdT = Aws::String>
51 SetComputationId(std::forward<ComputationIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73
75
78 inline const DimensionField& GetCategory() const { return m_category; }
79 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
80 template <typename CategoryT = DimensionField>
81 void SetCategory(CategoryT&& value) {
82 m_categoryHasBeenSet = true;
83 m_category = std::forward<CategoryT>(value);
84 }
85 template <typename CategoryT = DimensionField>
87 SetCategory(std::forward<CategoryT>(value));
88 return *this;
89 }
91
93
96 inline const MeasureField& GetValue() const { return m_value; }
97 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
98 template <typename ValueT = MeasureField>
99 void SetValue(ValueT&& value) {
100 m_valueHasBeenSet = true;
101 m_value = std::forward<ValueT>(value);
102 }
103 template <typename ValueT = MeasureField>
105 SetValue(std::forward<ValueT>(value));
106 return *this;
107 }
109
111
114 inline int GetResultSize() const { return m_resultSize; }
115 inline bool ResultSizeHasBeenSet() const { return m_resultSizeHasBeenSet; }
116 inline void SetResultSize(int value) {
117 m_resultSizeHasBeenSet = true;
118 m_resultSize = value;
119 }
121 SetResultSize(value);
122 return *this;
123 }
125
127
132 inline TopBottomComputationType GetType() const { return m_type; }
133 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
135 m_typeHasBeenSet = true;
136 m_type = value;
137 }
139 SetType(value);
140 return *this;
141 }
143 private:
144 Aws::String m_computationId;
145
146 Aws::String m_name;
147
148 DimensionField m_category;
149
150 MeasureField m_value;
151
152 int m_resultSize{0};
153
155 bool m_computationIdHasBeenSet = false;
156 bool m_nameHasBeenSet = false;
157 bool m_categoryHasBeenSet = false;
158 bool m_valueHasBeenSet = false;
159 bool m_resultSizeHasBeenSet = false;
160 bool m_typeHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace QuickSight
165} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopBottomRankedComputation & WithComputationId(ComputationIdT &&value)
TopBottomRankedComputation & WithValue(ValueT &&value)
AWS_QUICKSIGHT_API TopBottomRankedComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
TopBottomRankedComputation & WithName(NameT &&value)
TopBottomRankedComputation & WithType(TopBottomComputationType value)
TopBottomRankedComputation & WithCategory(CategoryT &&value)
AWS_QUICKSIGHT_API TopBottomRankedComputation()=default
AWS_QUICKSIGHT_API TopBottomRankedComputation(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue