AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetSource(const Aws::Vector<DimensionField>& value) { m_sourceHasBeenSet = true; m_source = value; }
50 inline void SetSource(Aws::Vector<DimensionField>&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
52 inline SankeyDiagramAggregatedFieldWells& WithSource(Aws::Vector<DimensionField>&& value) { SetSource(std::move(value)); return *this;}
53 inline SankeyDiagramAggregatedFieldWells& AddSource(const DimensionField& value) { m_sourceHasBeenSet = true; m_source.push_back(value); return *this; }
54 inline SankeyDiagramAggregatedFieldWells& AddSource(DimensionField&& value) { m_sourceHasBeenSet = true; m_source.push_back(std::move(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 inline void SetDestination(const Aws::Vector<DimensionField>& value) { m_destinationHasBeenSet = true; m_destination = value; }
64 inline void SetDestination(Aws::Vector<DimensionField>&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
67 inline SankeyDiagramAggregatedFieldWells& AddDestination(const DimensionField& value) { m_destinationHasBeenSet = true; m_destination.push_back(value); return *this; }
68 inline SankeyDiagramAggregatedFieldWells& AddDestination(DimensionField&& value) { m_destinationHasBeenSet = true; m_destination.push_back(std::move(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 inline void SetWeight(const Aws::Vector<MeasureField>& value) { m_weightHasBeenSet = true; m_weight = value; }
78 inline void SetWeight(Aws::Vector<MeasureField>&& value) { m_weightHasBeenSet = true; m_weight = std::move(value); }
80 inline SankeyDiagramAggregatedFieldWells& WithWeight(Aws::Vector<MeasureField>&& value) { SetWeight(std::move(value)); return *this;}
81 inline SankeyDiagramAggregatedFieldWells& AddWeight(const MeasureField& value) { m_weightHasBeenSet = true; m_weight.push_back(value); return *this; }
82 inline SankeyDiagramAggregatedFieldWells& AddWeight(MeasureField&& value) { m_weightHasBeenSet = true; m_weight.push_back(std::move(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 & WithSource(const Aws::Vector< DimensionField > &value)
AWS_QUICKSIGHT_API SankeyDiagramAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDestination(const Aws::Vector< DimensionField > &value)
SankeyDiagramAggregatedFieldWells & AddSource(DimensionField &&value)
SankeyDiagramAggregatedFieldWells & AddDestination(const DimensionField &value)
SankeyDiagramAggregatedFieldWells & AddWeight(MeasureField &&value)
SankeyDiagramAggregatedFieldWells & WithWeight(const Aws::Vector< MeasureField > &value)
SankeyDiagramAggregatedFieldWells & AddWeight(const MeasureField &value)
SankeyDiagramAggregatedFieldWells & WithWeight(Aws::Vector< MeasureField > &&value)
SankeyDiagramAggregatedFieldWells & WithDestination(const Aws::Vector< DimensionField > &value)
SankeyDiagramAggregatedFieldWells & WithSource(Aws::Vector< DimensionField > &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API SankeyDiagramAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
SankeyDiagramAggregatedFieldWells & AddDestination(DimensionField &&value)
SankeyDiagramAggregatedFieldWells & WithDestination(Aws::Vector< DimensionField > &&value)
SankeyDiagramAggregatedFieldWells & AddSource(const DimensionField &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue