/** * 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 LocationService { namespace Model { /** */ class DescribeMapRequest : public LocationServiceRequest { public: AWS_LOCATIONSERVICE_API DescribeMapRequest(); // 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 "DescribeMap"; } AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; /** *

The name of the map resource.

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

The name of the map resource.

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

The name of the map resource.

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

The name of the map resource.

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

The name of the map resource.

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

The name of the map resource.

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

The name of the map resource.

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

The name of the map resource.

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