/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace LocationService { namespace Model { /** */ class UpdateMapRequest : public LocationServiceRequest { public: AWS_LOCATIONSERVICE_API UpdateMapRequest(); // 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 "UpdateMap"; } AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; /** *

Updates the parts of the map configuration that can be updated, including the * political view.

*/ inline const MapConfigurationUpdate& GetConfigurationUpdate() const{ return m_configurationUpdate; } /** *

Updates the parts of the map configuration that can be updated, including the * political view.

*/ inline bool ConfigurationUpdateHasBeenSet() const { return m_configurationUpdateHasBeenSet; } /** *

Updates the parts of the map configuration that can be updated, including the * political view.

*/ inline void SetConfigurationUpdate(const MapConfigurationUpdate& value) { m_configurationUpdateHasBeenSet = true; m_configurationUpdate = value; } /** *

Updates the parts of the map configuration that can be updated, including the * political view.

*/ inline void SetConfigurationUpdate(MapConfigurationUpdate&& value) { m_configurationUpdateHasBeenSet = true; m_configurationUpdate = std::move(value); } /** *

Updates the parts of the map configuration that can be updated, including the * political view.

*/ inline UpdateMapRequest& WithConfigurationUpdate(const MapConfigurationUpdate& value) { SetConfigurationUpdate(value); return *this;} /** *

Updates the parts of the map configuration that can be updated, including the * political view.

*/ inline UpdateMapRequest& WithConfigurationUpdate(MapConfigurationUpdate&& value) { SetConfigurationUpdate(std::move(value)); return *this;} /** *

Updates the description for the map resource.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Updates the description for the map resource.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

Updates the description for the map resource.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

Updates the description for the map resource.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

Updates the description for the map resource.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

Updates the description for the map resource.

*/ inline UpdateMapRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Updates the description for the map resource.

*/ inline UpdateMapRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Updates the description for the map resource.

*/ inline UpdateMapRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The name of the map resource to update.

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

The name of the map resource to update.

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

The name of the map resource to update.

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

The name of the map resource to update.

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

The name of the map resource to update.

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

The name of the map resource to update.

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

The name of the map resource to update.

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

The name of the map resource to update.

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