/** * 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 IoT1ClickProjects { namespace Model { /** */ class DeletePlacementRequest : public IoT1ClickProjectsRequest { public: AWS_IOT1CLICKPROJECTS_API DeletePlacementRequest(); // 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 "DeletePlacement"; } AWS_IOT1CLICKPROJECTS_API Aws::String SerializePayload() const override; /** *

The name of the empty placement to delete.

*/ inline const Aws::String& GetPlacementName() const{ return m_placementName; } /** *

The name of the empty placement to delete.

*/ inline bool PlacementNameHasBeenSet() const { return m_placementNameHasBeenSet; } /** *

The name of the empty placement to delete.

*/ inline void SetPlacementName(const Aws::String& value) { m_placementNameHasBeenSet = true; m_placementName = value; } /** *

The name of the empty placement to delete.

*/ inline void SetPlacementName(Aws::String&& value) { m_placementNameHasBeenSet = true; m_placementName = std::move(value); } /** *

The name of the empty placement to delete.

*/ inline void SetPlacementName(const char* value) { m_placementNameHasBeenSet = true; m_placementName.assign(value); } /** *

The name of the empty placement to delete.

*/ inline DeletePlacementRequest& WithPlacementName(const Aws::String& value) { SetPlacementName(value); return *this;} /** *

The name of the empty placement to delete.

*/ inline DeletePlacementRequest& WithPlacementName(Aws::String&& value) { SetPlacementName(std::move(value)); return *this;} /** *

The name of the empty placement to delete.

*/ inline DeletePlacementRequest& WithPlacementName(const char* value) { SetPlacementName(value); return *this;} /** *

The project containing the empty placement to delete.

*/ inline const Aws::String& GetProjectName() const{ return m_projectName; } /** *

The project containing the empty placement to delete.

*/ inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } /** *

The project containing the empty placement to delete.

*/ inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; } /** *

The project containing the empty placement to delete.

*/ inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); } /** *

The project containing the empty placement to delete.

*/ inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); } /** *

The project containing the empty placement to delete.

*/ inline DeletePlacementRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;} /** *

The project containing the empty placement to delete.

*/ inline DeletePlacementRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;} /** *

The project containing the empty placement to delete.

*/ inline DeletePlacementRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;} private: Aws::String m_placementName; bool m_placementNameHasBeenSet = false; Aws::String m_projectName; bool m_projectNameHasBeenSet = false; }; } // namespace Model } // namespace IoT1ClickProjects } // namespace Aws