/** * 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 IoT { namespace Model { /** */ class DeleteMitigationActionRequest : public IoTRequest { public: AWS_IOT_API DeleteMitigationActionRequest(); // 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 "DeleteMitigationAction"; } AWS_IOT_API Aws::String SerializePayload() const override; /** *

The name of the mitigation action that you want to delete.

*/ inline const Aws::String& GetActionName() const{ return m_actionName; } /** *

The name of the mitigation action that you want to delete.

*/ inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; } /** *

The name of the mitigation action that you want to delete.

*/ inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; } /** *

The name of the mitigation action that you want to delete.

*/ inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); } /** *

The name of the mitigation action that you want to delete.

*/ inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); } /** *

The name of the mitigation action that you want to delete.

*/ inline DeleteMitigationActionRequest& WithActionName(const Aws::String& value) { SetActionName(value); return *this;} /** *

The name of the mitigation action that you want to delete.

*/ inline DeleteMitigationActionRequest& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;} /** *

The name of the mitigation action that you want to delete.

*/ inline DeleteMitigationActionRequest& WithActionName(const char* value) { SetActionName(value); return *this;} private: Aws::String m_actionName; bool m_actionNameHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws