AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ListPipelinesRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/SortOrder.h>
12#include <aws/sagemaker/model/SortPipelinesBy.h>
13
14#include <utility>
15
16namespace Aws {
17namespace SageMaker {
18namespace Model {
19
23 public:
24 AWS_SAGEMAKER_API ListPipelinesRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListPipelines"; }
31
32 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
33
35
37
40 inline const Aws::String& GetPipelineNamePrefix() const { return m_pipelineNamePrefix; }
41 inline bool PipelineNamePrefixHasBeenSet() const { return m_pipelineNamePrefixHasBeenSet; }
42 template <typename PipelineNamePrefixT = Aws::String>
43 void SetPipelineNamePrefix(PipelineNamePrefixT&& value) {
44 m_pipelineNamePrefixHasBeenSet = true;
45 m_pipelineNamePrefix = std::forward<PipelineNamePrefixT>(value);
46 }
47 template <typename PipelineNamePrefixT = Aws::String>
48 ListPipelinesRequest& WithPipelineNamePrefix(PipelineNamePrefixT&& value) {
49 SetPipelineNamePrefix(std::forward<PipelineNamePrefixT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::Utils::DateTime& GetCreatedAfter() const { return m_createdAfter; }
60 inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
61 template <typename CreatedAfterT = Aws::Utils::DateTime>
62 void SetCreatedAfter(CreatedAfterT&& value) {
63 m_createdAfterHasBeenSet = true;
64 m_createdAfter = std::forward<CreatedAfterT>(value);
65 }
66 template <typename CreatedAfterT = Aws::Utils::DateTime>
67 ListPipelinesRequest& WithCreatedAfter(CreatedAfterT&& value) {
68 SetCreatedAfter(std::forward<CreatedAfterT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::Utils::DateTime& GetCreatedBefore() const { return m_createdBefore; }
79 inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
80 template <typename CreatedBeforeT = Aws::Utils::DateTime>
81 void SetCreatedBefore(CreatedBeforeT&& value) {
82 m_createdBeforeHasBeenSet = true;
83 m_createdBefore = std::forward<CreatedBeforeT>(value);
84 }
85 template <typename CreatedBeforeT = Aws::Utils::DateTime>
86 ListPipelinesRequest& WithCreatedBefore(CreatedBeforeT&& value) {
87 SetCreatedBefore(std::forward<CreatedBeforeT>(value));
88 return *this;
89 }
91
93
97 inline SortPipelinesBy GetSortBy() const { return m_sortBy; }
98 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
99 inline void SetSortBy(SortPipelinesBy value) {
100 m_sortByHasBeenSet = true;
101 m_sortBy = value;
102 }
104 SetSortBy(value);
105 return *this;
106 }
108
110
113 inline SortOrder GetSortOrder() const { return m_sortOrder; }
114 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
115 inline void SetSortOrder(SortOrder value) {
116 m_sortOrderHasBeenSet = true;
117 m_sortOrder = value;
118 }
120 SetSortOrder(value);
121 return *this;
122 }
124
126
131 inline const Aws::String& GetNextToken() const { return m_nextToken; }
132 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
133 template <typename NextTokenT = Aws::String>
134 void SetNextToken(NextTokenT&& value) {
135 m_nextTokenHasBeenSet = true;
136 m_nextToken = std::forward<NextTokenT>(value);
137 }
138 template <typename NextTokenT = Aws::String>
139 ListPipelinesRequest& WithNextToken(NextTokenT&& value) {
140 SetNextToken(std::forward<NextTokenT>(value));
141 return *this;
142 }
144
146
149 inline int GetMaxResults() const { return m_maxResults; }
150 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
151 inline void SetMaxResults(int value) {
152 m_maxResultsHasBeenSet = true;
153 m_maxResults = value;
154 }
156 SetMaxResults(value);
157 return *this;
158 }
160 private:
161 Aws::String m_pipelineNamePrefix;
162
163 Aws::Utils::DateTime m_createdAfter{};
164
165 Aws::Utils::DateTime m_createdBefore{};
166
168
169 SortOrder m_sortOrder{SortOrder::NOT_SET};
170
171 Aws::String m_nextToken;
172
173 int m_maxResults{0};
174 bool m_pipelineNamePrefixHasBeenSet = false;
175 bool m_createdAfterHasBeenSet = false;
176 bool m_createdBeforeHasBeenSet = false;
177 bool m_sortByHasBeenSet = false;
178 bool m_sortOrderHasBeenSet = false;
179 bool m_nextTokenHasBeenSet = false;
180 bool m_maxResultsHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace SageMaker
185} // namespace Aws
AWS_SAGEMAKER_API ListPipelinesRequest()=default
ListPipelinesRequest & WithPipelineNamePrefix(PipelineNamePrefixT &&value)
ListPipelinesRequest & WithCreatedAfter(CreatedAfterT &&value)
ListPipelinesRequest & WithMaxResults(int value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListPipelinesRequest & WithNextToken(NextTokenT &&value)
void SetPipelineNamePrefix(PipelineNamePrefixT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListPipelinesRequest & WithSortBy(SortPipelinesBy value)
const Aws::Utils::DateTime & GetCreatedAfter() const
const Aws::Utils::DateTime & GetCreatedBefore() const
ListPipelinesRequest & WithSortOrder(SortOrder value)
ListPipelinesRequest & WithCreatedBefore(CreatedBeforeT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String