AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetStaticMapRequest.h
1
6#pragma once
7#include <aws/geo-maps/GeoMaps_EXPORTS.h>
8#include <aws/geo-maps/GeoMapsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/geo-maps/model/ScaleBarUnit.h>
11#include <aws/geo-maps/model/StaticMapStyle.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace GeoMaps
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_GEOMAPS_API GetStaticMapRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "GetStaticMap"; }
37
38 AWS_GEOMAPS_API Aws::String SerializePayload() const override;
39
40 AWS_GEOMAPS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
49 inline const Aws::String& GetBoundingBox() const{ return m_boundingBox; }
50 inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; }
51 inline void SetBoundingBox(const Aws::String& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = value; }
52 inline void SetBoundingBox(Aws::String&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::move(value); }
53 inline void SetBoundingBox(const char* value) { m_boundingBoxHasBeenSet = true; m_boundingBox.assign(value); }
54 inline GetStaticMapRequest& WithBoundingBox(const Aws::String& value) { SetBoundingBox(value); return *this;}
55 inline GetStaticMapRequest& WithBoundingBox(Aws::String&& value) { SetBoundingBox(std::move(value)); return *this;}
56 inline GetStaticMapRequest& WithBoundingBox(const char* value) { SetBoundingBox(value); return *this;}
58
60
67 inline const Aws::String& GetBoundedPositions() const{ return m_boundedPositions; }
68 inline bool BoundedPositionsHasBeenSet() const { return m_boundedPositionsHasBeenSet; }
69 inline void SetBoundedPositions(const Aws::String& value) { m_boundedPositionsHasBeenSet = true; m_boundedPositions = value; }
70 inline void SetBoundedPositions(Aws::String&& value) { m_boundedPositionsHasBeenSet = true; m_boundedPositions = std::move(value); }
71 inline void SetBoundedPositions(const char* value) { m_boundedPositionsHasBeenSet = true; m_boundedPositions.assign(value); }
72 inline GetStaticMapRequest& WithBoundedPositions(const Aws::String& value) { SetBoundedPositions(value); return *this;}
73 inline GetStaticMapRequest& WithBoundedPositions(Aws::String&& value) { SetBoundedPositions(std::move(value)); return *this;}
74 inline GetStaticMapRequest& WithBoundedPositions(const char* value) { SetBoundedPositions(value); return *this;}
76
78
84 inline const Aws::String& GetCenter() const{ return m_center; }
85 inline bool CenterHasBeenSet() const { return m_centerHasBeenSet; }
86 inline void SetCenter(const Aws::String& value) { m_centerHasBeenSet = true; m_center = value; }
87 inline void SetCenter(Aws::String&& value) { m_centerHasBeenSet = true; m_center = std::move(value); }
88 inline void SetCenter(const char* value) { m_centerHasBeenSet = true; m_center.assign(value); }
89 inline GetStaticMapRequest& WithCenter(const Aws::String& value) { SetCenter(value); return *this;}
90 inline GetStaticMapRequest& WithCenter(Aws::String&& value) { SetCenter(std::move(value)); return *this;}
91 inline GetStaticMapRequest& WithCenter(const char* value) { SetCenter(value); return *this;}
93
95
103 inline const Aws::String& GetCompactOverlay() const{ return m_compactOverlay; }
104 inline bool CompactOverlayHasBeenSet() const { return m_compactOverlayHasBeenSet; }
105 inline void SetCompactOverlay(const Aws::String& value) { m_compactOverlayHasBeenSet = true; m_compactOverlay = value; }
106 inline void SetCompactOverlay(Aws::String&& value) { m_compactOverlayHasBeenSet = true; m_compactOverlay = std::move(value); }
107 inline void SetCompactOverlay(const char* value) { m_compactOverlayHasBeenSet = true; m_compactOverlay.assign(value); }
108 inline GetStaticMapRequest& WithCompactOverlay(const Aws::String& value) { SetCompactOverlay(value); return *this;}
109 inline GetStaticMapRequest& WithCompactOverlay(Aws::String&& value) { SetCompactOverlay(std::move(value)); return *this;}
110 inline GetStaticMapRequest& WithCompactOverlay(const char* value) { SetCompactOverlay(value); return *this;}
112
114
122 inline const Aws::String& GetGeoJsonOverlay() const{ return m_geoJsonOverlay; }
123 inline bool GeoJsonOverlayHasBeenSet() const { return m_geoJsonOverlayHasBeenSet; }
124 inline void SetGeoJsonOverlay(const Aws::String& value) { m_geoJsonOverlayHasBeenSet = true; m_geoJsonOverlay = value; }
125 inline void SetGeoJsonOverlay(Aws::String&& value) { m_geoJsonOverlayHasBeenSet = true; m_geoJsonOverlay = std::move(value); }
126 inline void SetGeoJsonOverlay(const char* value) { m_geoJsonOverlayHasBeenSet = true; m_geoJsonOverlay.assign(value); }
127 inline GetStaticMapRequest& WithGeoJsonOverlay(const Aws::String& value) { SetGeoJsonOverlay(value); return *this;}
128 inline GetStaticMapRequest& WithGeoJsonOverlay(Aws::String&& value) { SetGeoJsonOverlay(std::move(value)); return *this;}
129 inline GetStaticMapRequest& WithGeoJsonOverlay(const char* value) { SetGeoJsonOverlay(value); return *this;}
131
133
136 inline int GetHeight() const{ return m_height; }
137 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
138 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
139 inline GetStaticMapRequest& WithHeight(int value) { SetHeight(value); return *this;}
141
143
147 inline const Aws::String& GetKey() const{ return m_key; }
148 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
149 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
150 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
151 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
152 inline GetStaticMapRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
153 inline GetStaticMapRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
154 inline GetStaticMapRequest& WithKey(const char* value) { SetKey(value); return *this;}
156
158
164 inline int GetPadding() const{ return m_padding; }
165 inline bool PaddingHasBeenSet() const { return m_paddingHasBeenSet; }
166 inline void SetPadding(int value) { m_paddingHasBeenSet = true; m_padding = value; }
167 inline GetStaticMapRequest& WithPadding(int value) { SetPadding(value); return *this;}
169
171
177 inline long long GetRadius() const{ return m_radius; }
178 inline bool RadiusHasBeenSet() const { return m_radiusHasBeenSet; }
179 inline void SetRadius(long long value) { m_radiusHasBeenSet = true; m_radius = value; }
180 inline GetStaticMapRequest& WithRadius(long long value) { SetRadius(value); return *this;}
182
184
189 inline const Aws::String& GetFileName() const{ return m_fileName; }
190 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
191 inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; }
192 inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); }
193 inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); }
194 inline GetStaticMapRequest& WithFileName(const Aws::String& value) { SetFileName(value); return *this;}
195 inline GetStaticMapRequest& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;}
196 inline GetStaticMapRequest& WithFileName(const char* value) { SetFileName(value); return *this;}
198
200
205 inline const ScaleBarUnit& GetScaleBarUnit() const{ return m_scaleBarUnit; }
206 inline bool ScaleBarUnitHasBeenSet() const { return m_scaleBarUnitHasBeenSet; }
207 inline void SetScaleBarUnit(const ScaleBarUnit& value) { m_scaleBarUnitHasBeenSet = true; m_scaleBarUnit = value; }
208 inline void SetScaleBarUnit(ScaleBarUnit&& value) { m_scaleBarUnitHasBeenSet = true; m_scaleBarUnit = std::move(value); }
209 inline GetStaticMapRequest& WithScaleBarUnit(const ScaleBarUnit& value) { SetScaleBarUnit(value); return *this;}
210 inline GetStaticMapRequest& WithScaleBarUnit(ScaleBarUnit&& value) { SetScaleBarUnit(std::move(value)); return *this;}
212
214
217 inline const StaticMapStyle& GetStyle() const{ return m_style; }
218 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
219 inline void SetStyle(const StaticMapStyle& value) { m_styleHasBeenSet = true; m_style = value; }
220 inline void SetStyle(StaticMapStyle&& value) { m_styleHasBeenSet = true; m_style = std::move(value); }
221 inline GetStaticMapRequest& WithStyle(const StaticMapStyle& value) { SetStyle(value); return *this;}
222 inline GetStaticMapRequest& WithStyle(StaticMapStyle&& value) { SetStyle(std::move(value)); return *this;}
224
226
229 inline int GetWidth() const{ return m_width; }
230 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
231 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
232 inline GetStaticMapRequest& WithWidth(int value) { SetWidth(value); return *this;}
234
236
240 inline double GetZoom() const{ return m_zoom; }
241 inline bool ZoomHasBeenSet() const { return m_zoomHasBeenSet; }
242 inline void SetZoom(double value) { m_zoomHasBeenSet = true; m_zoom = value; }
243 inline GetStaticMapRequest& WithZoom(double value) { SetZoom(value); return *this;}
245 private:
246
247 Aws::String m_boundingBox;
248 bool m_boundingBoxHasBeenSet = false;
249
250 Aws::String m_boundedPositions;
251 bool m_boundedPositionsHasBeenSet = false;
252
253 Aws::String m_center;
254 bool m_centerHasBeenSet = false;
255
256 Aws::String m_compactOverlay;
257 bool m_compactOverlayHasBeenSet = false;
258
259 Aws::String m_geoJsonOverlay;
260 bool m_geoJsonOverlayHasBeenSet = false;
261
262 int m_height;
263 bool m_heightHasBeenSet = false;
264
265 Aws::String m_key;
266 bool m_keyHasBeenSet = false;
267
268 int m_padding;
269 bool m_paddingHasBeenSet = false;
270
271 long long m_radius;
272 bool m_radiusHasBeenSet = false;
273
274 Aws::String m_fileName;
275 bool m_fileNameHasBeenSet = false;
276
277 ScaleBarUnit m_scaleBarUnit;
278 bool m_scaleBarUnitHasBeenSet = false;
279
280 StaticMapStyle m_style;
281 bool m_styleHasBeenSet = false;
282
283 int m_width;
284 bool m_widthHasBeenSet = false;
285
286 double m_zoom;
287 bool m_zoomHasBeenSet = false;
288 };
289
290} // namespace Model
291} // namespace GeoMaps
292} // namespace Aws
void SetScaleBarUnit(const ScaleBarUnit &value)
GetStaticMapRequest & WithCompactOverlay(const char *value)
GetStaticMapRequest & WithGeoJsonOverlay(const Aws::String &value)
void SetCompactOverlay(const Aws::String &value)
GetStaticMapRequest & WithKey(const char *value)
void SetBoundingBox(const Aws::String &value)
GetStaticMapRequest & WithWidth(int value)
GetStaticMapRequest & WithBoundedPositions(const char *value)
GetStaticMapRequest & WithFileName(const char *value)
const ScaleBarUnit & GetScaleBarUnit() const
void SetBoundedPositions(const Aws::String &value)
void SetFileName(const Aws::String &value)
const Aws::String & GetBoundedPositions() const
GetStaticMapRequest & WithBoundingBox(const Aws::String &value)
void SetCenter(const Aws::String &value)
GetStaticMapRequest & WithBoundedPositions(const Aws::String &value)
AWS_GEOMAPS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
AWS_GEOMAPS_API Aws::String SerializePayload() const override
GetStaticMapRequest & WithBoundedPositions(Aws::String &&value)
GetStaticMapRequest & WithCompactOverlay(Aws::String &&value)
GetStaticMapRequest & WithBoundingBox(const char *value)
GetStaticMapRequest & WithStyle(StaticMapStyle &&value)
const Aws::String & GetCompactOverlay() const
GetStaticMapRequest & WithHeight(int value)
GetStaticMapRequest & WithCompactOverlay(const Aws::String &value)
void SetGeoJsonOverlay(const Aws::String &value)
void SetStyle(const StaticMapStyle &value)
GetStaticMapRequest & WithRadius(long long value)
const StaticMapStyle & GetStyle() const
const Aws::String & GetGeoJsonOverlay() const
GetStaticMapRequest & WithKey(const Aws::String &value)
GetStaticMapRequest & WithFileName(Aws::String &&value)
GetStaticMapRequest & WithCenter(Aws::String &&value)
GetStaticMapRequest & WithCenter(const Aws::String &value)
GetStaticMapRequest & WithBoundingBox(Aws::String &&value)
GetStaticMapRequest & WithZoom(double value)
GetStaticMapRequest & WithScaleBarUnit(ScaleBarUnit &&value)
GetStaticMapRequest & WithGeoJsonOverlay(Aws::String &&value)
GetStaticMapRequest & WithKey(Aws::String &&value)
GetStaticMapRequest & WithFileName(const Aws::String &value)
GetStaticMapRequest & WithStyle(const StaticMapStyle &value)
GetStaticMapRequest & WithPadding(int value)
GetStaticMapRequest & WithGeoJsonOverlay(const char *value)
GetStaticMapRequest & WithScaleBarUnit(const ScaleBarUnit &value)
GetStaticMapRequest & WithCenter(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String