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));
119 template <
typename CloudProv
idersT = Aws::Vector<StringFilter>>
121 m_cloudProvidersHasBeenSet =
true;
122 m_cloudProviders = std::forward<CloudProvidersT>(value);
124 template <
typename CloudProv
idersT = Aws::Vector<StringFilter>>
129 template <
typename CloudProv
idersT = StringFilter>
131 m_cloudProvidersHasBeenSet =
true;
132 m_cloudProviders.emplace_back(std::forward<CloudProvidersT>(value));
143 template <
typename CloudAccountIdsT = Aws::Vector<StringFilter>>
145 m_cloudAccountIdsHasBeenSet =
true;
146 m_cloudAccountIds = std::forward<CloudAccountIdsT>(value);
148 template <
typename CloudAccountIdsT = Aws::Vector<StringFilter>>
153 template <
typename CloudAccountIdsT = StringFilter>
155 m_cloudAccountIdsHasBeenSet =
true;
156 m_cloudAccountIds.emplace_back(std::forward<CloudAccountIdsT>(value));
167 template <
typename CloudOrgIdsT = Aws::Vector<StringFilter>>
169 m_cloudOrgIdsHasBeenSet =
true;
170 m_cloudOrgIds = std::forward<CloudOrgIdsT>(value);
172 template <
typename CloudOrgIdsT = Aws::Vector<StringFilter>>
177 template <
typename CloudOrgIdsT = StringFilter>
179 m_cloudOrgIdsHasBeenSet =
true;
180 m_cloudOrgIds.emplace_back(std::forward<CloudOrgIdsT>(value));
194 template <
typename CloudRegionsT = Aws::Vector<StringFilter>>
196 m_cloudRegionsHasBeenSet =
true;
197 m_cloudRegions = std::forward<CloudRegionsT>(value);
199 template <
typename CloudRegionsT = Aws::Vector<StringFilter>>
204 template <
typename CloudRegionsT = StringFilter>
206 m_cloudRegionsHasBeenSet =
true;
207 m_cloudRegions.emplace_back(std::forward<CloudRegionsT>(value));
222 template <
typename CloudPartitionsT = Aws::Vector<StringFilter>>
224 m_cloudPartitionsHasBeenSet =
true;
225 m_cloudPartitions = std::forward<CloudPartitionsT>(value);
227 template <
typename CloudPartitionsT = Aws::Vector<StringFilter>>
232 template <
typename CloudPartitionsT = StringFilter>
234 m_cloudPartitionsHasBeenSet =
true;
235 m_cloudPartitions.emplace_back(std::forward<CloudPartitionsT>(value));
247 m_sortOrderHasBeenSet =
true;
263 m_sortByHasBeenSet =
true;
291 bool m_repositoriesHasBeenSet =
false;
292 bool m_resourceIdsHasBeenSet =
false;
293 bool m_layerHashesHasBeenSet =
false;
294 bool m_cloudProvidersHasBeenSet =
false;
295 bool m_cloudAccountIdsHasBeenSet =
false;
296 bool m_cloudOrgIdsHasBeenSet =
false;
297 bool m_cloudRegionsHasBeenSet =
false;
298 bool m_cloudPartitionsHasBeenSet =
false;
299 bool m_sortOrderHasBeenSet =
false;
300 bool m_sortByHasBeenSet =
false;
bool RepositoriesHasBeenSet() const
ImageLayerAggregation & AddCloudAccountIds(CloudAccountIdsT &&value)
ImageLayerAggregation & AddCloudProviders(CloudProvidersT &&value)
const Aws::Vector< StringFilter > & GetCloudProviders() const
bool LayerHashesHasBeenSet() const
ImageLayerAggregation & WithCloudProviders(CloudProvidersT &&value)
AWS_INSPECTOR2_API ImageLayerAggregation()=default
ImageLayerAggregation & WithCloudPartitions(CloudPartitionsT &&value)
ImageLayerAggregation & AddResourceIds(ResourceIdsT &&value)
ImageLayerAggregation & WithSortOrder(SortOrder value)
void SetCloudPartitions(CloudPartitionsT &&value)
bool CloudPartitionsHasBeenSet() const
bool SortByHasBeenSet() const
const Aws::Vector< StringFilter > & GetResourceIds() const
ImageLayerAggregation & WithCloudAccountIds(CloudAccountIdsT &&value)
void SetCloudAccountIds(CloudAccountIdsT &&value)
const Aws::Vector< StringFilter > & GetCloudAccountIds() const
ImageLayerAggregation & WithCloudOrgIds(CloudOrgIdsT &&value)
void SetLayerHashes(LayerHashesT &&value)
ImageLayerAggregation & WithSortBy(ImageLayerSortBy value)
const Aws::Vector< StringFilter > & GetLayerHashes() const
bool ResourceIdsHasBeenSet() const
void SetCloudOrgIds(CloudOrgIdsT &&value)
bool CloudRegionsHasBeenSet() 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 > & GetCloudPartitions() const
bool CloudAccountIdsHasBeenSet() const
const Aws::Vector< StringFilter > & GetCloudRegions() const
const Aws::Vector< StringFilter > & GetRepositories() const
bool CloudProvidersHasBeenSet() const
ImageLayerAggregation & WithCloudRegions(CloudRegionsT &&value)
const Aws::Vector< StringFilter > & GetCloudOrgIds() const
void SetRepositories(RepositoriesT &&value)
ImageLayerSortBy GetSortBy() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool CloudOrgIdsHasBeenSet() const
ImageLayerAggregation & AddCloudOrgIds(CloudOrgIdsT &&value)
bool SortOrderHasBeenSet() const
ImageLayerAggregation & WithResourceIds(ResourceIdsT &&value)
ImageLayerAggregation & AddCloudPartitions(CloudPartitionsT &&value)
ImageLayerAggregation & WithRepositories(RepositoriesT &&value)
AWS_INSPECTOR2_API ImageLayerAggregation(Aws::Utils::Json::JsonView jsonValue)
SortOrder GetSortOrder() const
ImageLayerAggregation & AddCloudRegions(CloudRegionsT &&value)
void SetSortBy(ImageLayerSortBy value)
void SetCloudRegions(CloudRegionsT &&value)
ImageLayerAggregation & WithLayerHashes(LayerHashesT &&value)
void SetCloudProviders(CloudProvidersT &&value)
ImageLayerAggregation & AddRepositories(RepositoriesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue