/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace LocationService { namespace Model { /** */ class GetMapTileRequest : public LocationServiceRequest { public: AWS_LOCATIONSERVICE_API GetMapTileRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetMapTile"; } AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The optional API * key to authorize the request.

*/ inline const Aws::String& GetKey() const{ return m_key; } /** *

The optional API * key to authorize the request.

*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *

The optional API * key to authorize the request.

*/ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *

The optional API * key to authorize the request.

*/ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *

The optional API * key to authorize the request.

*/ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *

The optional API * key to authorize the request.

*/ inline GetMapTileRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *

The optional API * key to authorize the request.

*/ inline GetMapTileRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *

The optional API * key to authorize the request.

*/ inline GetMapTileRequest& WithKey(const char* value) { SetKey(value); return *this;} /** *

The map resource to retrieve the map tiles from.

*/ inline const Aws::String& GetMapName() const{ return m_mapName; } /** *

The map resource to retrieve the map tiles from.

*/ inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } /** *

The map resource to retrieve the map tiles from.

*/ inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } /** *

The map resource to retrieve the map tiles from.

*/ inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } /** *

The map resource to retrieve the map tiles from.

*/ inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } /** *

The map resource to retrieve the map tiles from.

*/ inline GetMapTileRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} /** *

The map resource to retrieve the map tiles from.

*/ inline GetMapTileRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} /** *

The map resource to retrieve the map tiles from.

*/ inline GetMapTileRequest& WithMapName(const char* value) { SetMapName(value); return *this;} /** *

The X axis value for the map tile.

*/ inline const Aws::String& GetX() const{ return m_x; } /** *

The X axis value for the map tile.

*/ inline bool XHasBeenSet() const { return m_xHasBeenSet; } /** *

The X axis value for the map tile.

*/ inline void SetX(const Aws::String& value) { m_xHasBeenSet = true; m_x = value; } /** *

The X axis value for the map tile.

*/ inline void SetX(Aws::String&& value) { m_xHasBeenSet = true; m_x = std::move(value); } /** *

The X axis value for the map tile.

*/ inline void SetX(const char* value) { m_xHasBeenSet = true; m_x.assign(value); } /** *

The X axis value for the map tile.

*/ inline GetMapTileRequest& WithX(const Aws::String& value) { SetX(value); return *this;} /** *

The X axis value for the map tile.

*/ inline GetMapTileRequest& WithX(Aws::String&& value) { SetX(std::move(value)); return *this;} /** *

The X axis value for the map tile.

*/ inline GetMapTileRequest& WithX(const char* value) { SetX(value); return *this;} /** *

The Y axis value for the map tile.

*/ inline const Aws::String& GetY() const{ return m_y; } /** *

The Y axis value for the map tile.

*/ inline bool YHasBeenSet() const { return m_yHasBeenSet; } /** *

The Y axis value for the map tile.

*/ inline void SetY(const Aws::String& value) { m_yHasBeenSet = true; m_y = value; } /** *

The Y axis value for the map tile.

*/ inline void SetY(Aws::String&& value) { m_yHasBeenSet = true; m_y = std::move(value); } /** *

The Y axis value for the map tile.

*/ inline void SetY(const char* value) { m_yHasBeenSet = true; m_y.assign(value); } /** *

The Y axis value for the map tile.

*/ inline GetMapTileRequest& WithY(const Aws::String& value) { SetY(value); return *this;} /** *

The Y axis value for the map tile.

*/ inline GetMapTileRequest& WithY(Aws::String&& value) { SetY(std::move(value)); return *this;} /** *

The Y axis value for the map tile.

*/ inline GetMapTileRequest& WithY(const char* value) { SetY(value); return *this;} /** *

The zoom value for the map tile.

*/ inline const Aws::String& GetZ() const{ return m_z; } /** *

The zoom value for the map tile.

*/ inline bool ZHasBeenSet() const { return m_zHasBeenSet; } /** *

The zoom value for the map tile.

*/ inline void SetZ(const Aws::String& value) { m_zHasBeenSet = true; m_z = value; } /** *

The zoom value for the map tile.

*/ inline void SetZ(Aws::String&& value) { m_zHasBeenSet = true; m_z = std::move(value); } /** *

The zoom value for the map tile.

*/ inline void SetZ(const char* value) { m_zHasBeenSet = true; m_z.assign(value); } /** *

The zoom value for the map tile.

*/ inline GetMapTileRequest& WithZ(const Aws::String& value) { SetZ(value); return *this;} /** *

The zoom value for the map tile.

*/ inline GetMapTileRequest& WithZ(Aws::String&& value) { SetZ(std::move(value)); return *this;} /** *

The zoom value for the map tile.

*/ inline GetMapTileRequest& WithZ(const char* value) { SetZ(value); return *this;} private: Aws::String m_key; bool m_keyHasBeenSet = false; Aws::String m_mapName; bool m_mapNameHasBeenSet = false; Aws::String m_x; bool m_xHasBeenSet = false; Aws::String m_y; bool m_yHasBeenSet = false; Aws::String m_z; bool m_zHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws