7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/SeverityCounts.h>
42 template <
typename RepositoryT = Aws::String>
44 m_repositoryHasBeenSet =
true;
45 m_repository = std::forward<RepositoryT>(value);
47 template <
typename RepositoryT = Aws::String>
60 template <
typename ResourceIdT = Aws::String>
62 m_resourceIdHasBeenSet =
true;
63 m_resourceId = std::forward<ResourceIdT>(value);
65 template <
typename ResourceIdT = Aws::String>
78 template <
typename LayerHashT = Aws::String>
80 m_layerHashHasBeenSet =
true;
81 m_layerHash = std::forward<LayerHashT>(value);
83 template <
typename LayerHashT = Aws::String>
97 template <
typename AccountIdT = Aws::String>
99 m_accountIdHasBeenSet =
true;
100 m_accountId = std::forward<AccountIdT>(value);
102 template <
typename AccountIdT = Aws::String>
118 template <
typename CloudProv
iderT = Aws::String>
120 m_cloudProviderHasBeenSet =
true;
121 m_cloudProvider = std::forward<CloudProviderT>(value);
123 template <
typename CloudProv
iderT = Aws::String>
136 template <
typename CloudAccountIdT = Aws::String>
138 m_cloudAccountIdHasBeenSet =
true;
139 m_cloudAccountId = std::forward<CloudAccountIdT>(value);
141 template <
typename CloudAccountIdT = Aws::String>
154 template <
typename CloudOrgIdT = Aws::String>
156 m_cloudOrgIdHasBeenSet =
true;
157 m_cloudOrgId = std::forward<CloudOrgIdT>(value);
159 template <
typename CloudOrgIdT = Aws::String>
175 template <
typename CloudRegionT = Aws::String>
177 m_cloudRegionHasBeenSet =
true;
178 m_cloudRegion = std::forward<CloudRegionT>(value);
180 template <
typename CloudRegionT = Aws::String>
198 template <
typename CloudPartitionT = Aws::String>
200 m_cloudPartitionHasBeenSet =
true;
201 m_cloudPartition = std::forward<CloudPartitionT>(value);
203 template <
typename CloudPartitionT = Aws::String>
216 template <
typename SeverityCountsT = SeverityCounts>
218 m_severityCountsHasBeenSet =
true;
219 m_severityCounts = std::forward<SeverityCountsT>(value);
221 template <
typename SeverityCountsT = SeverityCounts>
247 bool m_repositoryHasBeenSet =
false;
248 bool m_resourceIdHasBeenSet =
false;
249 bool m_layerHashHasBeenSet =
false;
250 bool m_accountIdHasBeenSet =
false;
251 bool m_cloudProviderHasBeenSet =
false;
252 bool m_cloudAccountIdHasBeenSet =
false;
253 bool m_cloudOrgIdHasBeenSet =
false;
254 bool m_cloudRegionHasBeenSet =
false;
255 bool m_cloudPartitionHasBeenSet =
false;
256 bool m_severityCountsHasBeenSet =
false;
const SeverityCounts & GetSeverityCounts() const
ImageLayerAggregationResponse & WithAccountId(AccountIdT &&value)
bool CloudProviderHasBeenSet() const
ImageLayerAggregationResponse & WithCloudOrgId(CloudOrgIdT &&value)
const Aws::String & GetCloudPartition() const
ImageLayerAggregationResponse & WithSeverityCounts(SeverityCountsT &&value)
void SetCloudPartition(CloudPartitionT &&value)
ImageLayerAggregationResponse & WithCloudAccountId(CloudAccountIdT &&value)
bool AccountIdHasBeenSet() const
bool CloudOrgIdHasBeenSet() const
void SetLayerHash(LayerHashT &&value)
const Aws::String & GetRepository() const
bool LayerHashHasBeenSet() const
ImageLayerAggregationResponse & WithCloudRegion(CloudRegionT &&value)
bool CloudPartitionHasBeenSet() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API ImageLayerAggregationResponse()=default
ImageLayerAggregationResponse & WithLayerHash(LayerHashT &&value)
void SetCloudOrgId(CloudOrgIdT &&value)
void SetCloudRegion(CloudRegionT &&value)
AWS_INSPECTOR2_API ImageLayerAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCloudAccountId() const
bool CloudRegionHasBeenSet() const
const Aws::String & GetCloudOrgId() const
void SetResourceId(ResourceIdT &&value)
bool ResourceIdHasBeenSet() const
void SetRepository(RepositoryT &&value)
void SetSeverityCounts(SeverityCountsT &&value)
AWS_INSPECTOR2_API ImageLayerAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
void SetCloudAccountId(CloudAccountIdT &&value)
ImageLayerAggregationResponse & WithCloudProvider(CloudProviderT &&value)
bool CloudAccountIdHasBeenSet() const
const Aws::String & GetLayerHash() const
void SetCloudProvider(CloudProviderT &&value)
const Aws::String & GetAccountId() const
const Aws::String & GetResourceId() const
void SetAccountId(AccountIdT &&value)
bool SeverityCountsHasBeenSet() const
const Aws::String & GetCloudRegion() const
ImageLayerAggregationResponse & WithRepository(RepositoryT &&value)
ImageLayerAggregationResponse & WithCloudPartition(CloudPartitionT &&value)
bool RepositoryHasBeenSet() const
const Aws::String & GetCloudProvider() const
ImageLayerAggregationResponse & WithResourceId(ResourceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue