/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing an Amazon ECR image.See Also:
AWS API
* Reference
The Amazon Web Services account ID associated with the registry containing * the image.
*/ inline const Aws::String& GetRegistryId() const{ return m_registryId; } /** *The Amazon Web Services account ID associated with the registry containing * the image.
*/ inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; } /** *The Amazon Web Services account ID associated with the registry containing * the image.
*/ inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; } /** *The Amazon Web Services account ID associated with the registry containing * the image.
*/ inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); } /** *The Amazon Web Services account ID associated with the registry containing * the image.
*/ inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); } /** *The Amazon Web Services account ID associated with the registry containing * the image.
*/ inline Image& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;} /** *The Amazon Web Services account ID associated with the registry containing * the image.
*/ inline Image& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;} /** *The Amazon Web Services account ID associated with the registry containing * the image.
*/ inline Image& WithRegistryId(const char* value) { SetRegistryId(value); return *this;} /** *The name of the repository associated with the image.
*/ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } /** *The name of the repository associated with the image.
*/ inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } /** *The name of the repository associated with the image.
*/ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } /** *The name of the repository associated with the image.
*/ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } /** *The name of the repository associated with the image.
*/ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } /** *The name of the repository associated with the image.
*/ inline Image& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} /** *The name of the repository associated with the image.
*/ inline Image& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} /** *The name of the repository associated with the image.
*/ inline Image& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** *An object containing the image tag and image digest associated with an * image.
*/ inline const ImageIdentifier& GetImageId() const{ return m_imageId; } /** *An object containing the image tag and image digest associated with an * image.
*/ inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; } /** *An object containing the image tag and image digest associated with an * image.
*/ inline void SetImageId(const ImageIdentifier& value) { m_imageIdHasBeenSet = true; m_imageId = value; } /** *An object containing the image tag and image digest associated with an * image.
*/ inline void SetImageId(ImageIdentifier&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); } /** *An object containing the image tag and image digest associated with an * image.
*/ inline Image& WithImageId(const ImageIdentifier& value) { SetImageId(value); return *this;} /** *An object containing the image tag and image digest associated with an * image.
*/ inline Image& WithImageId(ImageIdentifier&& value) { SetImageId(std::move(value)); return *this;} /** *The image manifest associated with the image.
*/ inline const Aws::String& GetImageManifest() const{ return m_imageManifest; } /** *The image manifest associated with the image.
*/ inline bool ImageManifestHasBeenSet() const { return m_imageManifestHasBeenSet; } /** *The image manifest associated with the image.
*/ inline void SetImageManifest(const Aws::String& value) { m_imageManifestHasBeenSet = true; m_imageManifest = value; } /** *The image manifest associated with the image.
*/ inline void SetImageManifest(Aws::String&& value) { m_imageManifestHasBeenSet = true; m_imageManifest = std::move(value); } /** *The image manifest associated with the image.
*/ inline void SetImageManifest(const char* value) { m_imageManifestHasBeenSet = true; m_imageManifest.assign(value); } /** *The image manifest associated with the image.
*/ inline Image& WithImageManifest(const Aws::String& value) { SetImageManifest(value); return *this;} /** *The image manifest associated with the image.
*/ inline Image& WithImageManifest(Aws::String&& value) { SetImageManifest(std::move(value)); return *this;} /** *The image manifest associated with the image.
*/ inline Image& WithImageManifest(const char* value) { SetImageManifest(value); return *this;} /** *The manifest media type of the image.
*/ inline const Aws::String& GetImageManifestMediaType() const{ return m_imageManifestMediaType; } /** *The manifest media type of the image.
*/ inline bool ImageManifestMediaTypeHasBeenSet() const { return m_imageManifestMediaTypeHasBeenSet; } /** *The manifest media type of the image.
*/ inline void SetImageManifestMediaType(const Aws::String& value) { m_imageManifestMediaTypeHasBeenSet = true; m_imageManifestMediaType = value; } /** *The manifest media type of the image.
*/ inline void SetImageManifestMediaType(Aws::String&& value) { m_imageManifestMediaTypeHasBeenSet = true; m_imageManifestMediaType = std::move(value); } /** *The manifest media type of the image.
*/ inline void SetImageManifestMediaType(const char* value) { m_imageManifestMediaTypeHasBeenSet = true; m_imageManifestMediaType.assign(value); } /** *The manifest media type of the image.
*/ inline Image& WithImageManifestMediaType(const Aws::String& value) { SetImageManifestMediaType(value); return *this;} /** *The manifest media type of the image.
*/ inline Image& WithImageManifestMediaType(Aws::String&& value) { SetImageManifestMediaType(std::move(value)); return *this;} /** *The manifest media type of the image.
*/ inline Image& WithImageManifestMediaType(const char* value) { SetImageManifestMediaType(value); return *this;} private: Aws::String m_registryId; bool m_registryIdHasBeenSet = false; Aws::String m_repositoryName; bool m_repositoryNameHasBeenSet = false; ImageIdentifier m_imageId; bool m_imageIdHasBeenSet = false; Aws::String m_imageManifest; bool m_imageManifestHasBeenSet = false; Aws::String m_imageManifestMediaType; bool m_imageManifestMediaTypeHasBeenSet = false; }; } // namespace Model } // namespace ECR } // namespace Aws