AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SankeyDiagramAggregatedFieldWells.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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 SankeyDiagramAggregatedFieldWells() = default;
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<DimensionField>& GetSource() const { return m_source; }
48 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
49 template<typename SourceT = Aws::Vector<DimensionField>>
50 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
51 template<typename SourceT = Aws::Vector<DimensionField>>
52 SankeyDiagramAggregatedFieldWells& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
53 template<typename SourceT = DimensionField>
54 SankeyDiagramAggregatedFieldWells& AddSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source.emplace_back(std::forward<SourceT>(value)); return *this; }
56
58
61 inline const Aws::Vector<DimensionField>& GetDestination() const { return m_destination; }
62 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
63 template<typename DestinationT = Aws::Vector<DimensionField>>
64 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
65 template<typename DestinationT = Aws::Vector<DimensionField>>
66 SankeyDiagramAggregatedFieldWells& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
67 template<typename DestinationT = DimensionField>
68 SankeyDiagramAggregatedFieldWells& AddDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination.emplace_back(std::forward<DestinationT>(value)); return *this; }
70
72
75 inline const Aws::Vector<MeasureField>& GetWeight() const { return m_weight; }
76 inline bool WeightHasBeenSet() const { return m_weightHasBeenSet; }
77 template<typename WeightT = Aws::Vector<MeasureField>>
78 void SetWeight(WeightT&& value) { m_weightHasBeenSet = true; m_weight = std::forward<WeightT>(value); }
79 template<typename WeightT = Aws::Vector<MeasureField>>
80 SankeyDiagramAggregatedFieldWells& WithWeight(WeightT&& value) { SetWeight(std::forward<WeightT>(value)); return *this;}
81 template<typename WeightT = MeasureField>
82 SankeyDiagramAggregatedFieldWells& AddWeight(WeightT&& value) { m_weightHasBeenSet = true; m_weight.emplace_back(std::forward<WeightT>(value)); return *this; }
84 private:
85
87 bool m_sourceHasBeenSet = false;
88
89 Aws::Vector<DimensionField> m_destination;
90 bool m_destinationHasBeenSet = false;
91
93 bool m_weightHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace QuickSight
98} // 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