AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GetIngestionJobRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
9#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace OpenSearchServerless {
15namespace Model {
16
20 public:
21 AWS_OPENSEARCHSERVERLESS_API GetIngestionJobRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetIngestionJob"; }
28
29 AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override;
30
31 AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
38 inline const Aws::String& GetCollectionId() const { return m_collectionId; }
39 inline bool CollectionIdHasBeenSet() const { return m_collectionIdHasBeenSet; }
40 template <typename CollectionIdT = Aws::String>
41 void SetCollectionId(CollectionIdT&& value) {
42 m_collectionIdHasBeenSet = true;
43 m_collectionId = std::forward<CollectionIdT>(value);
44 }
45 template <typename CollectionIdT = Aws::String>
46 GetIngestionJobRequest& WithCollectionId(CollectionIdT&& value) {
47 SetCollectionId(std::forward<CollectionIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetIngestionJobId() const { return m_ingestionJobId; }
57 inline bool IngestionJobIdHasBeenSet() const { return m_ingestionJobIdHasBeenSet; }
58 template <typename IngestionJobIdT = Aws::String>
59 void SetIngestionJobId(IngestionJobIdT&& value) {
60 m_ingestionJobIdHasBeenSet = true;
61 m_ingestionJobId = std::forward<IngestionJobIdT>(value);
62 }
63 template <typename IngestionJobIdT = Aws::String>
64 GetIngestionJobRequest& WithIngestionJobId(IngestionJobIdT&& value) {
65 SetIngestionJobId(std::forward<IngestionJobIdT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_collectionId;
71
72 Aws::String m_ingestionJobId;
73 bool m_collectionIdHasBeenSet = false;
74 bool m_ingestionJobIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace OpenSearchServerless
79} // namespace Aws
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
GetIngestionJobRequest & WithCollectionId(CollectionIdT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_OPENSEARCHSERVERLESS_API GetIngestionJobRequest()=default
GetIngestionJobRequest & WithIngestionJobId(IngestionJobIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String