AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
PeriodOverPeriodComputation.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/DimensionField.h>
10#include <aws/quicksight/model/MeasureField.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API PeriodOverPeriodComputation() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetComputationId() const { return m_computationId; }
42 inline bool ComputationIdHasBeenSet() const { return m_computationIdHasBeenSet; }
43 template <typename ComputationIdT = Aws::String>
44 void SetComputationId(ComputationIdT&& value) {
45 m_computationIdHasBeenSet = true;
46 m_computationId = std::forward<ComputationIdT>(value);
47 }
48 template <typename ComputationIdT = Aws::String>
50 SetComputationId(std::forward<ComputationIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const DimensionField& GetTime() const { return m_time; }
78 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
79 template <typename TimeT = DimensionField>
80 void SetTime(TimeT&& value) {
81 m_timeHasBeenSet = true;
82 m_time = std::forward<TimeT>(value);
83 }
84 template <typename TimeT = DimensionField>
86 SetTime(std::forward<TimeT>(value));
87 return *this;
88 }
90
92
95 inline const MeasureField& GetValue() const { return m_value; }
96 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
97 template <typename ValueT = MeasureField>
98 void SetValue(ValueT&& value) {
99 m_valueHasBeenSet = true;
100 m_value = std::forward<ValueT>(value);
101 }
102 template <typename ValueT = MeasureField>
104 SetValue(std::forward<ValueT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_computationId;
110
111 Aws::String m_name;
112
113 DimensionField m_time;
114
115 MeasureField m_value;
116 bool m_computationIdHasBeenSet = false;
117 bool m_nameHasBeenSet = false;
118 bool m_timeHasBeenSet = false;
119 bool m_valueHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace QuickSight
124} // namespace Aws
AWS_QUICKSIGHT_API PeriodOverPeriodComputation()=default
AWS_QUICKSIGHT_API PeriodOverPeriodComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
PeriodOverPeriodComputation & WithTime(TimeT &&value)
PeriodOverPeriodComputation & WithValue(ValueT &&value)
PeriodOverPeriodComputation & WithName(NameT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API PeriodOverPeriodComputation(Aws::Utils::Json::JsonView jsonValue)
PeriodOverPeriodComputation & WithComputationId(ComputationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue