/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about any problems encountered while processing an upload
* request.See Also:
AWS
* API Reference
The return status of a document upload request, error
or
* success
.
The return status of a document upload request, error
or
* success
.
The return status of a document upload request, error
or
* success
.
The return status of a document upload request, error
or
* success
.
The return status of a document upload request, error
or
* success
.
The return status of a document upload request, error
or
* success
.
The return status of a document upload request, error
or
* success
.
The return status of a document upload request, error
or
* success
.
The description of the errors returned by the document service.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The description of the errors returned by the document service.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The description of the errors returned by the document service.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The description of the errors returned by the document service.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The description of the errors returned by the document service.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The description of the errors returned by the document service.
*/ inline DocumentServiceException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The description of the errors returned by the document service.
*/ inline DocumentServiceException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The description of the errors returned by the document service.
*/ inline DocumentServiceException& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace CloudSearchDomain } // namespace Aws