/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details that define an aggregation based on finding title.See
* Also:
AWS
* API Reference
The type of finding to aggregate on.
*/ inline const AggregationFindingType& GetFindingType() const{ return m_findingType; } /** *The type of finding to aggregate on.
*/ inline bool FindingTypeHasBeenSet() const { return m_findingTypeHasBeenSet; } /** *The type of finding to aggregate on.
*/ inline void SetFindingType(const AggregationFindingType& value) { m_findingTypeHasBeenSet = true; m_findingType = value; } /** *The type of finding to aggregate on.
*/ inline void SetFindingType(AggregationFindingType&& value) { m_findingTypeHasBeenSet = true; m_findingType = std::move(value); } /** *The type of finding to aggregate on.
*/ inline TitleAggregation& WithFindingType(const AggregationFindingType& value) { SetFindingType(value); return *this;} /** *The type of finding to aggregate on.
*/ inline TitleAggregation& WithFindingType(AggregationFindingType&& value) { SetFindingType(std::move(value)); return *this;} /** *The resource type to aggregate on.
*/ inline const AggregationResourceType& GetResourceType() const{ return m_resourceType; } /** *The resource type to aggregate on.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The resource type to aggregate on.
*/ inline void SetResourceType(const AggregationResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The resource type to aggregate on.
*/ inline void SetResourceType(AggregationResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The resource type to aggregate on.
*/ inline TitleAggregation& WithResourceType(const AggregationResourceType& value) { SetResourceType(value); return *this;} /** *The resource type to aggregate on.
*/ inline TitleAggregation& WithResourceType(AggregationResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *The value to sort results by.
*/ inline const TitleSortBy& GetSortBy() const{ return m_sortBy; } /** *The value to sort results by.
*/ inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; } /** *The value to sort results by.
*/ inline void SetSortBy(const TitleSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; } /** *The value to sort results by.
*/ inline void SetSortBy(TitleSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); } /** *The value to sort results by.
*/ inline TitleAggregation& WithSortBy(const TitleSortBy& value) { SetSortBy(value); return *this;} /** *The value to sort results by.
*/ inline TitleAggregation& WithSortBy(TitleSortBy&& value) { SetSortBy(std::move(value)); return *this;} /** *The order to sort results by.
*/ inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } /** *The order to sort results by.
*/ inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } /** *The order to sort results by.
*/ inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } /** *The order to sort results by.
*/ inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } /** *The order to sort results by.
*/ inline TitleAggregation& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} /** *The order to sort results by.
*/ inline TitleAggregation& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} /** *The finding titles to aggregate on.
*/ inline const Aws::VectorThe finding titles to aggregate on.
*/ inline bool TitlesHasBeenSet() const { return m_titlesHasBeenSet; } /** *The finding titles to aggregate on.
*/ inline void SetTitles(const Aws::VectorThe finding titles to aggregate on.
*/ inline void SetTitles(Aws::VectorThe finding titles to aggregate on.
*/ inline TitleAggregation& WithTitles(const Aws::VectorThe finding titles to aggregate on.
*/ inline TitleAggregation& WithTitles(Aws::VectorThe finding titles to aggregate on.
*/ inline TitleAggregation& AddTitles(const StringFilter& value) { m_titlesHasBeenSet = true; m_titles.push_back(value); return *this; } /** *The finding titles to aggregate on.
*/ inline TitleAggregation& AddTitles(StringFilter&& value) { m_titlesHasBeenSet = true; m_titles.push_back(std::move(value)); return *this; } /** *The vulnerability IDs of the findings.
*/ inline const Aws::VectorThe vulnerability IDs of the findings.
*/ inline bool VulnerabilityIdsHasBeenSet() const { return m_vulnerabilityIdsHasBeenSet; } /** *The vulnerability IDs of the findings.
*/ inline void SetVulnerabilityIds(const Aws::VectorThe vulnerability IDs of the findings.
*/ inline void SetVulnerabilityIds(Aws::VectorThe vulnerability IDs of the findings.
*/ inline TitleAggregation& WithVulnerabilityIds(const Aws::VectorThe vulnerability IDs of the findings.
*/ inline TitleAggregation& WithVulnerabilityIds(Aws::VectorThe vulnerability IDs of the findings.
*/ inline TitleAggregation& AddVulnerabilityIds(const StringFilter& value) { m_vulnerabilityIdsHasBeenSet = true; m_vulnerabilityIds.push_back(value); return *this; } /** *The vulnerability IDs of the findings.
*/ inline TitleAggregation& AddVulnerabilityIds(StringFilter&& value) { m_vulnerabilityIdsHasBeenSet = true; m_vulnerabilityIds.push_back(std::move(value)); return *this; } private: AggregationFindingType m_findingType; bool m_findingTypeHasBeenSet = false; AggregationResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; TitleSortBy m_sortBy; bool m_sortByHasBeenSet = false; SortOrder m_sortOrder; bool m_sortOrderHasBeenSet = false; Aws::Vector