7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/inspector2/model/AmiSortBy.h>
10#include <aws/inspector2/model/SortOrder.h>
11#include <aws/inspector2/model/StringFilter.h>
50 template<
typename AmisT = Aws::Vector<StringFilter>>
51 void SetAmis(AmisT&& value) { m_amisHasBeenSet =
true; m_amis = std::forward<AmisT>(value); }
52 template<
typename AmisT = Aws::Vector<StringFilter>>
54 template<
typename AmisT = StringFilter>
55 AmiAggregation&
AddAmis(AmisT&& value) { m_amisHasBeenSet =
true; m_amis.emplace_back(std::forward<AmisT>(value));
return *
this; }
80 bool m_amisHasBeenSet =
false;
83 bool m_sortByHasBeenSet =
false;
86 bool m_sortOrderHasBeenSet =
false;
AmiAggregation & WithAmis(AmisT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool SortOrderHasBeenSet() const
SortOrder GetSortOrder() const
AmiSortBy GetSortBy() const
void SetAmis(AmisT &&value)
AWS_INSPECTOR2_API AmiAggregation(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API AmiAggregation()=default
AWS_INSPECTOR2_API AmiAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSortBy(AmiSortBy value)
const Aws::Vector< StringFilter > & GetAmis() const
AmiAggregation & AddAmis(AmisT &&value)
bool AmisHasBeenSet() const
void SetSortOrder(SortOrder value)
AmiAggregation & WithSortOrder(SortOrder value)
bool SortByHasBeenSet() const
AmiAggregation & WithSortBy(AmiSortBy value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue