/** * 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 ECRPublic { namespace Model { class UploadLayerPartResult { public: AWS_ECRPUBLIC_API UploadLayerPartResult(); AWS_ECRPUBLIC_API UploadLayerPartResult(const Aws::AmazonWebServiceResult& result); AWS_ECRPUBLIC_API UploadLayerPartResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The registry ID that's associated with the request.

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

The registry ID that's associated with the request.

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

The registry ID that's associated with the request.

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

The registry ID that's associated with the request.

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

The registry ID that's associated with the request.

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

The registry ID that's associated with the request.

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

The registry ID that's associated with the request.

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

The repository name that's associated with the request.

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

The repository name that's associated with the request.

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

The repository name that's associated with the request.

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

The repository name that's associated with the request.

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

The repository name that's associated with the request.

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

The repository name that's associated with the request.

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

The repository name that's associated with the request.

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

The upload ID that's associated with the request.

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

The upload ID that's associated with the request.

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

The upload ID that's associated with the request.

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

The upload ID that's associated with the request.

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

The upload ID that's associated with the request.

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

The upload ID that's associated with the request.

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

The upload ID that's associated with the request.

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

The integer value of the last byte that's received in the request.

*/ inline long long GetLastByteReceived() const{ return m_lastByteReceived; } /** *

The integer value of the last byte that's received in the request.

*/ inline void SetLastByteReceived(long long value) { m_lastByteReceived = value; } /** *

The integer value of the last byte that's received in the request.

*/ inline UploadLayerPartResult& WithLastByteReceived(long long value) { SetLastByteReceived(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 UploadLayerPartResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UploadLayerPartResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UploadLayerPartResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_registryId; Aws::String m_repositoryName; Aws::String m_uploadId; long long m_lastByteReceived; Aws::String m_requestId; }; } // namespace Model } // namespace ECRPublic } // namespace Aws