7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/ImageLayerSortBy.h>
10#include <aws/inspector2/model/SortOrder.h>
11#include <aws/inspector2/model/StringFilter.h>
44 template <
typename RepositoriesT = Aws::Vector<StringFilter>>
46 m_repositoriesHasBeenSet =
true;
47 m_repositories = std::forward<RepositoriesT>(value);
49 template <
typename RepositoriesT = Aws::Vector<StringFilter>>
54 template <
typename RepositoriesT = StringFilter>
56 m_repositoriesHasBeenSet =
true;
57 m_repositories.emplace_back(std::forward<RepositoriesT>(value));
68 template <
typename ResourceIdsT = Aws::Vector<StringFilter>>
70 m_resourceIdsHasBeenSet =
true;
71 m_resourceIds = std::forward<ResourceIdsT>(value);
73 template <
typename ResourceIdsT = Aws::Vector<StringFilter>>
78 template <
typename ResourceIdsT = StringFilter>
80 m_resourceIdsHasBeenSet =
true;
81 m_resourceIds.emplace_back(std::forward<ResourceIdsT>(value));
92 template <
typename LayerHashesT = Aws::Vector<StringFilter>>
94 m_layerHashesHasBeenSet =
true;
95 m_layerHashes = std::forward<LayerHashesT>(value);
97 template <
typename LayerHashesT = Aws::Vector<StringFilter>>
102 template <
typename LayerHashesT = StringFilter>
104 m_layerHashesHasBeenSet =
true;
105 m_layerHashes.emplace_back(std::forward<LayerHashesT>(value));
117 m_sortOrderHasBeenSet =
true;
133 m_sortByHasBeenSet =
true;
151 bool m_repositoriesHasBeenSet =
false;
152 bool m_resourceIdsHasBeenSet =
false;
153 bool m_layerHashesHasBeenSet =
false;
154 bool m_sortOrderHasBeenSet =
false;
155 bool m_sortByHasBeenSet =
false;
bool RepositoriesHasBeenSet() const
bool LayerHashesHasBeenSet() const
AWS_INSPECTOR2_API ImageLayerAggregation()=default
ImageLayerAggregation & AddResourceIds(ResourceIdsT &&value)
ImageLayerAggregation & WithSortOrder(SortOrder value)
bool SortByHasBeenSet() const
const Aws::Vector< StringFilter > & GetResourceIds() const
void SetLayerHashes(LayerHashesT &&value)
ImageLayerAggregation & WithSortBy(ImageLayerSortBy value)
const Aws::Vector< StringFilter > & GetLayerHashes() const
bool ResourceIdsHasBeenSet() const
void SetSortOrder(SortOrder value)
void SetResourceIds(ResourceIdsT &&value)
AWS_INSPECTOR2_API ImageLayerAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageLayerAggregation & AddLayerHashes(LayerHashesT &&value)
const Aws::Vector< StringFilter > & GetRepositories() const
void SetRepositories(RepositoriesT &&value)
ImageLayerSortBy GetSortBy() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool SortOrderHasBeenSet() const
ImageLayerAggregation & WithResourceIds(ResourceIdsT &&value)
ImageLayerAggregation & WithRepositories(RepositoriesT &&value)
AWS_INSPECTOR2_API ImageLayerAggregation(Aws::Utils::Json::JsonView jsonValue)
SortOrder GetSortOrder() const
void SetSortBy(ImageLayerSortBy value)
ImageLayerAggregation & WithLayerHashes(LayerHashesT &&value)
ImageLayerAggregation & AddRepositories(RepositoriesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue