AWS SDK for C++

AWS SDK for C++ Version 1.11.681

Loading...
Searching...
No Matches
BatchGetDocumentStatusRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra/KendraRequest.h>
10#include <aws/kendra/Kendra_EXPORTS.h>
11#include <aws/kendra/model/DocumentInfo.h>
12
13#include <utility>
14
15namespace Aws {
16namespace kendra {
17namespace Model {
18
22 public:
23 AWS_KENDRA_API BatchGetDocumentStatusRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "BatchGetDocumentStatus"; }
30
31 AWS_KENDRA_API Aws::String SerializePayload() const override;
32
34
36
42 inline const Aws::String& GetIndexId() const { return m_indexId; }
43 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
44 template <typename IndexIdT = Aws::String>
45 void SetIndexId(IndexIdT&& value) {
46 m_indexIdHasBeenSet = true;
47 m_indexId = std::forward<IndexIdT>(value);
48 }
49 template <typename IndexIdT = Aws::String>
51 SetIndexId(std::forward<IndexIdT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::Vector<DocumentInfo>& GetDocumentInfoList() const { return m_documentInfoList; }
63 inline bool DocumentInfoListHasBeenSet() const { return m_documentInfoListHasBeenSet; }
64 template <typename DocumentInfoListT = Aws::Vector<DocumentInfo>>
65 void SetDocumentInfoList(DocumentInfoListT&& value) {
66 m_documentInfoListHasBeenSet = true;
67 m_documentInfoList = std::forward<DocumentInfoListT>(value);
68 }
69 template <typename DocumentInfoListT = Aws::Vector<DocumentInfo>>
71 SetDocumentInfoList(std::forward<DocumentInfoListT>(value));
72 return *this;
73 }
74 template <typename DocumentInfoListT = DocumentInfo>
76 m_documentInfoListHasBeenSet = true;
77 m_documentInfoList.emplace_back(std::forward<DocumentInfoListT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_indexId;
83 bool m_indexIdHasBeenSet = false;
84
85 Aws::Vector<DocumentInfo> m_documentInfoList;
86 bool m_documentInfoListHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace kendra
91} // 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