AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TopBottomRankedComputation.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/TopBottomComputationType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API TopBottomRankedComputation() = default;
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetComputationId() const { return m_computationId; }
49 inline bool ComputationIdHasBeenSet() const { return m_computationIdHasBeenSet; }
50 template<typename ComputationIdT = Aws::String>
51 void SetComputationId(ComputationIdT&& value) { m_computationIdHasBeenSet = true; m_computationId = std::forward<ComputationIdT>(value); }
52 template<typename ComputationIdT = Aws::String>
53 TopBottomRankedComputation& WithComputationId(ComputationIdT&& value) { SetComputationId(std::forward<ComputationIdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
64 template<typename NameT = Aws::String>
65 TopBottomRankedComputation& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
67
69
72 inline const DimensionField& GetCategory() const { return m_category; }
73 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
74 template<typename CategoryT = DimensionField>
75 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
76 template<typename CategoryT = DimensionField>
77 TopBottomRankedComputation& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
79
81
84 inline const MeasureField& GetValue() const { return m_value; }
85 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
86 template<typename ValueT = MeasureField>
87 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
88 template<typename ValueT = MeasureField>
89 TopBottomRankedComputation& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
91
93
96 inline int GetResultSize() const { return m_resultSize; }
97 inline bool ResultSizeHasBeenSet() const { return m_resultSizeHasBeenSet; }
98 inline void SetResultSize(int value) { m_resultSizeHasBeenSet = true; m_resultSize = value; }
99 inline TopBottomRankedComputation& WithResultSize(int value) { SetResultSize(value); return *this;}
101
103
108 inline TopBottomComputationType GetType() const { return m_type; }
109 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
110 inline void SetType(TopBottomComputationType value) { m_typeHasBeenSet = true; m_type = value; }
113 private:
114
115 Aws::String m_computationId;
116 bool m_computationIdHasBeenSet = false;
117
118 Aws::String m_name;
119 bool m_nameHasBeenSet = false;
120
121 DimensionField m_category;
122 bool m_categoryHasBeenSet = false;
123
124 MeasureField m_value;
125 bool m_valueHasBeenSet = false;
126
127 int m_resultSize{0};
128 bool m_resultSizeHasBeenSet = false;
129
131 bool m_typeHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace QuickSight
136} // 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
TopBottomRankedComputation & WithResultSize(int value)
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