/** * 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 GetMapSpritesRequest : public LocationServiceRequest { public: AWS_LOCATIONSERVICE_API GetMapSpritesRequest(); // 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 "GetMapSprites"; } AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The name of the sprite file. Use the following file names for the sprite * sheet:

  • sprites.png

  • * sprites@2x.png for high pixel density displays

*

For the JSON document containing image offsets. Use the following file * names:

  • sprites.json

  • * sprites@2x.json for high pixel density displays

*/ inline const Aws::String& GetFileName() const{ return m_fileName; } /** *

The name of the sprite file. Use the following file names for the sprite * sheet:

  • sprites.png

  • * sprites@2x.png for high pixel density displays

*

For the JSON document containing image offsets. Use the following file * names:

  • sprites.json

  • * sprites@2x.json for high pixel density displays

*/ inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; } /** *

The name of the sprite file. Use the following file names for the sprite * sheet:

  • sprites.png

  • * sprites@2x.png for high pixel density displays

*

For the JSON document containing image offsets. Use the following file * names:

  • sprites.json

  • * sprites@2x.json for high pixel density displays

*/ inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; } /** *

The name of the sprite file. Use the following file names for the sprite * sheet:

  • sprites.png

  • * sprites@2x.png for high pixel density displays

*

For the JSON document containing image offsets. Use the following file * names:

  • sprites.json

  • * sprites@2x.json for high pixel density displays

*/ inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); } /** *

The name of the sprite file. Use the following file names for the sprite * sheet:

  • sprites.png

  • * sprites@2x.png for high pixel density displays

*

For the JSON document containing image offsets. Use the following file * names:

  • sprites.json

  • * sprites@2x.json for high pixel density displays

*/ inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); } /** *

The name of the sprite file. Use the following file names for the sprite * sheet:

  • sprites.png

  • * sprites@2x.png for high pixel density displays

*

For the JSON document containing image offsets. Use the following file * names:

  • sprites.json

  • * sprites@2x.json for high pixel density displays

*/ inline GetMapSpritesRequest& WithFileName(const Aws::String& value) { SetFileName(value); return *this;} /** *

The name of the sprite file. Use the following file names for the sprite * sheet:

  • sprites.png

  • * sprites@2x.png for high pixel density displays

*

For the JSON document containing image offsets. Use the following file * names:

  • sprites.json

  • * sprites@2x.json for high pixel density displays

*/ inline GetMapSpritesRequest& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;} /** *

The name of the sprite file. Use the following file names for the sprite * sheet:

  • sprites.png

  • * sprites@2x.png for high pixel density displays

*

For the JSON document containing image offsets. Use the following file * names:

  • sprites.json

  • * sprites@2x.json for high pixel density displays

*/ inline GetMapSpritesRequest& WithFileName(const char* value) { SetFileName(value); return *this;} /** *

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 GetMapSpritesRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *

The optional API * key to authorize the request.

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

The optional API * key to authorize the request.

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

The map resource associated with the sprite file.

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

The map resource associated with the sprite file.

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

The map resource associated with the sprite file.

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

The map resource associated with the sprite file.

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

The map resource associated with the sprite file.

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

The map resource associated with the sprite file.

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

The map resource associated with the sprite file.

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

The map resource associated with the sprite file.

*/ inline GetMapSpritesRequest& WithMapName(const char* value) { SetMapName(value); return *this;} private: Aws::String m_fileName; bool m_fileNameHasBeenSet = false; Aws::String m_key; bool m_keyHasBeenSet = false; Aws::String m_mapName; bool m_mapNameHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws