AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
GeospatialMapStyle.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/BaseMapStyleType.h>
10#include <aws/quicksight/model/Visibility.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 GeospatialMapStyle() = default;
32 AWS_QUICKSIGHT_API GeospatialMapStyle(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline BaseMapStyleType GetBaseMapStyle() const { return m_baseMapStyle; }
41 inline bool BaseMapStyleHasBeenSet() const { return m_baseMapStyleHasBeenSet; }
42 inline void SetBaseMapStyle(BaseMapStyleType value) {
43 m_baseMapStyleHasBeenSet = true;
44 m_baseMapStyle = value;
45 }
47 SetBaseMapStyle(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetBackgroundColor() const { return m_backgroundColor; }
57 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
58 template <typename BackgroundColorT = Aws::String>
59 void SetBackgroundColor(BackgroundColorT&& value) {
60 m_backgroundColorHasBeenSet = true;
61 m_backgroundColor = std::forward<BackgroundColorT>(value);
62 }
63 template <typename BackgroundColorT = Aws::String>
64 GeospatialMapStyle& WithBackgroundColor(BackgroundColorT&& value) {
65 SetBackgroundColor(std::forward<BackgroundColorT>(value));
66 return *this;
67 }
69
71
74 inline Visibility GetBaseMapVisibility() const { return m_baseMapVisibility; }
75 inline bool BaseMapVisibilityHasBeenSet() const { return m_baseMapVisibilityHasBeenSet; }
76 inline void SetBaseMapVisibility(Visibility value) {
77 m_baseMapVisibilityHasBeenSet = true;
78 m_baseMapVisibility = value;
79 }
82 return *this;
83 }
85 private:
87
88 Aws::String m_backgroundColor;
89
90 Visibility m_baseMapVisibility{Visibility::NOT_SET};
91 bool m_baseMapStyleHasBeenSet = false;
92 bool m_backgroundColorHasBeenSet = false;
93 bool m_baseMapVisibilityHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace QuickSight
98} // namespace Aws
AWS_QUICKSIGHT_API GeospatialMapStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
GeospatialMapStyle & WithBaseMapStyle(BaseMapStyleType value)
GeospatialMapStyle & WithBaseMapVisibility(Visibility value)
void SetBaseMapStyle(BaseMapStyleType value)
AWS_QUICKSIGHT_API GeospatialMapStyle()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBackgroundColor() const
void SetBackgroundColor(BackgroundColorT &&value)
GeospatialMapStyle & WithBackgroundColor(BackgroundColorT &&value)
AWS_QUICKSIGHT_API GeospatialMapStyle(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue