AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartIngestionJobRequest.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/BedrockAgentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace BedrockAgent
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_BEDROCKAGENT_API StartIngestionJobRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartIngestionJob"; }
32
33 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
34
35
37
44 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
47 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
48 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
49 inline StartIngestionJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline StartIngestionJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline StartIngestionJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
53
55
59 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
60 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
61 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
62 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
63 inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
64 inline StartIngestionJobRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
65 inline StartIngestionJobRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
66 inline StartIngestionJobRequest& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline StartIngestionJobRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline StartIngestionJobRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline StartIngestionJobRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
87 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
88 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
89 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
90 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
91 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
92 inline StartIngestionJobRequest& WithKnowledgeBaseId(const Aws::String& value) { SetKnowledgeBaseId(value); return *this;}
93 inline StartIngestionJobRequest& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
94 inline StartIngestionJobRequest& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
96 private:
97
98 Aws::String m_clientToken;
99 bool m_clientTokenHasBeenSet = false;
100
101 Aws::String m_dataSourceId;
102 bool m_dataSourceIdHasBeenSet = false;
103
104 Aws::String m_description;
105 bool m_descriptionHasBeenSet = false;
106
107 Aws::String m_knowledgeBaseId;
108 bool m_knowledgeBaseIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace BedrockAgent
113} // namespace Aws
StartIngestionJobRequest & WithClientToken(const Aws::String &value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
StartIngestionJobRequest & WithDescription(Aws::String &&value)
StartIngestionJobRequest & WithKnowledgeBaseId(const char *value)
StartIngestionJobRequest & WithDataSourceId(Aws::String &&value)
StartIngestionJobRequest & WithDescription(const Aws::String &value)
StartIngestionJobRequest & WithDataSourceId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
StartIngestionJobRequest & WithClientToken(const char *value)
StartIngestionJobRequest & WithDescription(const char *value)
StartIngestionJobRequest & WithKnowledgeBaseId(Aws::String &&value)
StartIngestionJobRequest & WithKnowledgeBaseId(const Aws::String &value)
StartIngestionJobRequest & WithDataSourceId(const char *value)
StartIngestionJobRequest & WithClientToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String