AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListIngestionJobsRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock-agent/model/IngestionJobSortBy.h>
12#include <aws/bedrock-agent/model/IngestionJobFilter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace BedrockAgent
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_BEDROCKAGENT_API ListIngestionJobsRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ListIngestionJobs"; }
34
35 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
44 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
45 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
46 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
47 inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
48 inline ListIngestionJobsRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
49 inline ListIngestionJobsRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
50 inline ListIngestionJobsRequest& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
52
54
57 inline const Aws::Vector<IngestionJobFilter>& GetFilters() const{ return m_filters; }
58 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
59 inline void SetFilters(const Aws::Vector<IngestionJobFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
60 inline void SetFilters(Aws::Vector<IngestionJobFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
62 inline ListIngestionJobsRequest& WithFilters(Aws::Vector<IngestionJobFilter>&& value) { SetFilters(std::move(value)); return *this;}
63 inline ListIngestionJobsRequest& AddFilters(const IngestionJobFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
64 inline ListIngestionJobsRequest& AddFilters(IngestionJobFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
66
68
72 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
73 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
74 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
75 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
76 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
77 inline ListIngestionJobsRequest& WithKnowledgeBaseId(const Aws::String& value) { SetKnowledgeBaseId(value); return *this;}
78 inline ListIngestionJobsRequest& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
79 inline ListIngestionJobsRequest& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
81
83
89 inline int GetMaxResults() const{ return m_maxResults; }
90 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
92 inline ListIngestionJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
94
96
102 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
103 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
104 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
105 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
106 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
107 inline ListIngestionJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 inline ListIngestionJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 inline ListIngestionJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
111
113
116 inline const IngestionJobSortBy& GetSortBy() const{ return m_sortBy; }
117 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
118 inline void SetSortBy(const IngestionJobSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
119 inline void SetSortBy(IngestionJobSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
120 inline ListIngestionJobsRequest& WithSortBy(const IngestionJobSortBy& value) { SetSortBy(value); return *this;}
121 inline ListIngestionJobsRequest& WithSortBy(IngestionJobSortBy&& value) { SetSortBy(std::move(value)); return *this;}
123 private:
124
125 Aws::String m_dataSourceId;
126 bool m_dataSourceIdHasBeenSet = false;
127
129 bool m_filtersHasBeenSet = false;
130
131 Aws::String m_knowledgeBaseId;
132 bool m_knowledgeBaseIdHasBeenSet = false;
133
134 int m_maxResults;
135 bool m_maxResultsHasBeenSet = false;
136
137 Aws::String m_nextToken;
138 bool m_nextTokenHasBeenSet = false;
139
140 IngestionJobSortBy m_sortBy;
141 bool m_sortByHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace BedrockAgent
146} // namespace Aws
ListIngestionJobsRequest & WithNextToken(const Aws::String &value)
void SetFilters(Aws::Vector< IngestionJobFilter > &&value)
const Aws::Vector< IngestionJobFilter > & GetFilters() const
void SetFilters(const Aws::Vector< IngestionJobFilter > &value)
ListIngestionJobsRequest & WithDataSourceId(const Aws::String &value)
ListIngestionJobsRequest & WithKnowledgeBaseId(Aws::String &&value)
ListIngestionJobsRequest & WithNextToken(const char *value)
ListIngestionJobsRequest & WithFilters(const Aws::Vector< IngestionJobFilter > &value)
ListIngestionJobsRequest & WithFilters(Aws::Vector< IngestionJobFilter > &&value)
ListIngestionJobsRequest & WithDataSourceId(Aws::String &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListIngestionJobsRequest & WithSortBy(const IngestionJobSortBy &value)
ListIngestionJobsRequest & AddFilters(IngestionJobFilter &&value)
ListIngestionJobsRequest & WithSortBy(IngestionJobSortBy &&value)
ListIngestionJobsRequest & WithNextToken(Aws::String &&value)
ListIngestionJobsRequest & WithKnowledgeBaseId(const Aws::String &value)
ListIngestionJobsRequest & WithKnowledgeBaseId(const char *value)
ListIngestionJobsRequest & WithDataSourceId(const char *value)
ListIngestionJobsRequest & AddFilters(const IngestionJobFilter &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector