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

The registry ID associated with the request.

*/ inline const Aws::String& GetRegistryId() const{ return m_registryId; } /** *

The registry ID associated with the request.

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

The registry ID associated with the request.

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

The registry ID associated with the request.

*/ inline void SetRegistryId(const char* value) { m_registryId.assign(value); } /** *

The registry ID associated with the request.

*/ inline CompleteLayerUploadResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;} /** *

The registry ID associated with the request.

*/ inline CompleteLayerUploadResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;} /** *

The registry ID associated with the request.

*/ inline CompleteLayerUploadResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;} /** *

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 CompleteLayerUploadResult& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} /** *

The repository name associated with the request.

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

The repository name associated with the request.

*/ inline CompleteLayerUploadResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** *

The upload ID associated with the layer.

*/ inline const Aws::String& GetUploadId() const{ return m_uploadId; } /** *

The upload ID associated with the layer.

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

The upload ID associated with the layer.

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

The upload ID associated with the layer.

*/ inline void SetUploadId(const char* value) { m_uploadId.assign(value); } /** *

The upload ID associated with the layer.

*/ inline CompleteLayerUploadResult& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;} /** *

The upload ID associated with the layer.

*/ inline CompleteLayerUploadResult& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;} /** *

The upload ID associated with the layer.

*/ inline CompleteLayerUploadResult& WithUploadId(const char* value) { SetUploadId(value); return *this;} /** *

The sha256 digest of the image layer.

*/ inline const Aws::String& GetLayerDigest() const{ return m_layerDigest; } /** *

The sha256 digest of the image layer.

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

The sha256 digest of the image layer.

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

The sha256 digest of the image layer.

*/ inline void SetLayerDigest(const char* value) { m_layerDigest.assign(value); } /** *

The sha256 digest of the image layer.

*/ inline CompleteLayerUploadResult& WithLayerDigest(const Aws::String& value) { SetLayerDigest(value); return *this;} /** *

The sha256 digest of the image layer.

*/ inline CompleteLayerUploadResult& WithLayerDigest(Aws::String&& value) { SetLayerDigest(std::move(value)); return *this;} /** *

The sha256 digest of the image layer.

*/ inline CompleteLayerUploadResult& WithLayerDigest(const char* value) { SetLayerDigest(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 CompleteLayerUploadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CompleteLayerUploadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CompleteLayerUploadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_registryId; Aws::String m_repositoryName; Aws::String m_uploadId; Aws::String m_layerDigest; Aws::String m_requestId; }; } // namespace Model } // namespace ECR } // namespace Aws