AWS SDK for C++  1.9.129
AWS SDK for C++
ListDataSourceSyncJobsRequest.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 "ListDataSourceSyncJobs"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetId() const{ return m_id; }
43 
47  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 
52  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 
57  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
58 
62  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
63 
67  inline ListDataSourceSyncJobsRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
68 
72  inline ListDataSourceSyncJobsRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
73 
77  inline ListDataSourceSyncJobsRequest& WithId(const char* value) { SetId(value); return *this;}
78 
79 
83  inline const Aws::String& GetIndexId() const{ return m_indexId; }
84 
88  inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
89 
93  inline void SetIndexId(const Aws::String& value) { m_indexIdHasBeenSet = true; m_indexId = value; }
94 
98  inline void SetIndexId(Aws::String&& value) { m_indexIdHasBeenSet = true; m_indexId = std::move(value); }
99 
103  inline void SetIndexId(const char* value) { m_indexIdHasBeenSet = true; m_indexId.assign(value); }
104 
108  inline ListDataSourceSyncJobsRequest& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
109 
113  inline ListDataSourceSyncJobsRequest& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
114 
118  inline ListDataSourceSyncJobsRequest& WithIndexId(const char* value) { SetIndexId(value); return *this;}
119 
120 
126  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
127 
133  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
134 
140  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
141 
147  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
148 
154  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
155 
161  inline ListDataSourceSyncJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
162 
168  inline ListDataSourceSyncJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
169 
175  inline ListDataSourceSyncJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
176 
177 
183  inline int GetMaxResults() const{ return m_maxResults; }
184 
190  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
191 
197  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
198 
204  inline ListDataSourceSyncJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
205 
206 
211  inline const TimeRange& GetStartTimeFilter() const{ return m_startTimeFilter; }
212 
217  inline bool StartTimeFilterHasBeenSet() const { return m_startTimeFilterHasBeenSet; }
218 
223  inline void SetStartTimeFilter(const TimeRange& value) { m_startTimeFilterHasBeenSet = true; m_startTimeFilter = value; }
224 
229  inline void SetStartTimeFilter(TimeRange&& value) { m_startTimeFilterHasBeenSet = true; m_startTimeFilter = std::move(value); }
230 
235  inline ListDataSourceSyncJobsRequest& WithStartTimeFilter(const TimeRange& value) { SetStartTimeFilter(value); return *this;}
236 
241  inline ListDataSourceSyncJobsRequest& WithStartTimeFilter(TimeRange&& value) { SetStartTimeFilter(std::move(value)); return *this;}
242 
243 
248  inline const DataSourceSyncJobStatus& GetStatusFilter() const{ return m_statusFilter; }
249 
254  inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
255 
260  inline void SetStatusFilter(const DataSourceSyncJobStatus& value) { m_statusFilterHasBeenSet = true; m_statusFilter = value; }
261 
266  inline void SetStatusFilter(DataSourceSyncJobStatus&& value) { m_statusFilterHasBeenSet = true; m_statusFilter = std::move(value); }
267 
272  inline ListDataSourceSyncJobsRequest& WithStatusFilter(const DataSourceSyncJobStatus& value) { SetStatusFilter(value); return *this;}
273 
278  inline ListDataSourceSyncJobsRequest& WithStatusFilter(DataSourceSyncJobStatus&& value) { SetStatusFilter(std::move(value)); return *this;}
279 
280  private:
281 
282  Aws::String m_id;
283  bool m_idHasBeenSet;
284 
285  Aws::String m_indexId;
286  bool m_indexIdHasBeenSet;
287 
288  Aws::String m_nextToken;
289  bool m_nextTokenHasBeenSet;
290 
291  int m_maxResults;
292  bool m_maxResultsHasBeenSet;
293 
294  TimeRange m_startTimeFilter;
295  bool m_startTimeFilterHasBeenSet;
296 
297  DataSourceSyncJobStatus m_statusFilter;
298  bool m_statusFilterHasBeenSet;
299  };
300 
301 } // namespace Model
302 } // namespace kendra
303 } // namespace Aws
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SetStartTimeFilter
void SetStartTimeFilter(TimeRange &&value)
Definition: ListDataSourceSyncJobsRequest.h:229
Aws::kendra::Model::ListDataSourceSyncJobsRequest::ListDataSourceSyncJobsRequest
ListDataSourceSyncJobsRequest()
Aws::kendra::KendraRequest
Definition: KendraRequest.h:17
Aws::kendra::Model::ListDataSourceSyncJobsRequest::GetId
const Aws::String & GetId() const
Definition: ListDataSourceSyncJobsRequest.h:42
Aws::kendra::Model::ListDataSourceSyncJobsRequest::WithNextToken
ListDataSourceSyncJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListDataSourceSyncJobsRequest.h:161
Aws::kendra::Model::ListDataSourceSyncJobsRequest::StatusFilterHasBeenSet
bool StatusFilterHasBeenSet() const
Definition: ListDataSourceSyncJobsRequest.h:254
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDataSourceSyncJobsRequest.h:154
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::kendra::Model::ListDataSourceSyncJobsRequest::WithIndexId
ListDataSourceSyncJobsRequest & WithIndexId(const Aws::String &value)
Definition: ListDataSourceSyncJobsRequest.h:108
Aws::kendra::Model::DataSourceSyncJobStatus
DataSourceSyncJobStatus
Definition: DataSourceSyncJobStatus.h:17
Aws::kendra::Model::TimeRange
Definition: TimeRange.h:32
TimeRange.h
KendraRequest.h
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDataSourceSyncJobsRequest.h:147
Aws::kendra::Model::ListDataSourceSyncJobsRequest
Definition: ListDataSourceSyncJobsRequest.h:24
Aws::kendra::Model::ListDataSourceSyncJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDataSourceSyncJobsRequest.h:126
Aws::kendra::Model::ListDataSourceSyncJobsRequest::GetStartTimeFilter
const TimeRange & GetStartTimeFilter() const
Definition: ListDataSourceSyncJobsRequest.h:211
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SetIndexId
void SetIndexId(const Aws::String &value)
Definition: ListDataSourceSyncJobsRequest.h:93
Aws::kendra::Model::ListDataSourceSyncJobsRequest::WithId
ListDataSourceSyncJobsRequest & WithId(const Aws::String &value)
Definition: ListDataSourceSyncJobsRequest.h:67
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SetId
void SetId(const Aws::String &value)
Definition: ListDataSourceSyncJobsRequest.h:52
Aws::kendra::Model::ListDataSourceSyncJobsRequest::WithId
ListDataSourceSyncJobsRequest & WithId(const char *value)
Definition: ListDataSourceSyncJobsRequest.h:77
Kendra_EXPORTS.h
Aws::kendra::Model::ListDataSourceSyncJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDataSourceSyncJobsRequest.h:133
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SetStatusFilter
void SetStatusFilter(const DataSourceSyncJobStatus &value)
Definition: ListDataSourceSyncJobsRequest.h:260
Aws::kendra::Model::ListDataSourceSyncJobsRequest::WithNextToken
ListDataSourceSyncJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListDataSourceSyncJobsRequest.h:168
Aws::kendra::Model::ListDataSourceSyncJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDataSourceSyncJobsRequest.h:183
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDataSourceSyncJobsRequest.h:197
AWSString.h
Aws::kendra::Model::ListDataSourceSyncJobsRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ListDataSourceSyncJobsRequest.h:47
Aws::kendra::Model::ListDataSourceSyncJobsRequest::WithIndexId
ListDataSourceSyncJobsRequest & WithIndexId(const char *value)
Definition: ListDataSourceSyncJobsRequest.h:118
Aws::kendra::Model::ListDataSourceSyncJobsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SetStatusFilter
void SetStatusFilter(DataSourceSyncJobStatus &&value)
Definition: ListDataSourceSyncJobsRequest.h:266
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDataSourceSyncJobsRequest.h:140
Aws::kendra::Model::ListDataSourceSyncJobsRequest::WithStartTimeFilter
ListDataSourceSyncJobsRequest & WithStartTimeFilter(TimeRange &&value)
Definition: ListDataSourceSyncJobsRequest.h:241
Aws::kendra::Model::ListDataSourceSyncJobsRequest::WithId
ListDataSourceSyncJobsRequest & WithId(Aws::String &&value)
Definition: ListDataSourceSyncJobsRequest.h:72
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SetId
void SetId(Aws::String &&value)
Definition: ListDataSourceSyncJobsRequest.h:57
Aws::kendra::Model::ListDataSourceSyncJobsRequest::StartTimeFilterHasBeenSet
bool StartTimeFilterHasBeenSet() const
Definition: ListDataSourceSyncJobsRequest.h:217
Aws::kendra::Model::ListDataSourceSyncJobsRequest::WithStatusFilter
ListDataSourceSyncJobsRequest & WithStatusFilter(const DataSourceSyncJobStatus &value)
Definition: ListDataSourceSyncJobsRequest.h:272
Aws
Definition: AccessManagementClient.h:15
Aws::kendra::Model::ListDataSourceSyncJobsRequest::WithStatusFilter
ListDataSourceSyncJobsRequest & WithStatusFilter(DataSourceSyncJobStatus &&value)
Definition: ListDataSourceSyncJobsRequest.h:278
Aws::kendra::Model::ListDataSourceSyncJobsRequest::WithMaxResults
ListDataSourceSyncJobsRequest & WithMaxResults(int value)
Definition: ListDataSourceSyncJobsRequest.h:204
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::kendra::Model::ListDataSourceSyncJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDataSourceSyncJobsRequest.h:32
Aws::kendra::Model::ListDataSourceSyncJobsRequest::GetStatusFilter
const DataSourceSyncJobStatus & GetStatusFilter() const
Definition: ListDataSourceSyncJobsRequest.h:248
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_KENDRA_API
#define AWS_KENDRA_API
Definition: Kendra_EXPORTS.h:28
Aws::kendra::Model::ListDataSourceSyncJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDataSourceSyncJobsRequest.h:190
Aws::kendra::Model::ListDataSourceSyncJobsRequest::WithNextToken
ListDataSourceSyncJobsRequest & WithNextToken(const char *value)
Definition: ListDataSourceSyncJobsRequest.h:175
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SetStartTimeFilter
void SetStartTimeFilter(const TimeRange &value)
Definition: ListDataSourceSyncJobsRequest.h:223
Aws::kendra::Model::ListDataSourceSyncJobsRequest::WithIndexId
ListDataSourceSyncJobsRequest & WithIndexId(Aws::String &&value)
Definition: ListDataSourceSyncJobsRequest.h:113
DataSourceSyncJobStatus.h
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SetIndexId
void SetIndexId(const char *value)
Definition: ListDataSourceSyncJobsRequest.h:103
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SetId
void SetId(const char *value)
Definition: ListDataSourceSyncJobsRequest.h:62
Aws::kendra::Model::ListDataSourceSyncJobsRequest::GetIndexId
const Aws::String & GetIndexId() const
Definition: ListDataSourceSyncJobsRequest.h:83
Aws::kendra::Model::ListDataSourceSyncJobsRequest::IndexIdHasBeenSet
bool IndexIdHasBeenSet() const
Definition: ListDataSourceSyncJobsRequest.h:88
Aws::kendra::Model::ListDataSourceSyncJobsRequest::SetIndexId
void SetIndexId(Aws::String &&value)
Definition: ListDataSourceSyncJobsRequest.h:98
Aws::kendra::Model::ListDataSourceSyncJobsRequest::WithStartTimeFilter
ListDataSourceSyncJobsRequest & WithStartTimeFilter(const TimeRange &value)
Definition: ListDataSourceSyncJobsRequest.h:235