AWS SDK for C++  1.9.123
AWS SDK for C++
BatchGetDocumentStatusRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace kendra
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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::String SerializePayload() const override;
35 
37 
38 
44  inline const Aws::String& GetIndexId() const{ return m_indexId; }
45 
51  inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
52 
58  inline void SetIndexId(const Aws::String& value) { m_indexIdHasBeenSet = true; m_indexId = value; }
59 
65  inline void SetIndexId(Aws::String&& value) { m_indexIdHasBeenSet = true; m_indexId = std::move(value); }
66 
72  inline void SetIndexId(const char* value) { m_indexIdHasBeenSet = true; m_indexId.assign(value); }
73 
79  inline BatchGetDocumentStatusRequest& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
80 
86  inline BatchGetDocumentStatusRequest& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
87 
93  inline BatchGetDocumentStatusRequest& WithIndexId(const char* value) { SetIndexId(value); return *this;}
94 
95 
101  inline const Aws::Vector<DocumentInfo>& GetDocumentInfoList() const{ return m_documentInfoList; }
102 
108  inline bool DocumentInfoListHasBeenSet() const { return m_documentInfoListHasBeenSet; }
109 
115  inline void SetDocumentInfoList(const Aws::Vector<DocumentInfo>& value) { m_documentInfoListHasBeenSet = true; m_documentInfoList = value; }
116 
122  inline void SetDocumentInfoList(Aws::Vector<DocumentInfo>&& value) { m_documentInfoListHasBeenSet = true; m_documentInfoList = std::move(value); }
123 
129  inline BatchGetDocumentStatusRequest& WithDocumentInfoList(const Aws::Vector<DocumentInfo>& value) { SetDocumentInfoList(value); return *this;}
130 
136  inline BatchGetDocumentStatusRequest& WithDocumentInfoList(Aws::Vector<DocumentInfo>&& value) { SetDocumentInfoList(std::move(value)); return *this;}
137 
143  inline BatchGetDocumentStatusRequest& AddDocumentInfoList(const DocumentInfo& value) { m_documentInfoListHasBeenSet = true; m_documentInfoList.push_back(value); return *this; }
144 
150  inline BatchGetDocumentStatusRequest& AddDocumentInfoList(DocumentInfo&& value) { m_documentInfoListHasBeenSet = true; m_documentInfoList.push_back(std::move(value)); return *this; }
151 
152  private:
153 
154  Aws::String m_indexId;
155  bool m_indexIdHasBeenSet;
156 
157  Aws::Vector<DocumentInfo> m_documentInfoList;
158  bool m_documentInfoListHasBeenSet;
159  };
160 
161 } // namespace Model
162 } // namespace kendra
163 } // namespace Aws
Aws::kendra::Model::BatchGetDocumentStatusRequest::DocumentInfoListHasBeenSet
bool DocumentInfoListHasBeenSet() const
Definition: BatchGetDocumentStatusRequest.h:108
Aws::kendra::KendraRequest
Definition: KendraRequest.h:17
Aws::kendra::Model::BatchGetDocumentStatusRequest::SetIndexId
void SetIndexId(Aws::String &&value)
Definition: BatchGetDocumentStatusRequest.h:65
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::kendra::Model::BatchGetDocumentStatusRequest::WithIndexId
BatchGetDocumentStatusRequest & WithIndexId(const char *value)
Definition: BatchGetDocumentStatusRequest.h:93
Aws::kendra::Model::BatchGetDocumentStatusRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::kendra::Model::BatchGetDocumentStatusRequest::BatchGetDocumentStatusRequest
BatchGetDocumentStatusRequest()
Aws::kendra::Model::BatchGetDocumentStatusRequest::SetIndexId
void SetIndexId(const Aws::String &value)
Definition: BatchGetDocumentStatusRequest.h:58
Aws::kendra::Model::BatchGetDocumentStatusRequest::GetDocumentInfoList
const Aws::Vector< DocumentInfo > & GetDocumentInfoList() const
Definition: BatchGetDocumentStatusRequest.h:101
KendraRequest.h
Aws::kendra::Model::BatchGetDocumentStatusRequest::WithDocumentInfoList
BatchGetDocumentStatusRequest & WithDocumentInfoList(const Aws::Vector< DocumentInfo > &value)
Definition: BatchGetDocumentStatusRequest.h:129
Aws::kendra::Model::BatchGetDocumentStatusRequest::SetDocumentInfoList
void SetDocumentInfoList(const Aws::Vector< DocumentInfo > &value)
Definition: BatchGetDocumentStatusRequest.h:115
Aws::kendra::Model::BatchGetDocumentStatusRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::kendra::Model::BatchGetDocumentStatusRequest::SetIndexId
void SetIndexId(const char *value)
Definition: BatchGetDocumentStatusRequest.h:72
Aws::kendra::Model::BatchGetDocumentStatusRequest::AddDocumentInfoList
BatchGetDocumentStatusRequest & AddDocumentInfoList(DocumentInfo &&value)
Definition: BatchGetDocumentStatusRequest.h:150
Aws::kendra::Model::BatchGetDocumentStatusRequest::WithIndexId
BatchGetDocumentStatusRequest & WithIndexId(const Aws::String &value)
Definition: BatchGetDocumentStatusRequest.h:79
DocumentInfo.h
Kendra_EXPORTS.h
Aws::kendra::Model::BatchGetDocumentStatusRequest::SetDocumentInfoList
void SetDocumentInfoList(Aws::Vector< DocumentInfo > &&value)
Definition: BatchGetDocumentStatusRequest.h:122
Aws::kendra::Model::BatchGetDocumentStatusRequest::WithIndexId
BatchGetDocumentStatusRequest & WithIndexId(Aws::String &&value)
Definition: BatchGetDocumentStatusRequest.h:86
AWSString.h
Aws::kendra::Model::BatchGetDocumentStatusRequest::AddDocumentInfoList
BatchGetDocumentStatusRequest & AddDocumentInfoList(const DocumentInfo &value)
Definition: BatchGetDocumentStatusRequest.h:143
Aws::kendra::Model::BatchGetDocumentStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchGetDocumentStatusRequest.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::kendra::Model::BatchGetDocumentStatusRequest::GetIndexId
const Aws::String & GetIndexId() const
Definition: BatchGetDocumentStatusRequest.h:44
Aws::kendra::Model::BatchGetDocumentStatusRequest::WithDocumentInfoList
BatchGetDocumentStatusRequest & WithDocumentInfoList(Aws::Vector< DocumentInfo > &&value)
Definition: BatchGetDocumentStatusRequest.h:136
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_KENDRA_API
#define AWS_KENDRA_API
Definition: Kendra_EXPORTS.h:28
Aws::kendra::Model::DocumentInfo
Definition: DocumentInfo.h:35
Aws::kendra::Model::BatchGetDocumentStatusRequest
Definition: BatchGetDocumentStatusRequest.h:24
Aws::kendra::Model::BatchGetDocumentStatusRequest::IndexIdHasBeenSet
bool IndexIdHasBeenSet() const
Definition: BatchGetDocumentStatusRequest.h:51