7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/AggregationFindingType.h>
10#include <aws/inspector2/model/AggregationResourceType.h>
11#include <aws/inspector2/model/SortOrder.h>
12#include <aws/inspector2/model/StringFilter.h>
13#include <aws/inspector2/model/TitleSortBy.h>
46 template <
typename TitlesT = Aws::Vector<StringFilter>>
48 m_titlesHasBeenSet =
true;
49 m_titles = std::forward<TitlesT>(value);
51 template <
typename TitlesT = Aws::Vector<StringFilter>>
56 template <
typename TitlesT = StringFilter>
58 m_titlesHasBeenSet =
true;
59 m_titles.emplace_back(std::forward<TitlesT>(value));
70 template <
typename VulnerabilityIdsT = Aws::Vector<StringFilter>>
72 m_vulnerabilityIdsHasBeenSet =
true;
73 m_vulnerabilityIds = std::forward<VulnerabilityIdsT>(value);
75 template <
typename VulnerabilityIdsT = Aws::Vector<StringFilter>>
80 template <
typename VulnerabilityIdsT = StringFilter>
82 m_vulnerabilityIdsHasBeenSet =
true;
83 m_vulnerabilityIds.emplace_back(std::forward<VulnerabilityIdsT>(value));
95 m_resourceTypeHasBeenSet =
true;
96 m_resourceType = value;
111 m_sortOrderHasBeenSet =
true;
127 m_sortByHasBeenSet =
true;
143 m_findingTypeHasBeenSet =
true;
144 m_findingType = value;
163 bool m_titlesHasBeenSet =
false;
164 bool m_vulnerabilityIdsHasBeenSet =
false;
165 bool m_resourceTypeHasBeenSet =
false;
166 bool m_sortOrderHasBeenSet =
false;
167 bool m_sortByHasBeenSet =
false;
168 bool m_findingTypeHasBeenSet =
false;
TitleAggregation & WithVulnerabilityIds(VulnerabilityIdsT &&value)
AggregationResourceType GetResourceType() const
void SetVulnerabilityIds(VulnerabilityIdsT &&value)
void SetFindingType(AggregationFindingType value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
TitleAggregation & WithFindingType(AggregationFindingType value)
const Aws::Vector< StringFilter > & GetVulnerabilityIds() const
const Aws::Vector< StringFilter > & GetTitles() const
bool SortOrderHasBeenSet() const
TitleAggregation & WithTitles(TitlesT &&value)
bool TitlesHasBeenSet() const
void SetSortOrder(SortOrder value)
void SetResourceType(AggregationResourceType value)
AWS_INSPECTOR2_API TitleAggregation()=default
void SetTitles(TitlesT &&value)
TitleAggregation & AddTitles(TitlesT &&value)
TitleAggregation & AddVulnerabilityIds(VulnerabilityIdsT &&value)
TitleAggregation & WithResourceType(AggregationResourceType value)
void SetSortBy(TitleSortBy value)
TitleSortBy GetSortBy() const
AWS_INSPECTOR2_API TitleAggregation(Aws::Utils::Json::JsonView jsonValue)
SortOrder GetSortOrder() const
bool ResourceTypeHasBeenSet() const
bool FindingTypeHasBeenSet() const
AWS_INSPECTOR2_API TitleAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
TitleAggregation & WithSortBy(TitleSortBy value)
bool SortByHasBeenSet() const
AggregationFindingType GetFindingType() const
bool VulnerabilityIdsHasBeenSet() const
TitleAggregation & WithSortOrder(SortOrder value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue