AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MaximumMinimumComputation.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/MaximumMinimumComputationType.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 MaximumMinimumComputation();
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 MaximumMinimumComputation& WithComputationId(const Aws::String& value) { SetComputationId(value); return *this;}
54 inline MaximumMinimumComputation& WithComputationId(Aws::String&& value) { SetComputationId(std::move(value)); return *this;}
55 inline MaximumMinimumComputation& 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 MaximumMinimumComputation& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline MaximumMinimumComputation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline MaximumMinimumComputation& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const DimensionField& GetTime() const{ return m_time; }
77 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
78 inline void SetTime(const DimensionField& value) { m_timeHasBeenSet = true; m_time = value; }
79 inline void SetTime(DimensionField&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
80 inline MaximumMinimumComputation& WithTime(const DimensionField& value) { SetTime(value); return *this;}
81 inline MaximumMinimumComputation& WithTime(DimensionField&& value) { SetTime(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 MaximumMinimumComputation& WithValue(const MeasureField& value) { SetValue(value); return *this;}
93 inline MaximumMinimumComputation& WithValue(MeasureField&& value) { SetValue(std::move(value)); return *this;}
95
97
102 inline const MaximumMinimumComputationType& GetType() const{ return m_type; }
103 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
104 inline void SetType(const MaximumMinimumComputationType& value) { m_typeHasBeenSet = true; m_type = value; }
105 inline void SetType(MaximumMinimumComputationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
106 inline MaximumMinimumComputation& WithType(const MaximumMinimumComputationType& value) { SetType(value); return *this;}
107 inline MaximumMinimumComputation& WithType(MaximumMinimumComputationType&& value) { SetType(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_computationId;
112 bool m_computationIdHasBeenSet = false;
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 DimensionField m_time;
118 bool m_timeHasBeenSet = false;
119
120 MeasureField m_value;
121 bool m_valueHasBeenSet = false;
122
124 bool m_typeHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace QuickSight
129} // namespace Aws
AWS_QUICKSIGHT_API MaximumMinimumComputation(Aws::Utils::Json::JsonView jsonValue)
MaximumMinimumComputation & WithTime(DimensionField &&value)
void SetType(MaximumMinimumComputationType &&value)
MaximumMinimumComputation & WithComputationId(Aws::String &&value)
MaximumMinimumComputation & WithTime(const DimensionField &value)
MaximumMinimumComputation & WithName(Aws::String &&value)
MaximumMinimumComputation & WithValue(const MeasureField &value)
MaximumMinimumComputation & WithComputationId(const Aws::String &value)
AWS_QUICKSIGHT_API MaximumMinimumComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
MaximumMinimumComputation & WithType(const MaximumMinimumComputationType &value)
MaximumMinimumComputation & WithName(const Aws::String &value)
MaximumMinimumComputation & WithComputationId(const char *value)
MaximumMinimumComputation & WithValue(MeasureField &&value)
MaximumMinimumComputation & WithType(MaximumMinimumComputationType &&value)
void SetType(const MaximumMinimumComputationType &value)
const MaximumMinimumComputationType & GetType() const
MaximumMinimumComputation & WithName(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue