AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TotalAggregationComputation.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/MeasureField.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API TotalAggregationComputation() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetComputationId() const { return m_computationId; }
47 inline bool ComputationIdHasBeenSet() const { return m_computationIdHasBeenSet; }
48 template<typename ComputationIdT = Aws::String>
49 void SetComputationId(ComputationIdT&& value) { m_computationIdHasBeenSet = true; m_computationId = std::forward<ComputationIdT>(value); }
50 template<typename ComputationIdT = Aws::String>
51 TotalAggregationComputation& WithComputationId(ComputationIdT&& value) { SetComputationId(std::forward<ComputationIdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 TotalAggregationComputation& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const MeasureField& GetValue() const { return m_value; }
71 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
72 template<typename ValueT = MeasureField>
73 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
74 template<typename ValueT = MeasureField>
75 TotalAggregationComputation& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
77 private:
78
79 Aws::String m_computationId;
80 bool m_computationIdHasBeenSet = false;
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84
85 MeasureField m_value;
86 bool m_valueHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QuickSight
91} // 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