AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 TotalAggregationComputation& WithComputationId(const Aws::String& value) { SetComputationId(value); return *this;}
52 inline TotalAggregationComputation& WithComputationId(Aws::String&& value) { SetComputationId(std::move(value)); return *this;}
53 inline TotalAggregationComputation& 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 TotalAggregationComputation& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline TotalAggregationComputation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline TotalAggregationComputation& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const MeasureField& GetValue() const{ return m_value; }
75 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
76 inline void SetValue(const MeasureField& value) { m_valueHasBeenSet = true; m_value = value; }
77 inline void SetValue(MeasureField&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
78 inline TotalAggregationComputation& WithValue(const MeasureField& value) { SetValue(value); return *this;}
79 inline TotalAggregationComputation& WithValue(MeasureField&& value) { SetValue(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_computationId;
84 bool m_computationIdHasBeenSet = false;
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
89 MeasureField m_value;
90 bool m_valueHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace QuickSight
95} // namespace Aws
TotalAggregationComputation & WithName(const char *value)
TotalAggregationComputation & WithValue(MeasureField &&value)
AWS_QUICKSIGHT_API TotalAggregationComputation(Aws::Utils::Json::JsonView jsonValue)
TotalAggregationComputation & WithComputationId(Aws::String &&value)
TotalAggregationComputation & WithComputationId(const Aws::String &value)
AWS_QUICKSIGHT_API TotalAggregationComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
TotalAggregationComputation & WithName(const Aws::String &value)
TotalAggregationComputation & WithValue(const MeasureField &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TotalAggregationComputation & WithName(Aws::String &&value)
TotalAggregationComputation & WithComputationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue