/**
* 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; } 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 UploadDocumentsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UploadDocumentsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UploadDocumentsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_status; long long m_adds; long long m_deletes; Aws::Vector