/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { class GetFindingAggregatorResult { public: AWS_SECURITYHUB_API GetFindingAggregatorResult(); AWS_SECURITYHUB_API GetFindingAggregatorResult(const Aws::AmazonWebServiceResult& result); AWS_SECURITYHUB_API GetFindingAggregatorResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the finding aggregator.

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

The ARN of the finding aggregator.

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

The ARN of the finding aggregator.

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

The ARN of the finding aggregator.

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

The ARN of the finding aggregator.

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

The ARN of the finding aggregator.

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

The ARN of the finding aggregator.

*/ inline GetFindingAggregatorResult& WithFindingAggregatorArn(const char* value) { SetFindingAggregatorArn(value); return *this;} /** *

The aggregation Region.

*/ inline const Aws::String& GetFindingAggregationRegion() const{ return m_findingAggregationRegion; } /** *

The aggregation Region.

*/ inline void SetFindingAggregationRegion(const Aws::String& value) { m_findingAggregationRegion = value; } /** *

The aggregation Region.

*/ inline void SetFindingAggregationRegion(Aws::String&& value) { m_findingAggregationRegion = std::move(value); } /** *

The aggregation Region.

*/ inline void SetFindingAggregationRegion(const char* value) { m_findingAggregationRegion.assign(value); } /** *

The aggregation Region.

*/ inline GetFindingAggregatorResult& WithFindingAggregationRegion(const Aws::String& value) { SetFindingAggregationRegion(value); return *this;} /** *

The aggregation Region.

*/ inline GetFindingAggregatorResult& WithFindingAggregationRegion(Aws::String&& value) { SetFindingAggregationRegion(std::move(value)); return *this;} /** *

The aggregation Region.

*/ inline GetFindingAggregatorResult& WithFindingAggregationRegion(const char* value) { SetFindingAggregationRegion(value); return *this;} /** *

Indicates whether to link all Regions, all Regions except for a list of * excluded Regions, or a list of included Regions.

*/ inline const Aws::String& GetRegionLinkingMode() const{ return m_regionLinkingMode; } /** *

Indicates whether to link all Regions, all Regions except for a list of * excluded Regions, or a list of included Regions.

*/ inline void SetRegionLinkingMode(const Aws::String& value) { m_regionLinkingMode = value; } /** *

Indicates whether to link all Regions, all Regions except for a list of * excluded Regions, or a list of included Regions.

*/ inline void SetRegionLinkingMode(Aws::String&& value) { m_regionLinkingMode = std::move(value); } /** *

Indicates whether to link all Regions, all Regions except for a list of * excluded Regions, or a list of included Regions.

*/ inline void SetRegionLinkingMode(const char* value) { m_regionLinkingMode.assign(value); } /** *

Indicates whether to link all Regions, all Regions except for a list of * excluded Regions, or a list of included Regions.

*/ inline GetFindingAggregatorResult& WithRegionLinkingMode(const Aws::String& value) { SetRegionLinkingMode(value); return *this;} /** *

Indicates whether to link all Regions, all Regions except for a list of * excluded Regions, or a list of included Regions.

*/ inline GetFindingAggregatorResult& WithRegionLinkingMode(Aws::String&& value) { SetRegionLinkingMode(std::move(value)); return *this;} /** *

Indicates whether to link all Regions, all Regions except for a list of * excluded Regions, or a list of included Regions.

*/ inline GetFindingAggregatorResult& WithRegionLinkingMode(const char* value) { SetRegionLinkingMode(value); return *this;} /** *

The list of excluded Regions or included Regions.

*/ inline const Aws::Vector& GetRegions() const{ return m_regions; } /** *

The list of excluded Regions or included Regions.

*/ inline void SetRegions(const Aws::Vector& value) { m_regions = value; } /** *

The list of excluded Regions or included Regions.

*/ inline void SetRegions(Aws::Vector&& value) { m_regions = std::move(value); } /** *

The list of excluded Regions or included Regions.

*/ inline GetFindingAggregatorResult& WithRegions(const Aws::Vector& value) { SetRegions(value); return *this;} /** *

The list of excluded Regions or included Regions.

*/ inline GetFindingAggregatorResult& WithRegions(Aws::Vector&& value) { SetRegions(std::move(value)); return *this;} /** *

The list of excluded Regions or included Regions.

*/ inline GetFindingAggregatorResult& AddRegions(const Aws::String& value) { m_regions.push_back(value); return *this; } /** *

The list of excluded Regions or included Regions.

*/ inline GetFindingAggregatorResult& AddRegions(Aws::String&& value) { m_regions.push_back(std::move(value)); return *this; } /** *

The list of excluded Regions or included Regions.

*/ inline GetFindingAggregatorResult& AddRegions(const char* value) { m_regions.push_back(value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetFindingAggregatorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetFindingAggregatorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetFindingAggregatorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_findingAggregatorArn; Aws::String m_findingAggregationRegion; Aws::String m_regionLinkingMode; Aws::Vector m_regions; Aws::String m_requestId; }; } // namespace Model } // namespace SecurityHub } // namespace Aws