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

The ARN of the finding aggregator to return details for. To obtain the ARN, * use ListFindingAggregators.

*/ inline const Aws::String& GetFindingAggregatorArn() const{ return m_findingAggregatorArn; } /** *

The ARN of the finding aggregator to return details for. To obtain the ARN, * use ListFindingAggregators.

*/ inline bool FindingAggregatorArnHasBeenSet() const { return m_findingAggregatorArnHasBeenSet; } /** *

The ARN of the finding aggregator to return details for. To obtain the ARN, * use ListFindingAggregators.

*/ inline void SetFindingAggregatorArn(const Aws::String& value) { m_findingAggregatorArnHasBeenSet = true; m_findingAggregatorArn = value; } /** *

The ARN of the finding aggregator to return details for. To obtain the ARN, * use ListFindingAggregators.

*/ inline void SetFindingAggregatorArn(Aws::String&& value) { m_findingAggregatorArnHasBeenSet = true; m_findingAggregatorArn = std::move(value); } /** *

The ARN of the finding aggregator to return details for. To obtain the ARN, * use ListFindingAggregators.

*/ inline void SetFindingAggregatorArn(const char* value) { m_findingAggregatorArnHasBeenSet = true; m_findingAggregatorArn.assign(value); } /** *

The ARN of the finding aggregator to return details for. To obtain the ARN, * use ListFindingAggregators.

*/ inline GetFindingAggregatorRequest& WithFindingAggregatorArn(const Aws::String& value) { SetFindingAggregatorArn(value); return *this;} /** *

The ARN of the finding aggregator to return details for. To obtain the ARN, * use ListFindingAggregators.

*/ inline GetFindingAggregatorRequest& WithFindingAggregatorArn(Aws::String&& value) { SetFindingAggregatorArn(std::move(value)); return *this;} /** *

The ARN of the finding aggregator to return details for. To obtain the ARN, * use ListFindingAggregators.

*/ inline GetFindingAggregatorRequest& WithFindingAggregatorArn(const char* value) { SetFindingAggregatorArn(value); return *this;} private: Aws::String m_findingAggregatorArn; bool m_findingAggregatorArnHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws