84 lines
2.7 KiB
C++
84 lines
2.7 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/securityhub/SecurityHub_EXPORTS.h>
|
|
#include <aws/securityhub/SecurityHubRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace SecurityHub
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_SECURITYHUB_API DeleteActionTargetRequest : public SecurityHubRequest
|
|
{
|
|
public:
|
|
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::String SerializePayload() const override;
|
|
|
|
|
|
/**
|
|
* <p>The ARN of the custom action target to delete.</p>
|
|
*/
|
|
inline const Aws::String& GetActionTargetArn() const{ return m_actionTargetArn; }
|
|
|
|
/**
|
|
* <p>The ARN of the custom action target to delete.</p>
|
|
*/
|
|
inline bool ActionTargetArnHasBeenSet() const { return m_actionTargetArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ARN of the custom action target to delete.</p>
|
|
*/
|
|
inline void SetActionTargetArn(const Aws::String& value) { m_actionTargetArnHasBeenSet = true; m_actionTargetArn = value; }
|
|
|
|
/**
|
|
* <p>The ARN of the custom action target to delete.</p>
|
|
*/
|
|
inline void SetActionTargetArn(Aws::String&& value) { m_actionTargetArnHasBeenSet = true; m_actionTargetArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the custom action target to delete.</p>
|
|
*/
|
|
inline void SetActionTargetArn(const char* value) { m_actionTargetArnHasBeenSet = true; m_actionTargetArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the custom action target to delete.</p>
|
|
*/
|
|
inline DeleteActionTargetRequest& WithActionTargetArn(const Aws::String& value) { SetActionTargetArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the custom action target to delete.</p>
|
|
*/
|
|
inline DeleteActionTargetRequest& WithActionTargetArn(Aws::String&& value) { SetActionTargetArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the custom action target to delete.</p>
|
|
*/
|
|
inline DeleteActionTargetRequest& WithActionTargetArn(const char* value) { SetActionTargetArn(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_actionTargetArn;
|
|
bool m_actionTargetArnHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SecurityHub
|
|
} // namespace Aws
|