AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
MapConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/location/LocationService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LocationService {
21namespace Model {
22
30 public:
31 AWS_LOCATIONSERVICE_API MapConfiguration() = default;
32 AWS_LOCATIONSERVICE_API MapConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LOCATIONSERVICE_API MapConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
113 inline const Aws::String& GetStyle() const { return m_style; }
114 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
115 template <typename StyleT = Aws::String>
116 void SetStyle(StyleT&& value) {
117 m_styleHasBeenSet = true;
118 m_style = std::forward<StyleT>(value);
119 }
120 template <typename StyleT = Aws::String>
121 MapConfiguration& WithStyle(StyleT&& value) {
122 SetStyle(std::forward<StyleT>(value));
123 return *this;
124 }
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) {
141 m_politicalViewHasBeenSet = true;
142 m_politicalView = std::forward<PoliticalViewT>(value);
143 }
144 template <typename PoliticalViewT = Aws::String>
145 MapConfiguration& WithPoliticalView(PoliticalViewT&& value) {
146 SetPoliticalView(std::forward<PoliticalViewT>(value));
147 return *this;
148 }
150
152
159 inline const Aws::Vector<Aws::String>& GetCustomLayers() const { return m_customLayers; }
160 inline bool CustomLayersHasBeenSet() const { return m_customLayersHasBeenSet; }
161 template <typename CustomLayersT = Aws::Vector<Aws::String>>
162 void SetCustomLayers(CustomLayersT&& value) {
163 m_customLayersHasBeenSet = true;
164 m_customLayers = std::forward<CustomLayersT>(value);
165 }
166 template <typename CustomLayersT = Aws::Vector<Aws::String>>
167 MapConfiguration& WithCustomLayers(CustomLayersT&& value) {
168 SetCustomLayers(std::forward<CustomLayersT>(value));
169 return *this;
170 }
171 template <typename CustomLayersT = Aws::String>
172 MapConfiguration& AddCustomLayers(CustomLayersT&& value) {
173 m_customLayersHasBeenSet = true;
174 m_customLayers.emplace_back(std::forward<CustomLayersT>(value));
175 return *this;
176 }
178 private:
179 Aws::String m_style;
180
181 Aws::String m_politicalView;
182
183 Aws::Vector<Aws::String> m_customLayers;
184 bool m_styleHasBeenSet = false;
185 bool m_politicalViewHasBeenSet = false;
186 bool m_customLayersHasBeenSet = false;
187};
188
189} // namespace Model
190} // namespace LocationService
191} // 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