/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the response to an UploadDocuments
* request.See Also:
AWS
* API Reference
The status of an UploadDocumentsRequest.
The status of an UploadDocumentsRequest.
The status of an UploadDocumentsRequest.
The status of an UploadDocumentsRequest.
The status of an UploadDocumentsRequest.
The status of an UploadDocumentsRequest.
The status of an UploadDocumentsRequest.
The number of documents that were added to the search domain.
*/ inline long long GetAdds() const{ return m_adds; } /** *The number of documents that were added to the search domain.
*/ inline void SetAdds(long long value) { m_adds = value; } /** *The number of documents that were added to the search domain.
*/ inline UploadDocumentsResult& WithAdds(long long value) { SetAdds(value); return *this;} /** *The number of documents that were deleted from the search domain.
*/ inline long long GetDeletes() const{ return m_deletes; } /** *The number of documents that were deleted from the search domain.
*/ inline void SetDeletes(long long value) { m_deletes = value; } /** *The number of documents that were deleted from the search domain.
*/ inline UploadDocumentsResult& WithDeletes(long long value) { SetDeletes(value); return *this;} /** *Any warnings returned by the document service about the documents being * uploaded.
*/ inline const Aws::VectorAny warnings returned by the document service about the documents being * uploaded.
*/ inline void SetWarnings(const Aws::VectorAny warnings returned by the document service about the documents being * uploaded.
*/ inline void SetWarnings(Aws::VectorAny warnings returned by the document service about the documents being * uploaded.
*/ inline UploadDocumentsResult& WithWarnings(const Aws::VectorAny warnings returned by the document service about the documents being * uploaded.
*/ inline UploadDocumentsResult& WithWarnings(Aws::VectorAny warnings returned by the document service about the documents being * uploaded.
*/ inline UploadDocumentsResult& AddWarnings(const DocumentServiceWarning& value) { m_warnings.push_back(value); return *this; } /** *Any warnings returned by the document service about the documents being * uploaded.
*/ inline UploadDocumentsResult& AddWarnings(DocumentServiceWarning&& value) { m_warnings.push_back(std::move(value)); return *this; } private: Aws::String m_status; long long m_adds; long long m_deletes; Aws::Vector