AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
GeospatialLayerDefinition.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/GeospatialLineLayer.h>
9#include <aws/quicksight/model/GeospatialPointLayer.h>
10#include <aws/quicksight/model/GeospatialPolygonLayer.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 GeospatialLayerDefinition() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const GeospatialPointLayer& GetPointLayer() const { return m_pointLayer; }
42 inline bool PointLayerHasBeenSet() const { return m_pointLayerHasBeenSet; }
43 template <typename PointLayerT = GeospatialPointLayer>
44 void SetPointLayer(PointLayerT&& value) {
45 m_pointLayerHasBeenSet = true;
46 m_pointLayer = std::forward<PointLayerT>(value);
47 }
48 template <typename PointLayerT = GeospatialPointLayer>
50 SetPointLayer(std::forward<PointLayerT>(value));
51 return *this;
52 }
54
56
59 inline const GeospatialLineLayer& GetLineLayer() const { return m_lineLayer; }
60 inline bool LineLayerHasBeenSet() const { return m_lineLayerHasBeenSet; }
61 template <typename LineLayerT = GeospatialLineLayer>
62 void SetLineLayer(LineLayerT&& value) {
63 m_lineLayerHasBeenSet = true;
64 m_lineLayer = std::forward<LineLayerT>(value);
65 }
66 template <typename LineLayerT = GeospatialLineLayer>
68 SetLineLayer(std::forward<LineLayerT>(value));
69 return *this;
70 }
72
74
77 inline const GeospatialPolygonLayer& GetPolygonLayer() const { return m_polygonLayer; }
78 inline bool PolygonLayerHasBeenSet() const { return m_polygonLayerHasBeenSet; }
79 template <typename PolygonLayerT = GeospatialPolygonLayer>
80 void SetPolygonLayer(PolygonLayerT&& value) {
81 m_polygonLayerHasBeenSet = true;
82 m_polygonLayer = std::forward<PolygonLayerT>(value);
83 }
84 template <typename PolygonLayerT = GeospatialPolygonLayer>
86 SetPolygonLayer(std::forward<PolygonLayerT>(value));
87 return *this;
88 }
90 private:
91 GeospatialPointLayer m_pointLayer;
92
93 GeospatialLineLayer m_lineLayer;
94
95 GeospatialPolygonLayer m_polygonLayer;
96 bool m_pointLayerHasBeenSet = false;
97 bool m_lineLayerHasBeenSet = false;
98 bool m_polygonLayerHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace QuickSight
103} // namespace Aws
GeospatialLayerDefinition & WithPolygonLayer(PolygonLayerT &&value)
AWS_QUICKSIGHT_API GeospatialLayerDefinition()=default
AWS_QUICKSIGHT_API GeospatialLayerDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API GeospatialLayerDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const GeospatialPolygonLayer & GetPolygonLayer() const
GeospatialLayerDefinition & WithPointLayer(PointLayerT &&value)
GeospatialLayerDefinition & WithLineLayer(LineLayerT &&value)
Aws::Utils::Json::JsonValue JsonValue