AWS SDK for C++  1.9.157
AWS SDK for C++
ListPipelinesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SageMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
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 "ListPipelines"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetPipelineNamePrefix() const{ return m_pipelineNamePrefix; }
44 
48  inline bool PipelineNamePrefixHasBeenSet() const { return m_pipelineNamePrefixHasBeenSet; }
49 
53  inline void SetPipelineNamePrefix(const Aws::String& value) { m_pipelineNamePrefixHasBeenSet = true; m_pipelineNamePrefix = value; }
54 
58  inline void SetPipelineNamePrefix(Aws::String&& value) { m_pipelineNamePrefixHasBeenSet = true; m_pipelineNamePrefix = std::move(value); }
59 
63  inline void SetPipelineNamePrefix(const char* value) { m_pipelineNamePrefixHasBeenSet = true; m_pipelineNamePrefix.assign(value); }
64 
68  inline ListPipelinesRequest& WithPipelineNamePrefix(const Aws::String& value) { SetPipelineNamePrefix(value); return *this;}
69 
73  inline ListPipelinesRequest& WithPipelineNamePrefix(Aws::String&& value) { SetPipelineNamePrefix(std::move(value)); return *this;}
74 
78  inline ListPipelinesRequest& WithPipelineNamePrefix(const char* value) { SetPipelineNamePrefix(value); return *this;}
79 
80 
85  inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; }
86 
91  inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
92 
97  inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; }
98 
103  inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); }
104 
109  inline ListPipelinesRequest& WithCreatedAfter(const Aws::Utils::DateTime& value) { SetCreatedAfter(value); return *this;}
110 
115  inline ListPipelinesRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;}
116 
117 
122  inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; }
123 
128  inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
129 
134  inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; }
135 
140  inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); }
141 
146  inline ListPipelinesRequest& WithCreatedBefore(const Aws::Utils::DateTime& value) { SetCreatedBefore(value); return *this;}
147 
152  inline ListPipelinesRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
153 
154 
159  inline const SortPipelinesBy& GetSortBy() const{ return m_sortBy; }
160 
165  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
166 
171  inline void SetSortBy(const SortPipelinesBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
172 
177  inline void SetSortBy(SortPipelinesBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
178 
183  inline ListPipelinesRequest& WithSortBy(const SortPipelinesBy& value) { SetSortBy(value); return *this;}
184 
189  inline ListPipelinesRequest& WithSortBy(SortPipelinesBy&& value) { SetSortBy(std::move(value)); return *this;}
190 
191 
195  inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
196 
200  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
201 
205  inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
206 
210  inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
211 
215  inline ListPipelinesRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
216 
220  inline ListPipelinesRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
221 
222 
228  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
229 
235  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
236 
242  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
243 
249  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
250 
256  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
257 
263  inline ListPipelinesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
264 
270  inline ListPipelinesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
271 
277  inline ListPipelinesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
278 
279 
283  inline int GetMaxResults() const{ return m_maxResults; }
284 
288  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
289 
293  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
294 
298  inline ListPipelinesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
299 
300  private:
301 
302  Aws::String m_pipelineNamePrefix;
303  bool m_pipelineNamePrefixHasBeenSet;
304 
305  Aws::Utils::DateTime m_createdAfter;
306  bool m_createdAfterHasBeenSet;
307 
308  Aws::Utils::DateTime m_createdBefore;
309  bool m_createdBeforeHasBeenSet;
310 
311  SortPipelinesBy m_sortBy;
312  bool m_sortByHasBeenSet;
313 
314  SortOrder m_sortOrder;
315  bool m_sortOrderHasBeenSet;
316 
317  Aws::String m_nextToken;
318  bool m_nextTokenHasBeenSet;
319 
320  int m_maxResults;
321  bool m_maxResultsHasBeenSet;
322  };
323 
324 } // namespace Model
325 } // namespace SageMaker
326 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::ListPipelinesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListPipelinesRequest.h:256
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListPipelinesRequest::CreatedBeforeHasBeenSet
bool CreatedBeforeHasBeenSet() const
Definition: ListPipelinesRequest.h:128
Aws::SageMaker::Model::ListPipelinesRequest::WithCreatedBefore
ListPipelinesRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
Definition: ListPipelinesRequest.h:146
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListPipelinesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPipelinesRequest.h:228
Aws::SageMaker::Model::ListPipelinesRequest::WithSortOrder
ListPipelinesRequest & WithSortOrder(SortOrder &&value)
Definition: ListPipelinesRequest.h:220
Aws::SageMaker::Model::SortOrder
SortOrder
Definition: SortOrder.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::ListPipelinesRequest::WithPipelineNamePrefix
ListPipelinesRequest & WithPipelineNamePrefix(const Aws::String &value)
Definition: ListPipelinesRequest.h:68
Aws::SageMaker::Model::ListPipelinesRequest::WithPipelineNamePrefix
ListPipelinesRequest & WithPipelineNamePrefix(const char *value)
Definition: ListPipelinesRequest.h:78
Aws::SageMaker::Model::ListPipelinesRequest::SetPipelineNamePrefix
void SetPipelineNamePrefix(Aws::String &&value)
Definition: ListPipelinesRequest.h:58
DateTime.h
Aws::SageMaker::Model::ListPipelinesRequest::CreatedAfterHasBeenSet
bool CreatedAfterHasBeenSet() const
Definition: ListPipelinesRequest.h:91
Aws::SageMaker::Model::ListPipelinesRequest::WithSortOrder
ListPipelinesRequest & WithSortOrder(const SortOrder &value)
Definition: ListPipelinesRequest.h:215
Aws::SageMaker::Model::ListPipelinesRequest::SetPipelineNamePrefix
void SetPipelineNamePrefix(const Aws::String &value)
Definition: ListPipelinesRequest.h:53
Aws::SageMaker::Model::ListPipelinesRequest::SetSortOrder
void SetSortOrder(SortOrder &&value)
Definition: ListPipelinesRequest.h:210
Aws::SageMaker::Model::ListPipelinesRequest::SetSortOrder
void SetSortOrder(const SortOrder &value)
Definition: ListPipelinesRequest.h:205
Aws::SageMaker::Model::ListPipelinesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SortPipelinesBy.h
Aws::SageMaker::Model::ListPipelinesRequest::ListPipelinesRequest
ListPipelinesRequest()
Aws::SageMaker::Model::ListPipelinesRequest::GetCreatedAfter
const Aws::Utils::DateTime & GetCreatedAfter() const
Definition: ListPipelinesRequest.h:85
Aws::SageMaker::Model::ListPipelinesRequest::SetCreatedAfter
void SetCreatedAfter(const Aws::Utils::DateTime &value)
Definition: ListPipelinesRequest.h:97
Aws::SageMaker::Model::ListPipelinesRequest::WithSortBy
ListPipelinesRequest & WithSortBy(const SortPipelinesBy &value)
Definition: ListPipelinesRequest.h:183
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::ListPipelinesRequest::WithMaxResults
ListPipelinesRequest & WithMaxResults(int value)
Definition: ListPipelinesRequest.h:298
SortOrder.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListPipelinesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListPipelinesRequest.h:288
Aws::SageMaker::Model::ListPipelinesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPipelinesRequest.h:242
Aws::SageMaker::Model::ListPipelinesRequest::SetSortBy
void SetSortBy(SortPipelinesBy &&value)
Definition: ListPipelinesRequest.h:177
Aws::SageMaker::Model::ListPipelinesRequest::WithNextToken
ListPipelinesRequest & WithNextToken(Aws::String &&value)
Definition: ListPipelinesRequest.h:270
Aws::SageMaker::Model::ListPipelinesRequest::SetCreatedBefore
void SetCreatedBefore(const Aws::Utils::DateTime &value)
Definition: ListPipelinesRequest.h:134
Aws::SageMaker::Model::ListPipelinesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::ListPipelinesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPipelinesRequest.h:33
Aws::SageMaker::Model::ListPipelinesRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListPipelinesRequest.h:200
Aws::SageMaker::Model::ListPipelinesRequest::WithNextToken
ListPipelinesRequest & WithNextToken(const Aws::String &value)
Definition: ListPipelinesRequest.h:263
Aws::SageMaker::Model::ListPipelinesRequest::GetSortBy
const SortPipelinesBy & GetSortBy() const
Definition: ListPipelinesRequest.h:159
Aws::SageMaker::Model::ListPipelinesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListPipelinesRequest.h:235
Aws::SageMaker::Model::ListPipelinesRequest::GetPipelineNamePrefix
const Aws::String & GetPipelineNamePrefix() const
Definition: ListPipelinesRequest.h:43
Aws::SageMaker::Model::ListPipelinesRequest::WithNextToken
ListPipelinesRequest & WithNextToken(const char *value)
Definition: ListPipelinesRequest.h:277
AWSString.h
Aws::SageMaker::Model::ListPipelinesRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListPipelinesRequest.h:165
Aws::SageMaker::Model::SortPipelinesBy
SortPipelinesBy
Definition: SortPipelinesBy.h:17
Aws::SageMaker::Model::ListPipelinesRequest::SetSortBy
void SetSortBy(const SortPipelinesBy &value)
Definition: ListPipelinesRequest.h:171
Aws::SageMaker::Model::ListPipelinesRequest::WithPipelineNamePrefix
ListPipelinesRequest & WithPipelineNamePrefix(Aws::String &&value)
Definition: ListPipelinesRequest.h:73
Aws::SageMaker::Model::ListPipelinesRequest::GetSortOrder
const SortOrder & GetSortOrder() const
Definition: ListPipelinesRequest.h:195
Aws::SageMaker::Model::ListPipelinesRequest::WithCreatedAfter
ListPipelinesRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
Definition: ListPipelinesRequest.h:115
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListPipelinesRequest::SetPipelineNamePrefix
void SetPipelineNamePrefix(const char *value)
Definition: ListPipelinesRequest.h:63
Aws::SageMaker::Model::ListPipelinesRequest
Definition: ListPipelinesRequest.h:25
SageMakerRequest.h
Aws::SageMaker::Model::ListPipelinesRequest::WithSortBy
ListPipelinesRequest & WithSortBy(SortPipelinesBy &&value)
Definition: ListPipelinesRequest.h:189
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListPipelinesRequest::SetCreatedBefore
void SetCreatedBefore(Aws::Utils::DateTime &&value)
Definition: ListPipelinesRequest.h:140
Aws::SageMaker::Model::ListPipelinesRequest::PipelineNamePrefixHasBeenSet
bool PipelineNamePrefixHasBeenSet() const
Definition: ListPipelinesRequest.h:48
Aws::SageMaker::Model::ListPipelinesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListPipelinesRequest.h:283
Aws::SageMaker::Model::ListPipelinesRequest::WithCreatedAfter
ListPipelinesRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
Definition: ListPipelinesRequest.h:109
Aws::SageMaker::Model::ListPipelinesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListPipelinesRequest.h:293
Aws::SageMaker::Model::ListPipelinesRequest::WithCreatedBefore
ListPipelinesRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
Definition: ListPipelinesRequest.h:152
Aws::SageMaker::Model::ListPipelinesRequest::SetCreatedAfter
void SetCreatedAfter(Aws::Utils::DateTime &&value)
Definition: ListPipelinesRequest.h:103
Aws::SageMaker::Model::ListPipelinesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPipelinesRequest.h:249
Aws::SageMaker::Model::ListPipelinesRequest::GetCreatedBefore
const Aws::Utils::DateTime & GetCreatedBefore() const
Definition: ListPipelinesRequest.h:122