AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GeospatialMapStyle.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/BaseMapStyleType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/Visibility.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QUICKSIGHT_API GeospatialMapStyle() = default;
37 AWS_QUICKSIGHT_API GeospatialMapStyle(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline BaseMapStyleType GetBaseMapStyle() const { return m_baseMapStyle; }
47 inline bool BaseMapStyleHasBeenSet() const { return m_baseMapStyleHasBeenSet; }
48 inline void SetBaseMapStyle(BaseMapStyleType value) { m_baseMapStyleHasBeenSet = true; m_baseMapStyle = value; }
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) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::forward<BackgroundColorT>(value); }
60 template<typename BackgroundColorT = Aws::String>
61 GeospatialMapStyle& WithBackgroundColor(BackgroundColorT&& value) { SetBackgroundColor(std::forward<BackgroundColorT>(value)); return *this;}
63
65
68 inline Visibility GetBaseMapVisibility() const { return m_baseMapVisibility; }
69 inline bool BaseMapVisibilityHasBeenSet() const { return m_baseMapVisibilityHasBeenSet; }
70 inline void SetBaseMapVisibility(Visibility value) { m_baseMapVisibilityHasBeenSet = true; m_baseMapVisibility = value; }
73 private:
74
76 bool m_baseMapStyleHasBeenSet = false;
77
78 Aws::String m_backgroundColor;
79 bool m_backgroundColorHasBeenSet = false;
80
81 Visibility m_baseMapVisibility{Visibility::NOT_SET};
82 bool m_baseMapVisibilityHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace QuickSight
87} // 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