AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PeriodOverPeriodComputation.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API PeriodOverPeriodComputation() = default;
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetComputationId() const { return m_computationId; }
48 inline bool ComputationIdHasBeenSet() const { return m_computationIdHasBeenSet; }
49 template<typename ComputationIdT = Aws::String>
50 void SetComputationId(ComputationIdT&& value) { m_computationIdHasBeenSet = true; m_computationId = std::forward<ComputationIdT>(value); }
51 template<typename ComputationIdT = Aws::String>
52 PeriodOverPeriodComputation& WithComputationId(ComputationIdT&& value) { SetComputationId(std::forward<ComputationIdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 PeriodOverPeriodComputation& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const DimensionField& GetTime() const { return m_time; }
72 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
73 template<typename TimeT = DimensionField>
74 void SetTime(TimeT&& value) { m_timeHasBeenSet = true; m_time = std::forward<TimeT>(value); }
75 template<typename TimeT = DimensionField>
76 PeriodOverPeriodComputation& WithTime(TimeT&& value) { SetTime(std::forward<TimeT>(value)); return *this;}
78
80
83 inline const MeasureField& GetValue() const { return m_value; }
84 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
85 template<typename ValueT = MeasureField>
86 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
87 template<typename ValueT = MeasureField>
88 PeriodOverPeriodComputation& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
90 private:
91
92 Aws::String m_computationId;
93 bool m_computationIdHasBeenSet = false;
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
98 DimensionField m_time;
99 bool m_timeHasBeenSet = false;
100
101 MeasureField m_value;
102 bool m_valueHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace QuickSight
107} // 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