AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API GeospatialPolygonSymbolStyle() = default;
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const GeospatialColor& GetFillColor() const { return m_fillColor; }
46 inline bool FillColorHasBeenSet() const { return m_fillColorHasBeenSet; }
47 template<typename FillColorT = GeospatialColor>
48 void SetFillColor(FillColorT&& value) { m_fillColorHasBeenSet = true; m_fillColor = std::forward<FillColorT>(value); }
49 template<typename FillColorT = GeospatialColor>
50 GeospatialPolygonSymbolStyle& WithFillColor(FillColorT&& value) { SetFillColor(std::forward<FillColorT>(value)); return *this;}
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) { m_strokeColorHasBeenSet = true; m_strokeColor = std::forward<StrokeColorT>(value); }
61 template<typename StrokeColorT = GeospatialColor>
62 GeospatialPolygonSymbolStyle& WithStrokeColor(StrokeColorT&& value) { SetStrokeColor(std::forward<StrokeColorT>(value)); return *this;}
64
66
69 inline const GeospatialLineWidth& GetStrokeWidth() const { return m_strokeWidth; }
70 inline bool StrokeWidthHasBeenSet() const { return m_strokeWidthHasBeenSet; }
71 template<typename StrokeWidthT = GeospatialLineWidth>
72 void SetStrokeWidth(StrokeWidthT&& value) { m_strokeWidthHasBeenSet = true; m_strokeWidth = std::forward<StrokeWidthT>(value); }
73 template<typename StrokeWidthT = GeospatialLineWidth>
74 GeospatialPolygonSymbolStyle& WithStrokeWidth(StrokeWidthT&& value) { SetStrokeWidth(std::forward<StrokeWidthT>(value)); return *this;}
76 private:
77
78 GeospatialColor m_fillColor;
79 bool m_fillColorHasBeenSet = false;
80
81 GeospatialColor m_strokeColor;
82 bool m_strokeColorHasBeenSet = false;
83
84 GeospatialLineWidth m_strokeWidth;
85 bool m_strokeWidthHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace QuickSight
90} // 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