AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMLTaskRunsRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/TaskRunFilterCriteria.h>
11#include <aws/glue/model/TaskRunSortCriteria.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Glue
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GLUE_API GetMLTaskRunsRequest();
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 "GetMLTaskRuns"; }
33
34 AWS_GLUE_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetTransformId() const{ return m_transformId; }
44 inline bool TransformIdHasBeenSet() const { return m_transformIdHasBeenSet; }
45 inline void SetTransformId(const Aws::String& value) { m_transformIdHasBeenSet = true; m_transformId = value; }
46 inline void SetTransformId(Aws::String&& value) { m_transformIdHasBeenSet = true; m_transformId = std::move(value); }
47 inline void SetTransformId(const char* value) { m_transformIdHasBeenSet = true; m_transformId.assign(value); }
48 inline GetMLTaskRunsRequest& WithTransformId(const Aws::String& value) { SetTransformId(value); return *this;}
49 inline GetMLTaskRunsRequest& WithTransformId(Aws::String&& value) { SetTransformId(std::move(value)); return *this;}
50 inline GetMLTaskRunsRequest& WithTransformId(const char* value) { SetTransformId(value); return *this;}
52
54
57 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
58 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
59 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
60 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
61 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
62 inline GetMLTaskRunsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
63 inline GetMLTaskRunsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
64 inline GetMLTaskRunsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
66
68
71 inline int GetMaxResults() const{ return m_maxResults; }
72 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
73 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
74 inline GetMLTaskRunsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
76
78
82 inline const TaskRunFilterCriteria& GetFilter() const{ return m_filter; }
83 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
84 inline void SetFilter(const TaskRunFilterCriteria& value) { m_filterHasBeenSet = true; m_filter = value; }
85 inline void SetFilter(TaskRunFilterCriteria&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
86 inline GetMLTaskRunsRequest& WithFilter(const TaskRunFilterCriteria& value) { SetFilter(value); return *this;}
87 inline GetMLTaskRunsRequest& WithFilter(TaskRunFilterCriteria&& value) { SetFilter(std::move(value)); return *this;}
89
91
95 inline const TaskRunSortCriteria& GetSort() const{ return m_sort; }
96 inline bool SortHasBeenSet() const { return m_sortHasBeenSet; }
97 inline void SetSort(const TaskRunSortCriteria& value) { m_sortHasBeenSet = true; m_sort = value; }
98 inline void SetSort(TaskRunSortCriteria&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); }
99 inline GetMLTaskRunsRequest& WithSort(const TaskRunSortCriteria& value) { SetSort(value); return *this;}
100 inline GetMLTaskRunsRequest& WithSort(TaskRunSortCriteria&& value) { SetSort(std::move(value)); return *this;}
102 private:
103
104 Aws::String m_transformId;
105 bool m_transformIdHasBeenSet = false;
106
107 Aws::String m_nextToken;
108 bool m_nextTokenHasBeenSet = false;
109
110 int m_maxResults;
111 bool m_maxResultsHasBeenSet = false;
112
113 TaskRunFilterCriteria m_filter;
114 bool m_filterHasBeenSet = false;
115
116 TaskRunSortCriteria m_sort;
117 bool m_sortHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Glue
122} // namespace Aws
GetMLTaskRunsRequest & WithNextToken(const Aws::String &value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSort(TaskRunSortCriteria &&value)
GetMLTaskRunsRequest & WithNextToken(const char *value)
GetMLTaskRunsRequest & WithFilter(TaskRunFilterCriteria &&value)
void SetNextToken(const Aws::String &value)
const TaskRunSortCriteria & GetSort() const
GetMLTaskRunsRequest & WithSort(const TaskRunSortCriteria &value)
void SetSort(const TaskRunSortCriteria &value)
GetMLTaskRunsRequest & WithSort(TaskRunSortCriteria &&value)
void SetFilter(TaskRunFilterCriteria &&value)
const Aws::String & GetTransformId() const
virtual const char * GetServiceRequestName() const override
const TaskRunFilterCriteria & GetFilter() const
GetMLTaskRunsRequest & WithNextToken(Aws::String &&value)
GetMLTaskRunsRequest & WithMaxResults(int value)
GetMLTaskRunsRequest & WithTransformId(const char *value)
GetMLTaskRunsRequest & WithTransformId(const Aws::String &value)
GetMLTaskRunsRequest & WithTransformId(Aws::String &&value)
GetMLTaskRunsRequest & WithFilter(const TaskRunFilterCriteria &value)
void SetTransformId(const Aws::String &value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetFilter(const TaskRunFilterCriteria &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String