/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that describes an image returned by a DescribeImages
* operation.See Also:
AWS API
* Reference
The Amazon Web Services account ID associated with the registry to which this * image belongs.
*/ inline const Aws::String& GetRegistryId() const{ return m_registryId; } inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; } inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; } inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); } inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); } inline ImageDetail& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;} inline ImageDetail& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;} inline ImageDetail& WithRegistryId(const char* value) { SetRegistryId(value); return *this;} ///@} ///@{ /** *The name of the repository to which this image belongs.
*/ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } inline ImageDetail& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} inline ImageDetail& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} inline ImageDetail& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} ///@} ///@{ /** *The sha256 digest of the image manifest.
The list of tags associated with this image.
*/ inline const Aws::VectorThe size, in bytes, of the image in the repository.
If the image is a * manifest list, this will be the max size of all manifests in the list.
*Beginning with Docker version 1.9, the Docker client compresses image
* layers before pushing them to a V2 Docker registry. The output of the
* docker images command shows the uncompressed image size, so it may
* return a larger image size than the image sizes returned by
* DescribeImages.
The date and time, expressed in standard JavaScript date format, at which the * current image was pushed to the repository.
*/ inline const Aws::Utils::DateTime& GetImagePushedAt() const{ return m_imagePushedAt; } inline bool ImagePushedAtHasBeenSet() const { return m_imagePushedAtHasBeenSet; } inline void SetImagePushedAt(const Aws::Utils::DateTime& value) { m_imagePushedAtHasBeenSet = true; m_imagePushedAt = value; } inline void SetImagePushedAt(Aws::Utils::DateTime&& value) { m_imagePushedAtHasBeenSet = true; m_imagePushedAt = std::move(value); } inline ImageDetail& WithImagePushedAt(const Aws::Utils::DateTime& value) { SetImagePushedAt(value); return *this;} inline ImageDetail& WithImagePushedAt(Aws::Utils::DateTime&& value) { SetImagePushedAt(std::move(value)); return *this;} ///@} ///@{ /** *The current state of the scan.
*/ inline const ImageScanStatus& GetImageScanStatus() const{ return m_imageScanStatus; } inline bool ImageScanStatusHasBeenSet() const { return m_imageScanStatusHasBeenSet; } inline void SetImageScanStatus(const ImageScanStatus& value) { m_imageScanStatusHasBeenSet = true; m_imageScanStatus = value; } inline void SetImageScanStatus(ImageScanStatus&& value) { m_imageScanStatusHasBeenSet = true; m_imageScanStatus = std::move(value); } inline ImageDetail& WithImageScanStatus(const ImageScanStatus& value) { SetImageScanStatus(value); return *this;} inline ImageDetail& WithImageScanStatus(ImageScanStatus&& value) { SetImageScanStatus(std::move(value)); return *this;} ///@} ///@{ /** *A summary of the last completed image scan.
*/ inline const ImageScanFindingsSummary& GetImageScanFindingsSummary() const{ return m_imageScanFindingsSummary; } inline bool ImageScanFindingsSummaryHasBeenSet() const { return m_imageScanFindingsSummaryHasBeenSet; } inline void SetImageScanFindingsSummary(const ImageScanFindingsSummary& value) { m_imageScanFindingsSummaryHasBeenSet = true; m_imageScanFindingsSummary = value; } inline void SetImageScanFindingsSummary(ImageScanFindingsSummary&& value) { m_imageScanFindingsSummaryHasBeenSet = true; m_imageScanFindingsSummary = std::move(value); } inline ImageDetail& WithImageScanFindingsSummary(const ImageScanFindingsSummary& value) { SetImageScanFindingsSummary(value); return *this;} inline ImageDetail& WithImageScanFindingsSummary(ImageScanFindingsSummary&& value) { SetImageScanFindingsSummary(std::move(value)); return *this;} ///@} ///@{ /** *The media type of the image manifest.
*/ inline const Aws::String& GetImageManifestMediaType() const{ return m_imageManifestMediaType; } inline bool ImageManifestMediaTypeHasBeenSet() const { return m_imageManifestMediaTypeHasBeenSet; } inline void SetImageManifestMediaType(const Aws::String& value) { m_imageManifestMediaTypeHasBeenSet = true; m_imageManifestMediaType = value; } inline void SetImageManifestMediaType(Aws::String&& value) { m_imageManifestMediaTypeHasBeenSet = true; m_imageManifestMediaType = std::move(value); } inline void SetImageManifestMediaType(const char* value) { m_imageManifestMediaTypeHasBeenSet = true; m_imageManifestMediaType.assign(value); } inline ImageDetail& WithImageManifestMediaType(const Aws::String& value) { SetImageManifestMediaType(value); return *this;} inline ImageDetail& WithImageManifestMediaType(Aws::String&& value) { SetImageManifestMediaType(std::move(value)); return *this;} inline ImageDetail& WithImageManifestMediaType(const char* value) { SetImageManifestMediaType(value); return *this;} ///@} ///@{ /** *The artifact media type of the image.
*/ inline const Aws::String& GetArtifactMediaType() const{ return m_artifactMediaType; } inline bool ArtifactMediaTypeHasBeenSet() const { return m_artifactMediaTypeHasBeenSet; } inline void SetArtifactMediaType(const Aws::String& value) { m_artifactMediaTypeHasBeenSet = true; m_artifactMediaType = value; } inline void SetArtifactMediaType(Aws::String&& value) { m_artifactMediaTypeHasBeenSet = true; m_artifactMediaType = std::move(value); } inline void SetArtifactMediaType(const char* value) { m_artifactMediaTypeHasBeenSet = true; m_artifactMediaType.assign(value); } inline ImageDetail& WithArtifactMediaType(const Aws::String& value) { SetArtifactMediaType(value); return *this;} inline ImageDetail& WithArtifactMediaType(Aws::String&& value) { SetArtifactMediaType(std::move(value)); return *this;} inline ImageDetail& WithArtifactMediaType(const char* value) { SetArtifactMediaType(value); return *this;} ///@} ///@{ /** *The date and time, expressed in standard JavaScript date format, when Amazon * ECR recorded the last image pull.
Amazon ECR refreshes the last
* image pull timestamp at least once every 24 hours. For example, if you pull an
* image once a day then the lastRecordedPullTime timestamp will
* indicate the exact time that the image was last pulled. However, if you pull an
* image once an hour, because Amazon ECR refreshes the
* lastRecordedPullTime timestamp at least once every 24 hours, the
* result may not be the exact time that the image was last pulled.