/** * 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 SecurityHub { namespace Model { /** */ class DeleteActionTargetRequest : public SecurityHubRequest { public: AWS_SECURITYHUB_API DeleteActionTargetRequest(); // 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 "DeleteActionTarget"; } AWS_SECURITYHUB_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) of the custom action target to delete.

*/ inline const Aws::String& GetActionTargetArn() const{ return m_actionTargetArn; } /** *

The Amazon Resource Name (ARN) of the custom action target to delete.

*/ inline bool ActionTargetArnHasBeenSet() const { return m_actionTargetArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the custom action target to delete.

*/ inline void SetActionTargetArn(const Aws::String& value) { m_actionTargetArnHasBeenSet = true; m_actionTargetArn = value; } /** *

The Amazon Resource Name (ARN) of the custom action target to delete.

*/ inline void SetActionTargetArn(Aws::String&& value) { m_actionTargetArnHasBeenSet = true; m_actionTargetArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the custom action target to delete.

*/ inline void SetActionTargetArn(const char* value) { m_actionTargetArnHasBeenSet = true; m_actionTargetArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the custom action target to delete.

*/ inline DeleteActionTargetRequest& WithActionTargetArn(const Aws::String& value) { SetActionTargetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the custom action target to delete.

*/ inline DeleteActionTargetRequest& WithActionTargetArn(Aws::String&& value) { SetActionTargetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the custom action target to delete.

*/ inline DeleteActionTargetRequest& WithActionTargetArn(const char* value) { SetActionTargetArn(value); return *this;} private: Aws::String m_actionTargetArn; bool m_actionTargetArnHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws