1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/location/LocationService_EXPORTS.h>
8 #include <aws/location/LocationServiceRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace LocationService
15 {
16 namespace Model
17 {
18 
19   /**
20    */
21   class AWS_LOCATIONSERVICE_API GetMapTileRequest : public LocationServiceRequest
22   {
23   public:
24     GetMapTileRequest();
25 
26     // Service request name is the Operation name which will send this request out,
27     // each operation should has unique request name, so that we can get operation's name from this request.
28     // Note: this is not true for response, multiple operations may have the same response name,
29     // so we can not get operation's name from response.
GetServiceRequestName()30     inline virtual const char* GetServiceRequestName() const override { return "GetMapTile"; }
31 
32     Aws::String SerializePayload() const override;
33 
34 
35     /**
36      * <p>The map resource to retrieve the map tiles from.</p>
37      */
GetMapName()38     inline const Aws::String& GetMapName() const{ return m_mapName; }
39 
40     /**
41      * <p>The map resource to retrieve the map tiles from.</p>
42      */
MapNameHasBeenSet()43     inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; }
44 
45     /**
46      * <p>The map resource to retrieve the map tiles from.</p>
47      */
SetMapName(const Aws::String & value)48     inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; }
49 
50     /**
51      * <p>The map resource to retrieve the map tiles from.</p>
52      */
SetMapName(Aws::String && value)53     inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); }
54 
55     /**
56      * <p>The map resource to retrieve the map tiles from.</p>
57      */
SetMapName(const char * value)58     inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); }
59 
60     /**
61      * <p>The map resource to retrieve the map tiles from.</p>
62      */
WithMapName(const Aws::String & value)63     inline GetMapTileRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;}
64 
65     /**
66      * <p>The map resource to retrieve the map tiles from.</p>
67      */
WithMapName(Aws::String && value)68     inline GetMapTileRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;}
69 
70     /**
71      * <p>The map resource to retrieve the map tiles from.</p>
72      */
WithMapName(const char * value)73     inline GetMapTileRequest& WithMapName(const char* value) { SetMapName(value); return *this;}
74 
75 
76     /**
77      * <p>The X axis value for the map tile.</p>
78      */
GetX()79     inline const Aws::String& GetX() const{ return m_x; }
80 
81     /**
82      * <p>The X axis value for the map tile.</p>
83      */
XHasBeenSet()84     inline bool XHasBeenSet() const { return m_xHasBeenSet; }
85 
86     /**
87      * <p>The X axis value for the map tile.</p>
88      */
SetX(const Aws::String & value)89     inline void SetX(const Aws::String& value) { m_xHasBeenSet = true; m_x = value; }
90 
91     /**
92      * <p>The X axis value for the map tile.</p>
93      */
SetX(Aws::String && value)94     inline void SetX(Aws::String&& value) { m_xHasBeenSet = true; m_x = std::move(value); }
95 
96     /**
97      * <p>The X axis value for the map tile.</p>
98      */
SetX(const char * value)99     inline void SetX(const char* value) { m_xHasBeenSet = true; m_x.assign(value); }
100 
101     /**
102      * <p>The X axis value for the map tile.</p>
103      */
WithX(const Aws::String & value)104     inline GetMapTileRequest& WithX(const Aws::String& value) { SetX(value); return *this;}
105 
106     /**
107      * <p>The X axis value for the map tile.</p>
108      */
WithX(Aws::String && value)109     inline GetMapTileRequest& WithX(Aws::String&& value) { SetX(std::move(value)); return *this;}
110 
111     /**
112      * <p>The X axis value for the map tile.</p>
113      */
WithX(const char * value)114     inline GetMapTileRequest& WithX(const char* value) { SetX(value); return *this;}
115 
116 
117     /**
118      * <p>The Y axis value for the map tile. </p>
119      */
GetY()120     inline const Aws::String& GetY() const{ return m_y; }
121 
122     /**
123      * <p>The Y axis value for the map tile. </p>
124      */
YHasBeenSet()125     inline bool YHasBeenSet() const { return m_yHasBeenSet; }
126 
127     /**
128      * <p>The Y axis value for the map tile. </p>
129      */
SetY(const Aws::String & value)130     inline void SetY(const Aws::String& value) { m_yHasBeenSet = true; m_y = value; }
131 
132     /**
133      * <p>The Y axis value for the map tile. </p>
134      */
SetY(Aws::String && value)135     inline void SetY(Aws::String&& value) { m_yHasBeenSet = true; m_y = std::move(value); }
136 
137     /**
138      * <p>The Y axis value for the map tile. </p>
139      */
SetY(const char * value)140     inline void SetY(const char* value) { m_yHasBeenSet = true; m_y.assign(value); }
141 
142     /**
143      * <p>The Y axis value for the map tile. </p>
144      */
WithY(const Aws::String & value)145     inline GetMapTileRequest& WithY(const Aws::String& value) { SetY(value); return *this;}
146 
147     /**
148      * <p>The Y axis value for the map tile. </p>
149      */
WithY(Aws::String && value)150     inline GetMapTileRequest& WithY(Aws::String&& value) { SetY(std::move(value)); return *this;}
151 
152     /**
153      * <p>The Y axis value for the map tile. </p>
154      */
WithY(const char * value)155     inline GetMapTileRequest& WithY(const char* value) { SetY(value); return *this;}
156 
157 
158     /**
159      * <p>The zoom value for the map tile.</p>
160      */
GetZ()161     inline const Aws::String& GetZ() const{ return m_z; }
162 
163     /**
164      * <p>The zoom value for the map tile.</p>
165      */
ZHasBeenSet()166     inline bool ZHasBeenSet() const { return m_zHasBeenSet; }
167 
168     /**
169      * <p>The zoom value for the map tile.</p>
170      */
SetZ(const Aws::String & value)171     inline void SetZ(const Aws::String& value) { m_zHasBeenSet = true; m_z = value; }
172 
173     /**
174      * <p>The zoom value for the map tile.</p>
175      */
SetZ(Aws::String && value)176     inline void SetZ(Aws::String&& value) { m_zHasBeenSet = true; m_z = std::move(value); }
177 
178     /**
179      * <p>The zoom value for the map tile.</p>
180      */
SetZ(const char * value)181     inline void SetZ(const char* value) { m_zHasBeenSet = true; m_z.assign(value); }
182 
183     /**
184      * <p>The zoom value for the map tile.</p>
185      */
WithZ(const Aws::String & value)186     inline GetMapTileRequest& WithZ(const Aws::String& value) { SetZ(value); return *this;}
187 
188     /**
189      * <p>The zoom value for the map tile.</p>
190      */
WithZ(Aws::String && value)191     inline GetMapTileRequest& WithZ(Aws::String&& value) { SetZ(std::move(value)); return *this;}
192 
193     /**
194      * <p>The zoom value for the map tile.</p>
195      */
WithZ(const char * value)196     inline GetMapTileRequest& WithZ(const char* value) { SetZ(value); return *this;}
197 
198   private:
199 
200     Aws::String m_mapName;
201     bool m_mapNameHasBeenSet;
202 
203     Aws::String m_x;
204     bool m_xHasBeenSet;
205 
206     Aws::String m_y;
207     bool m_yHasBeenSet;
208 
209     Aws::String m_z;
210     bool m_zHasBeenSet;
211   };
212 
213 } // namespace Model
214 } // namespace LocationService
215 } // namespace Aws
216