/** * 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 DeleteInsightRequest : public SecurityHubRequest { public: AWS_SECURITYHUB_API DeleteInsightRequest(); // 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 "DeleteInsight"; } AWS_SECURITYHUB_API Aws::String SerializePayload() const override; /** *

The ARN of the insight to delete.

*/ inline const Aws::String& GetInsightArn() const{ return m_insightArn; } /** *

The ARN of the insight to delete.

*/ inline bool InsightArnHasBeenSet() const { return m_insightArnHasBeenSet; } /** *

The ARN of the insight to delete.

*/ inline void SetInsightArn(const Aws::String& value) { m_insightArnHasBeenSet = true; m_insightArn = value; } /** *

The ARN of the insight to delete.

*/ inline void SetInsightArn(Aws::String&& value) { m_insightArnHasBeenSet = true; m_insightArn = std::move(value); } /** *

The ARN of the insight to delete.

*/ inline void SetInsightArn(const char* value) { m_insightArnHasBeenSet = true; m_insightArn.assign(value); } /** *

The ARN of the insight to delete.

*/ inline DeleteInsightRequest& WithInsightArn(const Aws::String& value) { SetInsightArn(value); return *this;} /** *

The ARN of the insight to delete.

*/ inline DeleteInsightRequest& WithInsightArn(Aws::String&& value) { SetInsightArn(std::move(value)); return *this;} /** *

The ARN of the insight to delete.

*/ inline DeleteInsightRequest& WithInsightArn(const char* value) { SetInsightArn(value); return *this;} private: Aws::String m_insightArn; bool m_insightArnHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws