AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComputationId(const Aws::String& value) { m_computationIdHasBeenSet = true; m_computationId = value; }
50 inline void SetComputationId(Aws::String&& value) { m_computationIdHasBeenSet = true; m_computationId = std::move(value); }
51 inline void SetComputationId(const char* value) { m_computationIdHasBeenSet = true; m_computationId.assign(value); }
52 inline PeriodOverPeriodComputation& WithComputationId(const Aws::String& value) { SetComputationId(value); return *this;}
53 inline PeriodOverPeriodComputation& WithComputationId(Aws::String&& value) { SetComputationId(std::move(value)); return *this;}
54 inline PeriodOverPeriodComputation& WithComputationId(const char* value) { SetComputationId(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline PeriodOverPeriodComputation& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline PeriodOverPeriodComputation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline PeriodOverPeriodComputation& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const DimensionField& GetTime() const{ return m_time; }
76 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
77 inline void SetTime(const DimensionField& value) { m_timeHasBeenSet = true; m_time = value; }
78 inline void SetTime(DimensionField&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
79 inline PeriodOverPeriodComputation& WithTime(const DimensionField& value) { SetTime(value); return *this;}
80 inline PeriodOverPeriodComputation& WithTime(DimensionField&& value) { SetTime(std::move(value)); return *this;}
82
84
87 inline const MeasureField& GetValue() const{ return m_value; }
88 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
89 inline void SetValue(const MeasureField& value) { m_valueHasBeenSet = true; m_value = value; }
90 inline void SetValue(MeasureField&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
91 inline PeriodOverPeriodComputation& WithValue(const MeasureField& value) { SetValue(value); return *this;}
92 inline PeriodOverPeriodComputation& WithValue(MeasureField&& value) { SetValue(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_computationId;
97 bool m_computationIdHasBeenSet = false;
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
102 DimensionField m_time;
103 bool m_timeHasBeenSet = false;
104
105 MeasureField m_value;
106 bool m_valueHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace QuickSight
111} // namespace Aws
PeriodOverPeriodComputation & WithName(Aws::String &&value)
PeriodOverPeriodComputation & WithValue(const MeasureField &value)
PeriodOverPeriodComputation & WithComputationId(Aws::String &&value)
PeriodOverPeriodComputation & WithTime(const DimensionField &value)
AWS_QUICKSIGHT_API PeriodOverPeriodComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
PeriodOverPeriodComputation & WithTime(DimensionField &&value)
PeriodOverPeriodComputation & WithComputationId(const Aws::String &value)
PeriodOverPeriodComputation & WithComputationId(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PeriodOverPeriodComputation & WithName(const Aws::String &value)
AWS_QUICKSIGHT_API PeriodOverPeriodComputation(Aws::Utils::Json::JsonView jsonValue)
PeriodOverPeriodComputation & WithValue(MeasureField &&value)
PeriodOverPeriodComputation & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue