AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
MapConfiguration.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 LocationService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LOCATIONSERVICE_API MapConfiguration() = default;
37 AWS_LOCATIONSERVICE_API MapConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOCATIONSERVICE_API MapConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
119 inline const Aws::String& GetStyle() const { return m_style; }
120 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
121 template<typename StyleT = Aws::String>
122 void SetStyle(StyleT&& value) { m_styleHasBeenSet = true; m_style = std::forward<StyleT>(value); }
123 template<typename StyleT = Aws::String>
124 MapConfiguration& WithStyle(StyleT&& value) { SetStyle(std::forward<StyleT>(value)); return *this;}
126
128
137 inline const Aws::String& GetPoliticalView() const { return m_politicalView; }
138 inline bool PoliticalViewHasBeenSet() const { return m_politicalViewHasBeenSet; }
139 template<typename PoliticalViewT = Aws::String>
140 void SetPoliticalView(PoliticalViewT&& value) { m_politicalViewHasBeenSet = true; m_politicalView = std::forward<PoliticalViewT>(value); }
141 template<typename PoliticalViewT = Aws::String>
142 MapConfiguration& WithPoliticalView(PoliticalViewT&& value) { SetPoliticalView(std::forward<PoliticalViewT>(value)); return *this;}
144
146
153 inline const Aws::Vector<Aws::String>& GetCustomLayers() const { return m_customLayers; }
154 inline bool CustomLayersHasBeenSet() const { return m_customLayersHasBeenSet; }
155 template<typename CustomLayersT = Aws::Vector<Aws::String>>
156 void SetCustomLayers(CustomLayersT&& value) { m_customLayersHasBeenSet = true; m_customLayers = std::forward<CustomLayersT>(value); }
157 template<typename CustomLayersT = Aws::Vector<Aws::String>>
158 MapConfiguration& WithCustomLayers(CustomLayersT&& value) { SetCustomLayers(std::forward<CustomLayersT>(value)); return *this;}
159 template<typename CustomLayersT = Aws::String>
160 MapConfiguration& AddCustomLayers(CustomLayersT&& value) { m_customLayersHasBeenSet = true; m_customLayers.emplace_back(std::forward<CustomLayersT>(value)); return *this; }
162 private:
163
164 Aws::String m_style;
165 bool m_styleHasBeenSet = false;
166
167 Aws::String m_politicalView;
168 bool m_politicalViewHasBeenSet = false;
169
170 Aws::Vector<Aws::String> m_customLayers;
171 bool m_customLayersHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace LocationService
176} // namespace Aws
AWS_LOCATIONSERVICE_API MapConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API MapConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API MapConfiguration()=default
MapConfiguration & WithStyle(StyleT &&value)
MapConfiguration & WithCustomLayers(CustomLayersT &&value)
MapConfiguration & WithPoliticalView(PoliticalViewT &&value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MapConfiguration & AddCustomLayers(CustomLayersT &&value)
const Aws::Vector< Aws::String > & GetCustomLayers() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue