AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComputationId(const Aws::String& value) { m_computationIdHasBeenSet = true; m_computationId = value; }
51 inline void SetComputationId(Aws::String&& value) { m_computationIdHasBeenSet = true; m_computationId = std::move(value); }
52 inline void SetComputationId(const char* value) { m_computationIdHasBeenSet = true; m_computationId.assign(value); }
53 inline TopBottomRankedComputation& WithComputationId(const Aws::String& value) { SetComputationId(value); return *this;}
54 inline TopBottomRankedComputation& WithComputationId(Aws::String&& value) { SetComputationId(std::move(value)); return *this;}
55 inline TopBottomRankedComputation& WithComputationId(const char* value) { SetComputationId(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline TopBottomRankedComputation& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline TopBottomRankedComputation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline TopBottomRankedComputation& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const DimensionField& GetCategory() const{ return m_category; }
77 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
78 inline void SetCategory(const DimensionField& value) { m_categoryHasBeenSet = true; m_category = value; }
79 inline void SetCategory(DimensionField&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
80 inline TopBottomRankedComputation& WithCategory(const DimensionField& value) { SetCategory(value); return *this;}
81 inline TopBottomRankedComputation& WithCategory(DimensionField&& value) { SetCategory(std::move(value)); return *this;}
83
85
88 inline const MeasureField& GetValue() const{ return m_value; }
89 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
90 inline void SetValue(const MeasureField& value) { m_valueHasBeenSet = true; m_value = value; }
91 inline void SetValue(MeasureField&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
92 inline TopBottomRankedComputation& WithValue(const MeasureField& value) { SetValue(value); return *this;}
93 inline TopBottomRankedComputation& WithValue(MeasureField&& value) { SetValue(std::move(value)); return *this;}
95
97
100 inline int GetResultSize() const{ return m_resultSize; }
101 inline bool ResultSizeHasBeenSet() const { return m_resultSizeHasBeenSet; }
102 inline void SetResultSize(int value) { m_resultSizeHasBeenSet = true; m_resultSize = value; }
103 inline TopBottomRankedComputation& WithResultSize(int value) { SetResultSize(value); return *this;}
105
107
112 inline const TopBottomComputationType& GetType() const{ return m_type; }
113 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
114 inline void SetType(const TopBottomComputationType& value) { m_typeHasBeenSet = true; m_type = value; }
115 inline void SetType(TopBottomComputationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
116 inline TopBottomRankedComputation& WithType(const TopBottomComputationType& value) { SetType(value); return *this;}
117 inline TopBottomRankedComputation& WithType(TopBottomComputationType&& value) { SetType(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_computationId;
122 bool m_computationIdHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 DimensionField m_category;
128 bool m_categoryHasBeenSet = false;
129
130 MeasureField m_value;
131 bool m_valueHasBeenSet = false;
132
133 int m_resultSize;
134 bool m_resultSizeHasBeenSet = false;
135
137 bool m_typeHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace QuickSight
142} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(const TopBottomComputationType &value)
TopBottomRankedComputation & WithName(const char *value)
TopBottomRankedComputation & WithValue(const MeasureField &value)
TopBottomRankedComputation & WithCategory(const DimensionField &value)
TopBottomRankedComputation & WithCategory(DimensionField &&value)
AWS_QUICKSIGHT_API TopBottomRankedComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
TopBottomRankedComputation & WithComputationId(Aws::String &&value)
TopBottomRankedComputation & WithComputationId(const Aws::String &value)
TopBottomRankedComputation & WithName(Aws::String &&value)
TopBottomRankedComputation & WithName(const Aws::String &value)
TopBottomRankedComputation & WithType(TopBottomComputationType &&value)
TopBottomRankedComputation & WithComputationId(const char *value)
TopBottomRankedComputation & WithType(const TopBottomComputationType &value)
AWS_QUICKSIGHT_API TopBottomRankedComputation(Aws::Utils::Json::JsonView jsonValue)
TopBottomRankedComputation & WithValue(MeasureField &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue