/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The layer part size isn't valid, or the first byte specified isn't
* consecutive to the last byte of a previous layer part upload.See
* Also:
AWS
* API Reference
The Amazon Web Services account ID that's associated with the layer part.
*/ inline const Aws::String& GetRegistryId() const{ return m_registryId; } /** *The Amazon Web Services account ID that's associated with the layer part.
*/ inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; } /** *The Amazon Web Services account ID that's associated with the layer part.
*/ inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; } /** *The Amazon Web Services account ID that's associated with the layer part.
*/ inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); } /** *The Amazon Web Services account ID that's associated with the layer part.
*/ inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); } /** *The Amazon Web Services account ID that's associated with the layer part.
*/ inline InvalidLayerPartException& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;} /** *The Amazon Web Services account ID that's associated with the layer part.
*/ inline InvalidLayerPartException& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;} /** *The Amazon Web Services account ID that's associated with the layer part.
*/ inline InvalidLayerPartException& WithRegistryId(const char* value) { SetRegistryId(value); return *this;} /** *The name of the repository.
*/ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } /** *The name of the repository.
*/ inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } /** *The name of the repository.
*/ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } /** *The name of the repository.
*/ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } /** *The name of the repository.
*/ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } /** *The name of the repository.
*/ inline InvalidLayerPartException& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} /** *The name of the repository.
*/ inline InvalidLayerPartException& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} /** *The name of the repository.
*/ inline InvalidLayerPartException& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** *The upload ID that's associated with the layer part.
*/ inline const Aws::String& GetUploadId() const{ return m_uploadId; } /** *The upload ID that's associated with the layer part.
*/ inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } /** *The upload ID that's associated with the layer part.
*/ inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; } /** *The upload ID that's associated with the layer part.
*/ inline void SetUploadId(Aws::String&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::move(value); } /** *The upload ID that's associated with the layer part.
*/ inline void SetUploadId(const char* value) { m_uploadIdHasBeenSet = true; m_uploadId.assign(value); } /** *The upload ID that's associated with the layer part.
*/ inline InvalidLayerPartException& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;} /** *The upload ID that's associated with the layer part.
*/ inline InvalidLayerPartException& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;} /** *The upload ID that's associated with the layer part.
*/ inline InvalidLayerPartException& WithUploadId(const char* value) { SetUploadId(value); return *this;} /** *The position of the last byte of the layer part.
*/ inline long long GetLastValidByteReceived() const{ return m_lastValidByteReceived; } /** *The position of the last byte of the layer part.
*/ inline bool LastValidByteReceivedHasBeenSet() const { return m_lastValidByteReceivedHasBeenSet; } /** *The position of the last byte of the layer part.
*/ inline void SetLastValidByteReceived(long long value) { m_lastValidByteReceivedHasBeenSet = true; m_lastValidByteReceived = value; } /** *The position of the last byte of the layer part.
*/ inline InvalidLayerPartException& WithLastValidByteReceived(long long value) { SetLastValidByteReceived(value); return *this;} inline const Aws::String& GetMessage() const{ return m_message; } inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } inline InvalidLayerPartException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} inline InvalidLayerPartException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} inline InvalidLayerPartException& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_registryId; bool m_registryIdHasBeenSet = false; Aws::String m_repositoryName; bool m_repositoryNameHasBeenSet = false; Aws::String m_uploadId; bool m_uploadIdHasBeenSet = false; long long m_lastValidByteReceived; bool m_lastValidByteReceivedHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace ECRPublic } // namespace Aws