7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/inspector2/model/SeverityCounts.h>
51 template<
typename AccountIdT = Aws::String>
52 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
53 template<
typename AccountIdT = Aws::String>
63 template<
typename ArchitectureT = Aws::String>
64 void SetArchitecture(ArchitectureT&& value) { m_architectureHasBeenSet =
true; m_architecture = std::forward<ArchitectureT>(value); }
65 template<
typename ArchitectureT = Aws::String>
75 template<
typename ImageShaT = Aws::String>
76 void SetImageSha(ImageShaT&& value) { m_imageShaHasBeenSet =
true; m_imageSha = std::forward<ImageShaT>(value); }
77 template<
typename ImageShaT = Aws::String>
87 template<
typename ImageTagsT = Aws::Vector<Aws::String>>
88 void SetImageTags(ImageTagsT&& value) { m_imageTagsHasBeenSet =
true; m_imageTags = std::forward<ImageTagsT>(value); }
89 template<
typename ImageTagsT = Aws::Vector<Aws::String>>
91 template<
typename ImageTagsT = Aws::String>
102 inline void SetInUseCount(
long long value) { m_inUseCountHasBeenSet =
true; m_inUseCount = value; }
113 template<
typename LastInUseAtT = Aws::Utils::DateTime>
114 void SetLastInUseAt(LastInUseAtT&& value) { m_lastInUseAtHasBeenSet =
true; m_lastInUseAt = std::forward<LastInUseAtT>(value); }
115 template<
typename LastInUseAtT = Aws::Utils::DateTime>
125 template<
typename RepositoryT = Aws::String>
126 void SetRepository(RepositoryT&& value) { m_repositoryHasBeenSet =
true; m_repository = std::forward<RepositoryT>(value); }
127 template<
typename RepositoryT = Aws::String>
137 template<
typename ResourceIdT = Aws::String>
138 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
139 template<
typename ResourceIdT = Aws::String>
149 template<
typename SeverityCountsT = SeverityCounts>
150 void SetSeverityCounts(SeverityCountsT&& value) { m_severityCountsHasBeenSet =
true; m_severityCounts = std::forward<SeverityCountsT>(value); }
151 template<
typename SeverityCountsT = SeverityCounts>
157 bool m_accountIdHasBeenSet =
false;
160 bool m_architectureHasBeenSet =
false;
163 bool m_imageShaHasBeenSet =
false;
166 bool m_imageTagsHasBeenSet =
false;
168 long long m_inUseCount{0};
169 bool m_inUseCountHasBeenSet =
false;
172 bool m_lastInUseAtHasBeenSet =
false;
175 bool m_repositoryHasBeenSet =
false;
178 bool m_resourceIdHasBeenSet =
false;
180 SeverityCounts m_severityCounts;
181 bool m_severityCountsHasBeenSet =
false;
AwsEcrContainerAggregationResponse & WithInUseCount(long long value)
const SeverityCounts & GetSeverityCounts() const
void SetImageTags(ImageTagsT &&value)
AwsEcrContainerAggregationResponse & WithImageTags(ImageTagsT &&value)
AwsEcrContainerAggregationResponse & AddImageTags(ImageTagsT &&value)
const Aws::Utils::DateTime & GetLastInUseAt() const
AWS_INSPECTOR2_API AwsEcrContainerAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
AwsEcrContainerAggregationResponse & WithArchitecture(ArchitectureT &&value)
AwsEcrContainerAggregationResponse & WithImageSha(ImageShaT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEcrContainerAggregationResponse & WithAccountId(AccountIdT &&value)
bool ImageShaHasBeenSet() const
long long GetInUseCount() const
bool ImageTagsHasBeenSet() const
bool ArchitectureHasBeenSet() const
void SetImageSha(ImageShaT &&value)
void SetResourceId(ResourceIdT &&value)
const Aws::String & GetAccountId() const
bool InUseCountHasBeenSet() const
void SetRepository(RepositoryT &&value)
void SetArchitecture(ArchitectureT &&value)
bool RepositoryHasBeenSet() const
AWS_INSPECTOR2_API AwsEcrContainerAggregationResponse()=default
AwsEcrContainerAggregationResponse & WithSeverityCounts(SeverityCountsT &&value)
AwsEcrContainerAggregationResponse & WithResourceId(ResourceIdT &&value)
const Aws::Vector< Aws::String > & GetImageTags() const
bool SeverityCountsHasBeenSet() const
AWS_INSPECTOR2_API AwsEcrContainerAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceId() const
bool AccountIdHasBeenSet() const
void SetLastInUseAt(LastInUseAtT &&value)
void SetInUseCount(long long value)
bool ResourceIdHasBeenSet() const
void SetSeverityCounts(SeverityCountsT &&value)
AwsEcrContainerAggregationResponse & WithLastInUseAt(LastInUseAtT &&value)
const Aws::String & GetImageSha() const
void SetAccountId(AccountIdT &&value)
const Aws::String & GetArchitecture() const
const Aws::String & GetRepository() const
bool LastInUseAtHasBeenSet() const
AwsEcrContainerAggregationResponse & WithRepository(RepositoryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue