AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
GeospatialLayerJoinDefinition.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/GeospatialLayerColorField.h>
10#include <aws/quicksight/model/UnaggregatedField.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
30 public:
31 AWS_QUICKSIGHT_API GeospatialLayerJoinDefinition() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetShapeKeyField() const { return m_shapeKeyField; }
41 inline bool ShapeKeyFieldHasBeenSet() const { return m_shapeKeyFieldHasBeenSet; }
42 template <typename ShapeKeyFieldT = Aws::String>
43 void SetShapeKeyField(ShapeKeyFieldT&& value) {
44 m_shapeKeyFieldHasBeenSet = true;
45 m_shapeKeyField = std::forward<ShapeKeyFieldT>(value);
46 }
47 template <typename ShapeKeyFieldT = Aws::String>
49 SetShapeKeyField(std::forward<ShapeKeyFieldT>(value));
50 return *this;
51 }
53
55
56 inline const UnaggregatedField& GetDatasetKeyField() const { return m_datasetKeyField; }
57 inline bool DatasetKeyFieldHasBeenSet() const { return m_datasetKeyFieldHasBeenSet; }
58 template <typename DatasetKeyFieldT = UnaggregatedField>
59 void SetDatasetKeyField(DatasetKeyFieldT&& value) {
60 m_datasetKeyFieldHasBeenSet = true;
61 m_datasetKeyField = std::forward<DatasetKeyFieldT>(value);
62 }
63 template <typename DatasetKeyFieldT = UnaggregatedField>
65 SetDatasetKeyField(std::forward<DatasetKeyFieldT>(value));
66 return *this;
67 }
69
71
74 inline const GeospatialLayerColorField& GetColorField() const { return m_colorField; }
75 inline bool ColorFieldHasBeenSet() const { return m_colorFieldHasBeenSet; }
76 template <typename ColorFieldT = GeospatialLayerColorField>
77 void SetColorField(ColorFieldT&& value) {
78 m_colorFieldHasBeenSet = true;
79 m_colorField = std::forward<ColorFieldT>(value);
80 }
81 template <typename ColorFieldT = GeospatialLayerColorField>
83 SetColorField(std::forward<ColorFieldT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_shapeKeyField;
89
90 UnaggregatedField m_datasetKeyField;
91
92 GeospatialLayerColorField m_colorField;
93 bool m_shapeKeyFieldHasBeenSet = false;
94 bool m_datasetKeyFieldHasBeenSet = false;
95 bool m_colorFieldHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace QuickSight
100} // namespace Aws
GeospatialLayerJoinDefinition & WithDatasetKeyField(DatasetKeyFieldT &&value)
GeospatialLayerJoinDefinition & WithShapeKeyField(ShapeKeyFieldT &&value)
AWS_QUICKSIGHT_API GeospatialLayerJoinDefinition()=default
GeospatialLayerJoinDefinition & WithColorField(ColorFieldT &&value)
AWS_QUICKSIGHT_API GeospatialLayerJoinDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API GeospatialLayerJoinDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue