AWS SDK for C++

AWS SDK for C++ Version 1.11.752

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
48 inline MapStyle GetStyle() const { return m_style; }
49 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
50 inline void SetStyle(MapStyle value) {
51 m_styleHasBeenSet = true;
52 m_style = value;
53 }
55 SetStyle(value);
56 return *this;
57 }
59
61
67 inline ColorScheme GetColorScheme() const { return m_colorScheme; }
68 inline bool ColorSchemeHasBeenSet() const { return m_colorSchemeHasBeenSet; }
69 inline void SetColorScheme(ColorScheme value) {
70 m_colorSchemeHasBeenSet = true;
71 m_colorScheme = value;
72 }
74 SetColorScheme(value);
75 return *this;
76 }
78
80
100 inline const Aws::String& GetPoliticalView() const { return m_politicalView; }
101 inline bool PoliticalViewHasBeenSet() const { return m_politicalViewHasBeenSet; }
102 template <typename PoliticalViewT = Aws::String>
103 void SetPoliticalView(PoliticalViewT&& value) {
104 m_politicalViewHasBeenSet = true;
105 m_politicalView = std::forward<PoliticalViewT>(value);
106 }
107 template <typename PoliticalViewT = Aws::String>
109 SetPoliticalView(std::forward<PoliticalViewT>(value));
110 return *this;
111 }
113
115
124 inline Terrain GetTerrain() const { return m_terrain; }
125 inline bool TerrainHasBeenSet() const { return m_terrainHasBeenSet; }
126 inline void SetTerrain(Terrain value) {
127 m_terrainHasBeenSet = true;
128 m_terrain = value;
129 }
131 SetTerrain(value);
132 return *this;
133 }
135
137
144 inline ContourDensity GetContourDensity() const { return m_contourDensity; }
145 inline bool ContourDensityHasBeenSet() const { return m_contourDensityHasBeenSet; }
147 m_contourDensityHasBeenSet = true;
148 m_contourDensity = value;
149 }
151 SetContourDensity(value);
152 return *this;
153 }
155
157
162 inline Traffic GetTraffic() const { return m_traffic; }
163 inline bool TrafficHasBeenSet() const { return m_trafficHasBeenSet; }
164 inline void SetTraffic(Traffic value) {
165 m_trafficHasBeenSet = true;
166 m_traffic = value;
167 }
169 SetTraffic(value);
170 return *this;
171 }
173
175
181 inline const Aws::Vector<TravelMode>& GetTravelModes() const { return m_travelModes; }
182 inline bool TravelModesHasBeenSet() const { return m_travelModesHasBeenSet; }
183 template <typename TravelModesT = Aws::Vector<TravelMode>>
184 void SetTravelModes(TravelModesT&& value) {
185 m_travelModesHasBeenSet = true;
186 m_travelModes = std::forward<TravelModesT>(value);
187 }
188 template <typename TravelModesT = Aws::Vector<TravelMode>>
190 SetTravelModes(std::forward<TravelModesT>(value));
191 return *this;
192 }
194 m_travelModesHasBeenSet = true;
195 m_travelModes.push_back(value);
196 return *this;
197 }
199
201
208 inline Buildings GetBuildings() const { return m_buildings; }
209 inline bool BuildingsHasBeenSet() const { return m_buildingsHasBeenSet; }
210 inline void SetBuildings(Buildings value) {
211 m_buildingsHasBeenSet = true;
212 m_buildings = value;
213 }
215 SetBuildings(value);
216 return *this;
217 }
219
221
225 inline const Aws::String& GetKey() const { return m_key; }
226 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
227 template <typename KeyT = Aws::String>
228 void SetKey(KeyT&& value) {
229 m_keyHasBeenSet = true;
230 m_key = std::forward<KeyT>(value);
231 }
232 template <typename KeyT = Aws::String>
234 SetKey(std::forward<KeyT>(value));
235 return *this;
236 }
238 private:
240
241 ColorScheme m_colorScheme{ColorScheme::NOT_SET};
242
243 Aws::String m_politicalView;
244
245 Terrain m_terrain{Terrain::NOT_SET};
246
247 ContourDensity m_contourDensity{ContourDensity::NOT_SET};
248
249 Traffic m_traffic{Traffic::NOT_SET};
250
251 Aws::Vector<TravelMode> m_travelModes;
252
253 Buildings m_buildings{Buildings::NOT_SET};
254
255 Aws::String m_key;
256 bool m_styleHasBeenSet = false;
257 bool m_colorSchemeHasBeenSet = false;
258 bool m_politicalViewHasBeenSet = false;
259 bool m_terrainHasBeenSet = false;
260 bool m_contourDensityHasBeenSet = false;
261 bool m_trafficHasBeenSet = false;
262 bool m_travelModesHasBeenSet = false;
263 bool m_buildingsHasBeenSet = false;
264 bool m_keyHasBeenSet = false;
265};
266
267} // namespace Model
268} // namespace GeoMaps
269} // 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