AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
GeospatialPolygonSymbolStyle.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/GeospatialColor.h>
9#include <aws/quicksight/model/GeospatialLineWidth.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
29 public:
30 AWS_QUICKSIGHT_API GeospatialPolygonSymbolStyle() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const GeospatialColor& GetFillColor() const { return m_fillColor; }
40 inline bool FillColorHasBeenSet() const { return m_fillColorHasBeenSet; }
41 template <typename FillColorT = GeospatialColor>
42 void SetFillColor(FillColorT&& value) {
43 m_fillColorHasBeenSet = true;
44 m_fillColor = std::forward<FillColorT>(value);
45 }
46 template <typename FillColorT = GeospatialColor>
48 SetFillColor(std::forward<FillColorT>(value));
49 return *this;
50 }
52
54
57 inline const GeospatialColor& GetStrokeColor() const { return m_strokeColor; }
58 inline bool StrokeColorHasBeenSet() const { return m_strokeColorHasBeenSet; }
59 template <typename StrokeColorT = GeospatialColor>
60 void SetStrokeColor(StrokeColorT&& value) {
61 m_strokeColorHasBeenSet = true;
62 m_strokeColor = std::forward<StrokeColorT>(value);
63 }
64 template <typename StrokeColorT = GeospatialColor>
66 SetStrokeColor(std::forward<StrokeColorT>(value));
67 return *this;
68 }
70
72
75 inline const GeospatialLineWidth& GetStrokeWidth() const { return m_strokeWidth; }
76 inline bool StrokeWidthHasBeenSet() const { return m_strokeWidthHasBeenSet; }
77 template <typename StrokeWidthT = GeospatialLineWidth>
78 void SetStrokeWidth(StrokeWidthT&& value) {
79 m_strokeWidthHasBeenSet = true;
80 m_strokeWidth = std::forward<StrokeWidthT>(value);
81 }
82 template <typename StrokeWidthT = GeospatialLineWidth>
84 SetStrokeWidth(std::forward<StrokeWidthT>(value));
85 return *this;
86 }
88 private:
89 GeospatialColor m_fillColor;
90
91 GeospatialColor m_strokeColor;
92
93 GeospatialLineWidth m_strokeWidth;
94 bool m_fillColorHasBeenSet = false;
95 bool m_strokeColorHasBeenSet = false;
96 bool m_strokeWidthHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace QuickSight
101} // namespace Aws
GeospatialPolygonSymbolStyle & WithStrokeColor(StrokeColorT &&value)
GeospatialPolygonSymbolStyle & WithFillColor(FillColorT &&value)
GeospatialPolygonSymbolStyle & WithStrokeWidth(StrokeWidthT &&value)
AWS_QUICKSIGHT_API GeospatialPolygonSymbolStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API GeospatialPolygonSymbolStyle()=default
AWS_QUICKSIGHT_API GeospatialPolygonSymbolStyle(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue