AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GrowthRateComputation.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
34 {
35 public:
36 AWS_QUICKSIGHT_API GrowthRateComputation();
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 inline void SetComputationId(const Aws::String& value) { m_computationIdHasBeenSet = true; m_computationId = value; }
49 inline void SetComputationId(Aws::String&& value) { m_computationIdHasBeenSet = true; m_computationId = std::move(value); }
50 inline void SetComputationId(const char* value) { m_computationIdHasBeenSet = true; m_computationId.assign(value); }
51 inline GrowthRateComputation& WithComputationId(const Aws::String& value) { SetComputationId(value); return *this;}
52 inline GrowthRateComputation& WithComputationId(Aws::String&& value) { SetComputationId(std::move(value)); return *this;}
53 inline GrowthRateComputation& WithComputationId(const char* value) { SetComputationId(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline GrowthRateComputation& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline GrowthRateComputation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline GrowthRateComputation& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const DimensionField& GetTime() const{ return m_time; }
75 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
76 inline void SetTime(const DimensionField& value) { m_timeHasBeenSet = true; m_time = value; }
77 inline void SetTime(DimensionField&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
78 inline GrowthRateComputation& WithTime(const DimensionField& value) { SetTime(value); return *this;}
79 inline GrowthRateComputation& WithTime(DimensionField&& value) { SetTime(std::move(value)); return *this;}
81
83
86 inline const MeasureField& GetValue() const{ return m_value; }
87 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
88 inline void SetValue(const MeasureField& value) { m_valueHasBeenSet = true; m_value = value; }
89 inline void SetValue(MeasureField&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
90 inline GrowthRateComputation& WithValue(const MeasureField& value) { SetValue(value); return *this;}
91 inline GrowthRateComputation& WithValue(MeasureField&& value) { SetValue(std::move(value)); return *this;}
93
95
98 inline int GetPeriodSize() const{ return m_periodSize; }
99 inline bool PeriodSizeHasBeenSet() const { return m_periodSizeHasBeenSet; }
100 inline void SetPeriodSize(int value) { m_periodSizeHasBeenSet = true; m_periodSize = value; }
101 inline GrowthRateComputation& WithPeriodSize(int value) { SetPeriodSize(value); return *this;}
103 private:
104
105 Aws::String m_computationId;
106 bool m_computationIdHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 DimensionField m_time;
112 bool m_timeHasBeenSet = false;
113
114 MeasureField m_value;
115 bool m_valueHasBeenSet = false;
116
117 int m_periodSize;
118 bool m_periodSizeHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace QuickSight
123} // namespace Aws
AWS_QUICKSIGHT_API GrowthRateComputation(Aws::Utils::Json::JsonView jsonValue)
GrowthRateComputation & WithValue(const MeasureField &value)
GrowthRateComputation & WithName(const char *value)
GrowthRateComputation & WithComputationId(const char *value)
GrowthRateComputation & WithTime(DimensionField &&value)
GrowthRateComputation & WithPeriodSize(int value)
GrowthRateComputation & WithComputationId(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
GrowthRateComputation & WithTime(const DimensionField &value)
AWS_QUICKSIGHT_API GrowthRateComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
GrowthRateComputation & WithName(Aws::String &&value)
GrowthRateComputation & WithComputationId(const Aws::String &value)
GrowthRateComputation & WithValue(MeasureField &&value)
GrowthRateComputation & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue