AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename TransformIdT = Aws::String>
46 void SetTransformId(TransformIdT&& value) { m_transformIdHasBeenSet = true; m_transformId = std::forward<TransformIdT>(value); }
47 template<typename TransformIdT = Aws::String>
48 GetMLTaskRunsRequest& WithTransformId(TransformIdT&& value) { SetTransformId(std::forward<TransformIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetNextToken() const { return m_nextToken; }
56 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
57 template<typename NextTokenT = Aws::String>
58 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
59 template<typename NextTokenT = Aws::String>
60 GetMLTaskRunsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
62
64
67 inline int GetMaxResults() const { return m_maxResults; }
68 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
69 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
70 inline GetMLTaskRunsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
72
74
78 inline const TaskRunFilterCriteria& GetFilter() const { return m_filter; }
79 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
80 template<typename FilterT = TaskRunFilterCriteria>
81 void SetFilter(FilterT&& value) { m_filterHasBeenSet = true; m_filter = std::forward<FilterT>(value); }
82 template<typename FilterT = TaskRunFilterCriteria>
83 GetMLTaskRunsRequest& WithFilter(FilterT&& value) { SetFilter(std::forward<FilterT>(value)); return *this;}
85
87
91 inline const TaskRunSortCriteria& GetSort() const { return m_sort; }
92 inline bool SortHasBeenSet() const { return m_sortHasBeenSet; }
93 template<typename SortT = TaskRunSortCriteria>
94 void SetSort(SortT&& value) { m_sortHasBeenSet = true; m_sort = std::forward<SortT>(value); }
95 template<typename SortT = TaskRunSortCriteria>
96 GetMLTaskRunsRequest& WithSort(SortT&& value) { SetSort(std::forward<SortT>(value)); return *this;}
98 private:
99
100 Aws::String m_transformId;
101 bool m_transformIdHasBeenSet = false;
102
103 Aws::String m_nextToken;
104 bool m_nextTokenHasBeenSet = false;
105
106 int m_maxResults{0};
107 bool m_maxResultsHasBeenSet = false;
108
109 TaskRunFilterCriteria m_filter;
110 bool m_filterHasBeenSet = false;
111
112 TaskRunSortCriteria m_sort;
113 bool m_sortHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Glue
118} // namespace Aws
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetMLTaskRunsRequest & WithNextToken(NextTokenT &&value)
GetMLTaskRunsRequest & WithFilter(FilterT &&value)
AWS_GLUE_API GetMLTaskRunsRequest()=default
const TaskRunSortCriteria & GetSort() const
const Aws::String & GetTransformId() const
virtual const char * GetServiceRequestName() const override
const TaskRunFilterCriteria & GetFilter() const
GetMLTaskRunsRequest & WithTransformId(TransformIdT &&value)
GetMLTaskRunsRequest & WithSort(SortT &&value)
GetMLTaskRunsRequest & WithMaxResults(int value)
AWS_GLUE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String