/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ECR { namespace Model { /** *

The image details of the Amazon ECR container image.

See Also:

* AWS * API Reference

*/ class AwsEcrContainerImageDetails { public: AWS_ECR_API AwsEcrContainerImageDetails(); AWS_ECR_API AwsEcrContainerImageDetails(Aws::Utils::Json::JsonView jsonValue); AWS_ECR_API AwsEcrContainerImageDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The architecture of the Amazon ECR container image.

*/ inline const Aws::String& GetArchitecture() const{ return m_architecture; } /** *

The architecture of the Amazon ECR container image.

*/ inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; } /** *

The architecture of the Amazon ECR container image.

*/ inline void SetArchitecture(const Aws::String& value) { m_architectureHasBeenSet = true; m_architecture = value; } /** *

The architecture of the Amazon ECR container image.

*/ inline void SetArchitecture(Aws::String&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); } /** *

The architecture of the Amazon ECR container image.

*/ inline void SetArchitecture(const char* value) { m_architectureHasBeenSet = true; m_architecture.assign(value); } /** *

The architecture of the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& WithArchitecture(const Aws::String& value) { SetArchitecture(value); return *this;} /** *

The architecture of the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& WithArchitecture(Aws::String&& value) { SetArchitecture(std::move(value)); return *this;} /** *

The architecture of the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& WithArchitecture(const char* value) { SetArchitecture(value); return *this;} /** *

The image author of the Amazon ECR container image.

*/ inline const Aws::String& GetAuthor() const{ return m_author; } /** *

The image author of the Amazon ECR container image.

*/ inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; } /** *

The image author of the Amazon ECR container image.

*/ inline void SetAuthor(const Aws::String& value) { m_authorHasBeenSet = true; m_author = value; } /** *

The image author of the Amazon ECR container image.

*/ inline void SetAuthor(Aws::String&& value) { m_authorHasBeenSet = true; m_author = std::move(value); } /** *

The image author of the Amazon ECR container image.

*/ inline void SetAuthor(const char* value) { m_authorHasBeenSet = true; m_author.assign(value); } /** *

The image author of the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& WithAuthor(const Aws::String& value) { SetAuthor(value); return *this;} /** *

The image author of the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& WithAuthor(Aws::String&& value) { SetAuthor(std::move(value)); return *this;} /** *

The image author of the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& WithAuthor(const char* value) { SetAuthor(value); return *this;} /** *

The image hash of the Amazon ECR container image.

*/ inline const Aws::String& GetImageHash() const{ return m_imageHash; } /** *

The image hash of the Amazon ECR container image.

*/ inline bool ImageHashHasBeenSet() const { return m_imageHashHasBeenSet; } /** *

The image hash of the Amazon ECR container image.

*/ inline void SetImageHash(const Aws::String& value) { m_imageHashHasBeenSet = true; m_imageHash = value; } /** *

The image hash of the Amazon ECR container image.

*/ inline void SetImageHash(Aws::String&& value) { m_imageHashHasBeenSet = true; m_imageHash = std::move(value); } /** *

The image hash of the Amazon ECR container image.

*/ inline void SetImageHash(const char* value) { m_imageHashHasBeenSet = true; m_imageHash.assign(value); } /** *

The image hash of the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& WithImageHash(const Aws::String& value) { SetImageHash(value); return *this;} /** *

The image hash of the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& WithImageHash(Aws::String&& value) { SetImageHash(std::move(value)); return *this;} /** *

The image hash of the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& WithImageHash(const char* value) { SetImageHash(value); return *this;} /** *

The image tags attached to the Amazon ECR container image.

*/ inline const Aws::Vector& GetImageTags() const{ return m_imageTags; } /** *

The image tags attached to the Amazon ECR container image.

*/ inline bool ImageTagsHasBeenSet() const { return m_imageTagsHasBeenSet; } /** *

The image tags attached to the Amazon ECR container image.

*/ inline void SetImageTags(const Aws::Vector& value) { m_imageTagsHasBeenSet = true; m_imageTags = value; } /** *

The image tags attached to the Amazon ECR container image.

*/ inline void SetImageTags(Aws::Vector&& value) { m_imageTagsHasBeenSet = true; m_imageTags = std::move(value); } /** *

The image tags attached to the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& WithImageTags(const Aws::Vector& value) { SetImageTags(value); return *this;} /** *

The image tags attached to the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& WithImageTags(Aws::Vector&& value) { SetImageTags(std::move(value)); return *this;} /** *

The image tags attached to the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& AddImageTags(const Aws::String& value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(value); return *this; } /** *

The image tags attached to the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& AddImageTags(Aws::String&& value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(std::move(value)); return *this; } /** *

The image tags attached to the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& AddImageTags(const char* value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(value); return *this; } /** *

The platform of the Amazon ECR container image.

*/ inline const Aws::String& GetPlatform() const{ return m_platform; } /** *

The platform of the Amazon ECR container image.

*/ inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; } /** *

The platform of the Amazon ECR container image.

*/ inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; } /** *

The platform of the Amazon ECR container image.

*/ inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); } /** *

The platform of the Amazon ECR container image.

*/ inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); } /** *

The platform of the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;} /** *

The platform of the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;} /** *

The platform of the Amazon ECR container image.

*/ inline AwsEcrContainerImageDetails& WithPlatform(const char* value) { SetPlatform(value); return *this;} /** *

The date and time the Amazon ECR container image was pushed.

*/ inline const Aws::Utils::DateTime& GetPushedAt() const{ return m_pushedAt; } /** *

The date and time the Amazon ECR container image was pushed.

*/ inline bool PushedAtHasBeenSet() const { return m_pushedAtHasBeenSet; } /** *

The date and time the Amazon ECR container image was pushed.

*/ inline void SetPushedAt(const Aws::Utils::DateTime& value) { m_pushedAtHasBeenSet = true; m_pushedAt = value; } /** *

The date and time the Amazon ECR container image was pushed.

*/ inline void SetPushedAt(Aws::Utils::DateTime&& value) { m_pushedAtHasBeenSet = true; m_pushedAt = std::move(value); } /** *

The date and time the Amazon ECR container image was pushed.

*/ inline AwsEcrContainerImageDetails& WithPushedAt(const Aws::Utils::DateTime& value) { SetPushedAt(value); return *this;} /** *

The date and time the Amazon ECR container image was pushed.

*/ inline AwsEcrContainerImageDetails& WithPushedAt(Aws::Utils::DateTime&& value) { SetPushedAt(std::move(value)); return *this;} /** *

The registry the Amazon ECR container image belongs to.

*/ inline const Aws::String& GetRegistry() const{ return m_registry; } /** *

The registry the Amazon ECR container image belongs to.

*/ inline bool RegistryHasBeenSet() const { return m_registryHasBeenSet; } /** *

The registry the Amazon ECR container image belongs to.

*/ inline void SetRegistry(const Aws::String& value) { m_registryHasBeenSet = true; m_registry = value; } /** *

The registry the Amazon ECR container image belongs to.

*/ inline void SetRegistry(Aws::String&& value) { m_registryHasBeenSet = true; m_registry = std::move(value); } /** *

The registry the Amazon ECR container image belongs to.

*/ inline void SetRegistry(const char* value) { m_registryHasBeenSet = true; m_registry.assign(value); } /** *

The registry the Amazon ECR container image belongs to.

*/ inline AwsEcrContainerImageDetails& WithRegistry(const Aws::String& value) { SetRegistry(value); return *this;} /** *

The registry the Amazon ECR container image belongs to.

*/ inline AwsEcrContainerImageDetails& WithRegistry(Aws::String&& value) { SetRegistry(std::move(value)); return *this;} /** *

The registry the Amazon ECR container image belongs to.

*/ inline AwsEcrContainerImageDetails& WithRegistry(const char* value) { SetRegistry(value); return *this;} /** *

The name of the repository the Amazon ECR container image resides in.

*/ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } /** *

The name of the repository the Amazon ECR container image resides in.

*/ inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } /** *

The name of the repository the Amazon ECR container image resides in.

*/ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } /** *

The name of the repository the Amazon ECR container image resides in.

*/ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } /** *

The name of the repository the Amazon ECR container image resides in.

*/ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } /** *

The name of the repository the Amazon ECR container image resides in.

*/ inline AwsEcrContainerImageDetails& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} /** *

The name of the repository the Amazon ECR container image resides in.

*/ inline AwsEcrContainerImageDetails& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} /** *

The name of the repository the Amazon ECR container image resides in.

*/ inline AwsEcrContainerImageDetails& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} private: Aws::String m_architecture; bool m_architectureHasBeenSet = false; Aws::String m_author; bool m_authorHasBeenSet = false; Aws::String m_imageHash; bool m_imageHashHasBeenSet = false; Aws::Vector m_imageTags; bool m_imageTagsHasBeenSet = false; Aws::String m_platform; bool m_platformHasBeenSet = false; Aws::Utils::DateTime m_pushedAt; bool m_pushedAtHasBeenSet = false; Aws::String m_registry; bool m_registryHasBeenSet = false; Aws::String m_repositoryName; bool m_repositoryNameHasBeenSet = false; }; } // namespace Model } // namespace ECR } // namespace Aws