AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/Terrain.h>
16#include <aws/geo-maps/model/Traffic.h>
17#include <aws/geo-maps/model/TravelMode.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Http {
23class URI;
24} // namespace Http
25namespace GeoMaps {
26namespace Model {
27
31 public:
32 AWS_GEOMAPS_API GetStyleDescriptorRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "GetStyleDescriptor"; }
39
40 AWS_GEOMAPS_API Aws::String SerializePayload() const override;
41
42 AWS_GEOMAPS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
45
51 inline MapStyle GetStyle() const { return m_style; }
52 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
53 inline void SetStyle(MapStyle value) {
54 m_styleHasBeenSet = true;
55 m_style = value;
56 }
58 SetStyle(value);
59 return *this;
60 }
62
64
69 inline ColorScheme GetColorScheme() const { return m_colorScheme; }
70 inline bool ColorSchemeHasBeenSet() const { return m_colorSchemeHasBeenSet; }
71 inline void SetColorScheme(ColorScheme value) {
72 m_colorSchemeHasBeenSet = true;
73 m_colorScheme = value;
74 }
76 SetColorScheme(value);
77 return *this;
78 }
80
82
105 inline const Aws::String& GetPoliticalView() const { return m_politicalView; }
106 inline bool PoliticalViewHasBeenSet() const { return m_politicalViewHasBeenSet; }
107 template <typename PoliticalViewT = Aws::String>
108 void SetPoliticalView(PoliticalViewT&& value) {
109 m_politicalViewHasBeenSet = true;
110 m_politicalView = std::forward<PoliticalViewT>(value);
111 }
112 template <typename PoliticalViewT = Aws::String>
114 SetPoliticalView(std::forward<PoliticalViewT>(value));
115 return *this;
116 }
118
120
132 inline Terrain GetTerrain() const { return m_terrain; }
133 inline bool TerrainHasBeenSet() const { return m_terrainHasBeenSet; }
134 inline void SetTerrain(Terrain value) {
135 m_terrainHasBeenSet = true;
136 m_terrain = value;
137 }
139 SetTerrain(value);
140 return *this;
141 }
143
145
154 inline ContourDensity GetContourDensity() const { return m_contourDensity; }
155 inline bool ContourDensityHasBeenSet() const { return m_contourDensityHasBeenSet; }
157 m_contourDensityHasBeenSet = true;
158 m_contourDensity = value;
159 }
161 SetContourDensity(value);
162 return *this;
163 }
165
167
175 inline Traffic GetTraffic() const { return m_traffic; }
176 inline bool TrafficHasBeenSet() const { return m_trafficHasBeenSet; }
177 inline void SetTraffic(Traffic value) {
178 m_trafficHasBeenSet = true;
179 m_traffic = value;
180 }
182 SetTraffic(value);
183 return *this;
184 }
186
188
198 inline const Aws::Vector<TravelMode>& GetTravelModes() const { return m_travelModes; }
199 inline bool TravelModesHasBeenSet() const { return m_travelModesHasBeenSet; }
200 template <typename TravelModesT = Aws::Vector<TravelMode>>
201 void SetTravelModes(TravelModesT&& value) {
202 m_travelModesHasBeenSet = true;
203 m_travelModes = std::forward<TravelModesT>(value);
204 }
205 template <typename TravelModesT = Aws::Vector<TravelMode>>
207 SetTravelModes(std::forward<TravelModesT>(value));
208 return *this;
209 }
211 m_travelModesHasBeenSet = true;
212 m_travelModes.push_back(value);
213 return *this;
214 }
216
218
225 inline Buildings GetBuildings() const { return m_buildings; }
226 inline bool BuildingsHasBeenSet() const { return m_buildingsHasBeenSet; }
227 inline void SetBuildings(Buildings value) {
228 m_buildingsHasBeenSet = true;
229 m_buildings = value;
230 }
232 SetBuildings(value);
233 return *this;
234 }
236
238
242 inline const Aws::String& GetKey() const { return m_key; }
243 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
244 template <typename KeyT = Aws::String>
245 void SetKey(KeyT&& value) {
246 m_keyHasBeenSet = true;
247 m_key = std::forward<KeyT>(value);
248 }
249 template <typename KeyT = Aws::String>
251 SetKey(std::forward<KeyT>(value));
252 return *this;
253 }
255 private:
257
258 ColorScheme m_colorScheme{ColorScheme::NOT_SET};
259
260 Aws::String m_politicalView;
261
262 Terrain m_terrain{Terrain::NOT_SET};
263
264 ContourDensity m_contourDensity{ContourDensity::NOT_SET};
265
266 Traffic m_traffic{Traffic::NOT_SET};
267
268 Aws::Vector<TravelMode> m_travelModes;
269
270 Buildings m_buildings{Buildings::NOT_SET};
271
272 Aws::String m_key;
273 bool m_styleHasBeenSet = false;
274 bool m_colorSchemeHasBeenSet = false;
275 bool m_politicalViewHasBeenSet = false;
276 bool m_terrainHasBeenSet = false;
277 bool m_contourDensityHasBeenSet = false;
278 bool m_trafficHasBeenSet = false;
279 bool m_travelModesHasBeenSet = false;
280 bool m_buildingsHasBeenSet = false;
281 bool m_keyHasBeenSet = false;
282};
283
284} // namespace Model
285} // namespace GeoMaps
286} // namespace Aws
GetStyleDescriptorRequest & WithTraffic(Traffic value)
AWS_GEOMAPS_API Aws::String SerializePayload() const override
GetStyleDescriptorRequest & WithColorScheme(ColorScheme value)
GetStyleDescriptorRequest & WithStyle(MapStyle value)
GetStyleDescriptorRequest & WithContourDensity(ContourDensity value)
AWS_GEOMAPS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetStyleDescriptorRequest & WithBuildings(Buildings value)
AWS_GEOMAPS_API GetStyleDescriptorRequest()=default
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 & WithTerrain(Terrain value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector