7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/AmiSortBy.h>
10#include <aws/inspector2/model/SortOrder.h>
11#include <aws/inspector2/model/StringFilter.h>
44 template <
typename AmisT = Aws::Vector<StringFilter>>
46 m_amisHasBeenSet =
true;
47 m_amis = std::forward<AmisT>(value);
49 template <
typename AmisT = Aws::Vector<StringFilter>>
51 SetAmis(std::forward<AmisT>(value));
54 template <
typename AmisT = StringFilter>
56 m_amisHasBeenSet =
true;
57 m_amis.emplace_back(std::forward<AmisT>(value));
69 m_sortOrderHasBeenSet =
true;
85 m_sortByHasBeenSet =
true;
99 bool m_amisHasBeenSet =
false;
100 bool m_sortOrderHasBeenSet =
false;
101 bool m_sortByHasBeenSet =
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