/** * 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 AWS_ECR_API InitiateLayerUploadResult { public: InitiateLayerUploadResult(); InitiateLayerUploadResult(const Aws::AmazonWebServiceResult& result); InitiateLayerUploadResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The upload ID for the layer upload. This parameter is passed to further * UploadLayerPart and CompleteLayerUpload operations.

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

The upload ID for the layer upload. This parameter is passed to further * UploadLayerPart and CompleteLayerUpload operations.

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

The upload ID for the layer upload. This parameter is passed to further * UploadLayerPart and CompleteLayerUpload operations.

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

The upload ID for the layer upload. This parameter is passed to further * UploadLayerPart and CompleteLayerUpload operations.

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

The upload ID for the layer upload. This parameter is passed to further * UploadLayerPart and CompleteLayerUpload operations.

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

The upload ID for the layer upload. This parameter is passed to further * UploadLayerPart and CompleteLayerUpload operations.

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

The upload ID for the layer upload. This parameter is passed to further * UploadLayerPart and CompleteLayerUpload operations.

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

The size, in bytes, that Amazon ECR expects future layer part uploads to * be.

*/ inline long long GetPartSize() const{ return m_partSize; } /** *

The size, in bytes, that Amazon ECR expects future layer part uploads to * be.

*/ inline void SetPartSize(long long value) { m_partSize = value; } /** *

The size, in bytes, that Amazon ECR expects future layer part uploads to * be.

*/ inline InitiateLayerUploadResult& WithPartSize(long long value) { SetPartSize(value); return *this;} private: Aws::String m_uploadId; long long m_partSize; }; } // namespace Model } // namespace ECR } // namespace Aws