7#include <aws/ecr/ECR_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/ecr/model/ImageScanStatus.h>
12#include <aws/ecr/model/ImageScanFindingsSummary.h>
54 inline void SetRegistryId(
const char* value) { m_registryIdHasBeenSet =
true; m_registryId.assign(value); }
68 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
82 inline void SetImageDigest(
const char* value) { m_imageDigestHasBeenSet =
true; m_imageDigest.assign(value); }
100 inline ImageDetail&
AddImageTags(
const char* value) { m_imageTagsHasBeenSet =
true; m_imageTags.push_back(value);
return *
this; }
115 inline void SetImageSizeInBytes(
long long value) { m_imageSizeInBytesHasBeenSet =
true; m_imageSizeInBytes = value; }
164 inline void SetImageManifestMediaType(
const char* value) { m_imageManifestMediaTypeHasBeenSet =
true; m_imageManifestMediaType.assign(value); }
178 inline void SetArtifactMediaType(
const char* value) { m_artifactMediaTypeHasBeenSet =
true; m_artifactMediaType.assign(value); }
205 bool m_registryIdHasBeenSet =
false;
208 bool m_repositoryNameHasBeenSet =
false;
211 bool m_imageDigestHasBeenSet =
false;
214 bool m_imageTagsHasBeenSet =
false;
216 long long m_imageSizeInBytes;
217 bool m_imageSizeInBytesHasBeenSet =
false;
220 bool m_imagePushedAtHasBeenSet =
false;
223 bool m_imageScanStatusHasBeenSet =
false;
226 bool m_imageScanFindingsSummaryHasBeenSet =
false;
229 bool m_imageManifestMediaTypeHasBeenSet =
false;
232 bool m_artifactMediaTypeHasBeenSet =
false;
235 bool m_lastRecordedPullTimeHasBeenSet =
false;
bool LastRecordedPullTimeHasBeenSet() const
ImageDetail & WithImagePushedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetImageDigest() const
ImageDetail & WithImageTags(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetImageTags() const
bool RepositoryNameHasBeenSet() const
const ImageScanStatus & GetImageScanStatus() const
bool ImageSizeInBytesHasBeenSet() const
void SetImageTags(const Aws::Vector< Aws::String > &value)
ImageDetail & WithRepositoryName(const char *value)
ImageDetail & WithRepositoryName(Aws::String &&value)
long long GetImageSizeInBytes() const
void SetRegistryId(Aws::String &&value)
ImageDetail & WithImageScanFindingsSummary(const ImageScanFindingsSummary &value)
bool ImageScanStatusHasBeenSet() const
ImageDetail & WithImageSizeInBytes(long long value)
void SetArtifactMediaType(const char *value)
bool ArtifactMediaTypeHasBeenSet() const
const Aws::Utils::DateTime & GetImagePushedAt() const
ImageDetail & WithImageManifestMediaType(const Aws::String &value)
ImageDetail & WithArtifactMediaType(const Aws::String &value)
void SetImageDigest(const Aws::String &value)
bool ImageManifestMediaTypeHasBeenSet() const
ImageDetail & WithImagePushedAt(Aws::Utils::DateTime &&value)
void SetImageDigest(const char *value)
void SetImageScanFindingsSummary(ImageScanFindingsSummary &&value)
ImageDetail & WithImageScanStatus(ImageScanStatus &&value)
ImageDetail & WithImageDigest(const Aws::String &value)
ImageDetail & WithArtifactMediaType(const char *value)
const Aws::String & GetImageManifestMediaType() const
void SetLastRecordedPullTime(const Aws::Utils::DateTime &value)
AWS_ECR_API ImageDetail()
ImageDetail & WithRepositoryName(const Aws::String &value)
ImageDetail & WithImageDigest(Aws::String &&value)
ImageDetail & WithImageDigest(const char *value)
const Aws::String & GetRepositoryName() const
ImageDetail & WithArtifactMediaType(Aws::String &&value)
void SetImageManifestMediaType(Aws::String &&value)
const Aws::Utils::DateTime & GetLastRecordedPullTime() const
void SetArtifactMediaType(const Aws::String &value)
bool ImageScanFindingsSummaryHasBeenSet() const
const Aws::String & GetRegistryId() const
ImageDetail & WithLastRecordedPullTime(Aws::Utils::DateTime &&value)
bool RegistryIdHasBeenSet() const
void SetImageDigest(Aws::String &&value)
ImageDetail & WithImageScanStatus(const ImageScanStatus &value)
AWS_ECR_API ImageDetail(Aws::Utils::Json::JsonView jsonValue)
ImageDetail & WithRegistryId(Aws::String &&value)
void SetImageTags(Aws::Vector< Aws::String > &&value)
void SetLastRecordedPullTime(Aws::Utils::DateTime &&value)
ImageDetail & WithImageScanFindingsSummary(ImageScanFindingsSummary &&value)
void SetImagePushedAt(const Aws::Utils::DateTime &value)
ImageDetail & WithImageTags(const Aws::Vector< Aws::String > &value)
void SetImageManifestMediaType(const char *value)
void SetRegistryId(const Aws::String &value)
ImageDetail & WithRegistryId(const char *value)
ImageDetail & AddImageTags(const Aws::String &value)
ImageDetail & WithLastRecordedPullTime(const Aws::Utils::DateTime &value)
bool ImageTagsHasBeenSet() const
void SetImageScanStatus(ImageScanStatus &&value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
ImageDetail & WithImageManifestMediaType(const char *value)
void SetRepositoryName(Aws::String &&value)
void SetImageManifestMediaType(const Aws::String &value)
void SetImageSizeInBytes(long long value)
ImageDetail & WithRegistryId(const Aws::String &value)
void SetArtifactMediaType(Aws::String &&value)
ImageDetail & AddImageTags(Aws::String &&value)
void SetImageScanStatus(const ImageScanStatus &value)
const Aws::String & GetArtifactMediaType() const
bool ImageDigestHasBeenSet() const
const ImageScanFindingsSummary & GetImageScanFindingsSummary() const
void SetRepositoryName(const Aws::String &value)
bool ImagePushedAtHasBeenSet() const
void SetRepositoryName(const char *value)
ImageDetail & AddImageTags(const char *value)
void SetImageScanFindingsSummary(const ImageScanFindingsSummary &value)
void SetImagePushedAt(Aws::Utils::DateTime &&value)
AWS_ECR_API ImageDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageDetail & WithImageManifestMediaType(Aws::String &&value)
void SetRegistryId(const char *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