AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
GetStyleDescriptorRequest.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/geo-maps/GeoMapsRequest.h>
10#include <aws/geo-maps/GeoMaps_EXPORTS.h>
11#include <aws/geo-maps/model/Buildings.h>
12#include <aws/geo-maps/model/ColorScheme.h>
13#include <aws/geo-maps/model/ContourDensity.h>
14#include <aws/geo-maps/model/MapStyle.h>
15#include <aws/geo-maps/model/PoiCategory.h>
16#include <aws/geo-maps/model/PoiDensity.h>
17#include <aws/geo-maps/model/Terrain.h>
18#include <aws/geo-maps/model/Traffic.h>
19#include <aws/geo-maps/model/TravelMode.h>
20
21#include <utility>
22
23namespace Aws {
24namespace Http {
25class URI;
26} // namespace Http
27namespace GeoMaps {
28namespace Model {
29
33 public:
34 AWS_GEOMAPS_API GetStyleDescriptorRequest() = default;
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "GetStyleDescriptor"; }
41
42 AWS_GEOMAPS_API Aws::String SerializePayload() const override;
43
44 AWS_GEOMAPS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
45
47
53 inline MapStyle GetStyle() const { return m_style; }
54 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
55 inline void SetStyle(MapStyle value) {
56 m_styleHasBeenSet = true;
57 m_style = value;
58 }
60 SetStyle(value);
61 return *this;
62 }
64
66
71 inline ColorScheme GetColorScheme() const { return m_colorScheme; }
72 inline bool ColorSchemeHasBeenSet() const { return m_colorSchemeHasBeenSet; }
73 inline void SetColorScheme(ColorScheme value) {
74 m_colorSchemeHasBeenSet = true;
75 m_colorScheme = value;
76 }
78 SetColorScheme(value);
79 return *this;
80 }
82
84
107 inline const Aws::String& GetPoliticalView() const { return m_politicalView; }
108 inline bool PoliticalViewHasBeenSet() const { return m_politicalViewHasBeenSet; }
109 template <typename PoliticalViewT = Aws::String>
110 void SetPoliticalView(PoliticalViewT&& value) {
111 m_politicalViewHasBeenSet = true;
112 m_politicalView = std::forward<PoliticalViewT>(value);
113 }
114 template <typename PoliticalViewT = Aws::String>
116 SetPoliticalView(std::forward<PoliticalViewT>(value));
117 return *this;
118 }
120
122
134 inline Terrain GetTerrain() const { return m_terrain; }
135 inline bool TerrainHasBeenSet() const { return m_terrainHasBeenSet; }
136 inline void SetTerrain(Terrain value) {
137 m_terrainHasBeenSet = true;
138 m_terrain = value;
139 }
141 SetTerrain(value);
142 return *this;
143 }
145
147
156 inline ContourDensity GetContourDensity() const { return m_contourDensity; }
157 inline bool ContourDensityHasBeenSet() const { return m_contourDensityHasBeenSet; }
159 m_contourDensityHasBeenSet = true;
160 m_contourDensity = value;
161 }
163 SetContourDensity(value);
164 return *this;
165 }
167
169
177 inline Traffic GetTraffic() const { return m_traffic; }
178 inline bool TrafficHasBeenSet() const { return m_trafficHasBeenSet; }
179 inline void SetTraffic(Traffic value) {
180 m_trafficHasBeenSet = true;
181 m_traffic = value;
182 }
184 SetTraffic(value);
185 return *this;
186 }
188
190
200 inline const Aws::Vector<TravelMode>& GetTravelModes() const { return m_travelModes; }
201 inline bool TravelModesHasBeenSet() const { return m_travelModesHasBeenSet; }
202 template <typename TravelModesT = Aws::Vector<TravelMode>>
203 void SetTravelModes(TravelModesT&& value) {
204 m_travelModesHasBeenSet = true;
205 m_travelModes = std::forward<TravelModesT>(value);
206 }
207 template <typename TravelModesT = Aws::Vector<TravelMode>>
209 SetTravelModes(std::forward<TravelModesT>(value));
210 return *this;
211 }
213 m_travelModesHasBeenSet = true;
214 m_travelModes.push_back(value);
215 return *this;
216 }
218
220
227 inline Buildings GetBuildings() const { return m_buildings; }
228 inline bool BuildingsHasBeenSet() const { return m_buildingsHasBeenSet; }
229 inline void SetBuildings(Buildings value) {
230 m_buildingsHasBeenSet = true;
231 m_buildings = value;
232 }
234 SetBuildings(value);
235 return *this;
236 }
238
240
256 inline PoiDensity GetPoiDensity() const { return m_poiDensity; }
257 inline bool PoiDensityHasBeenSet() const { return m_poiDensityHasBeenSet; }
258 inline void SetPoiDensity(PoiDensity value) {
259 m_poiDensityHasBeenSet = true;
260 m_poiDensity = value;
261 }
263 SetPoiDensity(value);
264 return *this;
265 }
267
269
289 inline const Aws::Vector<PoiCategory>& GetPoiCategories() const { return m_poiCategories; }
290 inline bool PoiCategoriesHasBeenSet() const { return m_poiCategoriesHasBeenSet; }
291 template <typename PoiCategoriesT = Aws::Vector<PoiCategory>>
292 void SetPoiCategories(PoiCategoriesT&& value) {
293 m_poiCategoriesHasBeenSet = true;
294 m_poiCategories = std::forward<PoiCategoriesT>(value);
295 }
296 template <typename PoiCategoriesT = Aws::Vector<PoiCategory>>
298 SetPoiCategories(std::forward<PoiCategoriesT>(value));
299 return *this;
300 }
302 m_poiCategoriesHasBeenSet = true;
303 m_poiCategories.push_back(value);
304 return *this;
305 }
307
309
313 inline const Aws::String& GetKey() const { return m_key; }
314 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
315 template <typename KeyT = Aws::String>
316 void SetKey(KeyT&& value) {
317 m_keyHasBeenSet = true;
318 m_key = std::forward<KeyT>(value);
319 }
320 template <typename KeyT = Aws::String>
322 SetKey(std::forward<KeyT>(value));
323 return *this;
324 }
326 private:
328
329 ColorScheme m_colorScheme{ColorScheme::NOT_SET};
330
331 Aws::String m_politicalView;
332
333 Terrain m_terrain{Terrain::NOT_SET};
334
335 ContourDensity m_contourDensity{ContourDensity::NOT_SET};
336
337 Traffic m_traffic{Traffic::NOT_SET};
338
339 Aws::Vector<TravelMode> m_travelModes;
340
341 Buildings m_buildings{Buildings::NOT_SET};
342
343 PoiDensity m_poiDensity{PoiDensity::NOT_SET};
344
345 Aws::Vector<PoiCategory> m_poiCategories;
346
347 Aws::String m_key;
348 bool m_styleHasBeenSet = false;
349 bool m_colorSchemeHasBeenSet = false;
350 bool m_politicalViewHasBeenSet = false;
351 bool m_terrainHasBeenSet = false;
352 bool m_contourDensityHasBeenSet = false;
353 bool m_trafficHasBeenSet = false;
354 bool m_travelModesHasBeenSet = false;
355 bool m_buildingsHasBeenSet = false;
356 bool m_poiDensityHasBeenSet = false;
357 bool m_poiCategoriesHasBeenSet = false;
358 bool m_keyHasBeenSet = false;
359};
360
361} // namespace Model
362} // namespace GeoMaps
363} // namespace Aws
GetStyleDescriptorRequest & WithTraffic(Traffic value)
AWS_GEOMAPS_API Aws::String SerializePayload() const override
GetStyleDescriptorRequest & WithColorScheme(ColorScheme value)
GetStyleDescriptorRequest & WithPoiCategories(PoiCategoriesT &&value)
GetStyleDescriptorRequest & WithStyle(MapStyle value)
GetStyleDescriptorRequest & WithContourDensity(ContourDensity value)
AWS_GEOMAPS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetStyleDescriptorRequest & WithBuildings(Buildings value)
GetStyleDescriptorRequest & WithPoiDensity(PoiDensity value)
AWS_GEOMAPS_API GetStyleDescriptorRequest()=default
const Aws::Vector< PoiCategory > & GetPoiCategories() const
const Aws::Vector< TravelMode > & GetTravelModes() const
virtual const char * GetServiceRequestName() const override
GetStyleDescriptorRequest & WithKey(KeyT &&value)
GetStyleDescriptorRequest & WithTravelModes(TravelModesT &&value)
GetStyleDescriptorRequest & AddTravelModes(TravelMode value)
GetStyleDescriptorRequest & WithPoliticalView(PoliticalViewT &&value)
GetStyleDescriptorRequest & AddPoiCategories(PoiCategory value)
GetStyleDescriptorRequest & WithTerrain(Terrain value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector