/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

A finding aggregator. A finding aggregator contains the configuration for * finding aggregation.

See Also:

AWS * API Reference

*/ class FindingAggregator { public: AWS_SECURITYHUB_API FindingAggregator(); AWS_SECURITYHUB_API FindingAggregator(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API FindingAggregator& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ARN of the finding aggregator. You use the finding aggregator ARN to * retrieve details for, update, and delete the finding aggregator.

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

The ARN of the finding aggregator. You use the finding aggregator ARN to * retrieve details for, update, and delete the finding aggregator.

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

The ARN of the finding aggregator. You use the finding aggregator ARN to * retrieve details for, update, and delete the finding aggregator.

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

The ARN of the finding aggregator. You use the finding aggregator ARN to * retrieve details for, update, and delete the finding aggregator.

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

The ARN of the finding aggregator. You use the finding aggregator ARN to * retrieve details for, update, and delete the finding aggregator.

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

The ARN of the finding aggregator. You use the finding aggregator ARN to * retrieve details for, update, and delete the finding aggregator.

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

The ARN of the finding aggregator. You use the finding aggregator ARN to * retrieve details for, update, and delete the finding aggregator.

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

The ARN of the finding aggregator. You use the finding aggregator ARN to * retrieve details for, update, and delete the finding aggregator.

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