7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/AggregationFindingType.h>
9#include <aws/inspector2/model/AggregationResourceType.h>
10#include <aws/inspector2/model/TitleSortBy.h>
11#include <aws/inspector2/model/SortOrder.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/inspector2/model/StringFilter.h>
92 template<
typename TitlesT = Aws::Vector<StringFilter>>
93 void SetTitles(TitlesT&& value) { m_titlesHasBeenSet =
true; m_titles = std::forward<TitlesT>(value); }
94 template<
typename TitlesT = Aws::Vector<StringFilter>>
96 template<
typename TitlesT = StringFilter>
97 TitleAggregation&
AddTitles(TitlesT&& value) { m_titlesHasBeenSet =
true; m_titles.emplace_back(std::forward<TitlesT>(value));
return *
this; }
106 template<
typename VulnerabilityIdsT = Aws::Vector<StringFilter>>
107 void SetVulnerabilityIds(VulnerabilityIdsT&& value) { m_vulnerabilityIdsHasBeenSet =
true; m_vulnerabilityIds = std::forward<VulnerabilityIdsT>(value); }
108 template<
typename VulnerabilityIdsT = Aws::Vector<StringFilter>>
110 template<
typename VulnerabilityIdsT = StringFilter>
111 TitleAggregation&
AddVulnerabilityIds(VulnerabilityIdsT&& value) { m_vulnerabilityIdsHasBeenSet =
true; m_vulnerabilityIds.emplace_back(std::forward<VulnerabilityIdsT>(value));
return *
this; }
116 bool m_findingTypeHasBeenSet =
false;
119 bool m_resourceTypeHasBeenSet =
false;
122 bool m_sortByHasBeenSet =
false;
125 bool m_sortOrderHasBeenSet =
false;
128 bool m_titlesHasBeenSet =
false;
131 bool m_vulnerabilityIdsHasBeenSet =
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