AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
StartIngestionJobRequest.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace BedrockAgent {
16namespace Model {
17
21 public:
22 AWS_BEDROCKAGENT_API StartIngestionJobRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "StartIngestionJob"; }
29
30 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetKnowledgeBaseId() const { return m_knowledgeBaseId; }
37 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
38 template <typename KnowledgeBaseIdT = Aws::String>
39 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) {
40 m_knowledgeBaseIdHasBeenSet = true;
41 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
42 }
43 template <typename KnowledgeBaseIdT = Aws::String>
44 StartIngestionJobRequest& WithKnowledgeBaseId(KnowledgeBaseIdT&& value) {
45 SetKnowledgeBaseId(std::forward<KnowledgeBaseIdT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
56 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
57 template <typename DataSourceIdT = Aws::String>
58 void SetDataSourceId(DataSourceIdT&& value) {
59 m_dataSourceIdHasBeenSet = true;
60 m_dataSourceId = std::forward<DataSourceIdT>(value);
61 }
62 template <typename DataSourceIdT = Aws::String>
64 SetDataSourceId(std::forward<DataSourceIdT>(value));
65 return *this;
66 }
68
70
77 inline const Aws::String& GetClientToken() const { return m_clientToken; }
78 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
79 template <typename ClientTokenT = Aws::String>
80 void SetClientToken(ClientTokenT&& value) {
81 m_clientTokenHasBeenSet = true;
82 m_clientToken = std::forward<ClientTokenT>(value);
83 }
84 template <typename ClientTokenT = Aws::String>
86 SetClientToken(std::forward<ClientTokenT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetDescription() const { return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 template <typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) {
99 m_descriptionHasBeenSet = true;
100 m_description = std::forward<DescriptionT>(value);
101 }
102 template <typename DescriptionT = Aws::String>
104 SetDescription(std::forward<DescriptionT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_knowledgeBaseId;
110 bool m_knowledgeBaseIdHasBeenSet = false;
111
112 Aws::String m_dataSourceId;
113 bool m_dataSourceIdHasBeenSet = false;
114
116 bool m_clientTokenHasBeenSet = true;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace BedrockAgent
124} // namespace Aws
StartIngestionJobRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
AWS_BEDROCKAGENT_API StartIngestionJobRequest()=default
virtual const char * GetServiceRequestName() const override
StartIngestionJobRequest & WithDataSourceId(DataSourceIdT &&value)
StartIngestionJobRequest & WithDescription(DescriptionT &&value)
StartIngestionJobRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String