/**
* 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 operating system package
* type.See Also:
AWS
* API Reference
The names of packages to aggregate findings on.
*/ inline const Aws::VectorThe names of packages to aggregate findings on.
*/ inline bool PackageNamesHasBeenSet() const { return m_packageNamesHasBeenSet; } /** *The names of packages to aggregate findings on.
*/ inline void SetPackageNames(const Aws::VectorThe names of packages to aggregate findings on.
*/ inline void SetPackageNames(Aws::VectorThe names of packages to aggregate findings on.
*/ inline PackageAggregation& WithPackageNames(const Aws::VectorThe names of packages to aggregate findings on.
*/ inline PackageAggregation& WithPackageNames(Aws::VectorThe names of packages to aggregate findings on.
*/ inline PackageAggregation& AddPackageNames(const StringFilter& value) { m_packageNamesHasBeenSet = true; m_packageNames.push_back(value); return *this; } /** *The names of packages to aggregate findings on.
*/ inline PackageAggregation& AddPackageNames(StringFilter&& value) { m_packageNamesHasBeenSet = true; m_packageNames.push_back(std::move(value)); return *this; } /** *The value to sort results by.
*/ inline const PackageSortBy& 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 PackageSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; } /** *The value to sort results by.
*/ inline void SetSortBy(PackageSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); } /** *The value to sort results by.
*/ inline PackageAggregation& WithSortBy(const PackageSortBy& value) { SetSortBy(value); return *this;} /** *The value to sort results by.
*/ inline PackageAggregation& WithSortBy(PackageSortBy&& 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 PackageAggregation& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} /** *The order to sort results by.
*/ inline PackageAggregation& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} private: Aws::Vector