AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
SankeyDiagramAggregatedFieldWells.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.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 SankeyDiagramAggregatedFieldWells() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<DimensionField>& GetSource() const { return m_source; }
42 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
43 template <typename SourceT = Aws::Vector<DimensionField>>
44 void SetSource(SourceT&& value) {
45 m_sourceHasBeenSet = true;
46 m_source = std::forward<SourceT>(value);
47 }
48 template <typename SourceT = Aws::Vector<DimensionField>>
50 SetSource(std::forward<SourceT>(value));
51 return *this;
52 }
53 template <typename SourceT = DimensionField>
55 m_sourceHasBeenSet = true;
56 m_source.emplace_back(std::forward<SourceT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Vector<DimensionField>& GetDestination() const { return m_destination; }
66 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
67 template <typename DestinationT = Aws::Vector<DimensionField>>
68 void SetDestination(DestinationT&& value) {
69 m_destinationHasBeenSet = true;
70 m_destination = std::forward<DestinationT>(value);
71 }
72 template <typename DestinationT = Aws::Vector<DimensionField>>
74 SetDestination(std::forward<DestinationT>(value));
75 return *this;
76 }
77 template <typename DestinationT = DimensionField>
79 m_destinationHasBeenSet = true;
80 m_destination.emplace_back(std::forward<DestinationT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Vector<MeasureField>& GetWeight() const { return m_weight; }
90 inline bool WeightHasBeenSet() const { return m_weightHasBeenSet; }
91 template <typename WeightT = Aws::Vector<MeasureField>>
92 void SetWeight(WeightT&& value) {
93 m_weightHasBeenSet = true;
94 m_weight = std::forward<WeightT>(value);
95 }
96 template <typename WeightT = Aws::Vector<MeasureField>>
98 SetWeight(std::forward<WeightT>(value));
99 return *this;
100 }
101 template <typename WeightT = MeasureField>
103 m_weightHasBeenSet = true;
104 m_weight.emplace_back(std::forward<WeightT>(value));
105 return *this;
106 }
108 private:
110
111 Aws::Vector<DimensionField> m_destination;
112
114 bool m_sourceHasBeenSet = false;
115 bool m_destinationHasBeenSet = false;
116 bool m_weightHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace QuickSight
121} // namespace Aws
SankeyDiagramAggregatedFieldWells & AddWeight(WeightT &&value)
SankeyDiagramAggregatedFieldWells & AddDestination(DestinationT &&value)
SankeyDiagramAggregatedFieldWells & AddSource(SourceT &&value)
AWS_QUICKSIGHT_API SankeyDiagramAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API SankeyDiagramAggregatedFieldWells()=default
SankeyDiagramAggregatedFieldWells & WithWeight(WeightT &&value)
SankeyDiagramAggregatedFieldWells & WithSource(SourceT &&value)
SankeyDiagramAggregatedFieldWells & WithDestination(DestinationT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API SankeyDiagramAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue