AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchGetDocumentStatusRequest.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/kendra/KendraRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/kendra/model/DocumentInfo.h>
12#include <utility>
13
14namespace Aws
15{
16namespace kendra
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_KENDRA_API BatchGetDocumentStatusRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchGetDocumentStatus"; }
33
34 AWS_KENDRA_API Aws::String SerializePayload() const override;
35
37
38
40
46 inline const Aws::String& GetIndexId() const { return m_indexId; }
47 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
48 template<typename IndexIdT = Aws::String>
49 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet = true; m_indexId = std::forward<IndexIdT>(value); }
50 template<typename IndexIdT = Aws::String>
51 BatchGetDocumentStatusRequest& WithIndexId(IndexIdT&& value) { SetIndexId(std::forward<IndexIdT>(value)); return *this;}
53
55
60 inline const Aws::Vector<DocumentInfo>& GetDocumentInfoList() const { return m_documentInfoList; }
61 inline bool DocumentInfoListHasBeenSet() const { return m_documentInfoListHasBeenSet; }
62 template<typename DocumentInfoListT = Aws::Vector<DocumentInfo>>
63 void SetDocumentInfoList(DocumentInfoListT&& value) { m_documentInfoListHasBeenSet = true; m_documentInfoList = std::forward<DocumentInfoListT>(value); }
64 template<typename DocumentInfoListT = Aws::Vector<DocumentInfo>>
65 BatchGetDocumentStatusRequest& WithDocumentInfoList(DocumentInfoListT&& value) { SetDocumentInfoList(std::forward<DocumentInfoListT>(value)); return *this;}
66 template<typename DocumentInfoListT = DocumentInfo>
67 BatchGetDocumentStatusRequest& AddDocumentInfoList(DocumentInfoListT&& value) { m_documentInfoListHasBeenSet = true; m_documentInfoList.emplace_back(std::forward<DocumentInfoListT>(value)); return *this; }
69 private:
70
71 Aws::String m_indexId;
72 bool m_indexIdHasBeenSet = false;
73
74 Aws::Vector<DocumentInfo> m_documentInfoList;
75 bool m_documentInfoListHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace kendra
80} // namespace Aws
AWS_KENDRA_API BatchGetDocumentStatusRequest()=default
const Aws::Vector< DocumentInfo > & GetDocumentInfoList() const
BatchGetDocumentStatusRequest & WithDocumentInfoList(DocumentInfoListT &&value)
BatchGetDocumentStatusRequest & AddDocumentInfoList(DocumentInfoListT &&value)
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchGetDocumentStatusRequest & WithIndexId(IndexIdT &&value)
AWS_KENDRA_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector