7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kendra/model/BatchGetDocumentStatusResponseError.h>
11#include <aws/kendra/model/Status.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
45 template<
typename ErrorsT = Aws::Vector<BatchGetDocumentStatusResponseError>>
46 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
47 template<
typename ErrorsT = Aws::Vector<BatchGetDocumentStatusResponseError>>
49 template<
typename ErrorsT = BatchGetDocumentStatusResponseError>
60 template<
typename DocumentStatusListT = Aws::Vector<Status>>
61 void SetDocumentStatusList(DocumentStatusListT&& value) { m_documentStatusListHasBeenSet =
true; m_documentStatusList = std::forward<DocumentStatusListT>(value); }
62 template<
typename DocumentStatusListT = Aws::Vector<Status>>
64 template<
typename DocumentStatusListT = Status>
71 template<
typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
73 template<
typename RequestIdT = Aws::String>
79 bool m_errorsHasBeenSet =
false;
82 bool m_documentStatusListHasBeenSet =
false;
85 bool m_requestIdHasBeenSet =
false;
AWS_KENDRA_API BatchGetDocumentStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetDocumentStatusResult & WithRequestId(RequestIdT &&value)
void SetDocumentStatusList(DocumentStatusListT &&value)
AWS_KENDRA_API BatchGetDocumentStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetDocumentStatusResult & WithErrors(ErrorsT &&value)
BatchGetDocumentStatusResult & WithDocumentStatusList(DocumentStatusListT &&value)
const Aws::Vector< BatchGetDocumentStatusResponseError > & GetErrors() const
BatchGetDocumentStatusResult & AddErrors(ErrorsT &&value)
const Aws::String & GetRequestId() const
AWS_KENDRA_API BatchGetDocumentStatusResult()=default
void SetErrors(ErrorsT &&value)
void SetRequestId(RequestIdT &&value)
BatchGetDocumentStatusResult & AddDocumentStatusList(DocumentStatusListT &&value)
const Aws::Vector< Status > & GetDocumentStatusList() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue