/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ECR { namespace Model { class DescribeImageReplicationStatusResult { public: AWS_ECR_API DescribeImageReplicationStatusResult(); AWS_ECR_API DescribeImageReplicationStatusResult(const Aws::AmazonWebServiceResult& result); AWS_ECR_API DescribeImageReplicationStatusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The repository name associated with the request.

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

The repository name associated with the request.

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

The repository name associated with the request.

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

The repository name associated with the request.

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

The repository name associated with the request.

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

The repository name associated with the request.

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

The repository name associated with the request.

*/ inline DescribeImageReplicationStatusResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} inline const ImageIdentifier& GetImageId() const{ return m_imageId; } inline void SetImageId(const ImageIdentifier& value) { m_imageId = value; } inline void SetImageId(ImageIdentifier&& value) { m_imageId = std::move(value); } inline DescribeImageReplicationStatusResult& WithImageId(const ImageIdentifier& value) { SetImageId(value); return *this;} inline DescribeImageReplicationStatusResult& WithImageId(ImageIdentifier&& value) { SetImageId(std::move(value)); return *this;} /** *

The replication status details for the images in the specified * repository.

*/ inline const Aws::Vector& GetReplicationStatuses() const{ return m_replicationStatuses; } /** *

The replication status details for the images in the specified * repository.

*/ inline void SetReplicationStatuses(const Aws::Vector& value) { m_replicationStatuses = value; } /** *

The replication status details for the images in the specified * repository.

*/ inline void SetReplicationStatuses(Aws::Vector&& value) { m_replicationStatuses = std::move(value); } /** *

The replication status details for the images in the specified * repository.

*/ inline DescribeImageReplicationStatusResult& WithReplicationStatuses(const Aws::Vector& value) { SetReplicationStatuses(value); return *this;} /** *

The replication status details for the images in the specified * repository.

*/ inline DescribeImageReplicationStatusResult& WithReplicationStatuses(Aws::Vector&& value) { SetReplicationStatuses(std::move(value)); return *this;} /** *

The replication status details for the images in the specified * repository.

*/ inline DescribeImageReplicationStatusResult& AddReplicationStatuses(const ImageReplicationStatus& value) { m_replicationStatuses.push_back(value); return *this; } /** *

The replication status details for the images in the specified * repository.

*/ inline DescribeImageReplicationStatusResult& AddReplicationStatuses(ImageReplicationStatus&& value) { m_replicationStatuses.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeImageReplicationStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeImageReplicationStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeImageReplicationStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_repositoryName; ImageIdentifier m_imageId; Aws::Vector m_replicationStatuses; Aws::String m_requestId; }; } // namespace Model } // namespace ECR } // namespace Aws