AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TotalAggregationComputation.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/MeasureField.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API TotalAggregationComputation() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetComputationId() const { return m_computationId; }
41 inline bool ComputationIdHasBeenSet() const { return m_computationIdHasBeenSet; }
42 template <typename ComputationIdT = Aws::String>
43 void SetComputationId(ComputationIdT&& value) {
44 m_computationIdHasBeenSet = true;
45 m_computationId = std::forward<ComputationIdT>(value);
46 }
47 template <typename ComputationIdT = Aws::String>
49 SetComputationId(std::forward<ComputationIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const MeasureField& GetValue() const { return m_value; }
77 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
78 template <typename ValueT = MeasureField>
79 void SetValue(ValueT&& value) {
80 m_valueHasBeenSet = true;
81 m_value = std::forward<ValueT>(value);
82 }
83 template <typename ValueT = MeasureField>
85 SetValue(std::forward<ValueT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_computationId;
91
92 Aws::String m_name;
93
94 MeasureField m_value;
95 bool m_computationIdHasBeenSet = false;
96 bool m_nameHasBeenSet = false;
97 bool m_valueHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace QuickSight
102} // namespace Aws
AWS_QUICKSIGHT_API TotalAggregationComputation(Aws::Utils::Json::JsonView jsonValue)
TotalAggregationComputation & WithName(NameT &&value)
TotalAggregationComputation & WithValue(ValueT &&value)
AWS_QUICKSIGHT_API TotalAggregationComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
TotalAggregationComputation & WithComputationId(ComputationIdT &&value)
AWS_QUICKSIGHT_API TotalAggregationComputation()=default
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