AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListPipelinesRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/SortPipelinesBy.h>
12#include <aws/sagemaker/model/SortOrder.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API ListPipelinesRequest() = default;
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_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetPipelineNamePrefix() const { return m_pipelineNamePrefix; }
45 inline bool PipelineNamePrefixHasBeenSet() const { return m_pipelineNamePrefixHasBeenSet; }
46 template<typename PipelineNamePrefixT = Aws::String>
47 void SetPipelineNamePrefix(PipelineNamePrefixT&& value) { m_pipelineNamePrefixHasBeenSet = true; m_pipelineNamePrefix = std::forward<PipelineNamePrefixT>(value); }
48 template<typename PipelineNamePrefixT = Aws::String>
49 ListPipelinesRequest& WithPipelineNamePrefix(PipelineNamePrefixT&& value) { SetPipelineNamePrefix(std::forward<PipelineNamePrefixT>(value)); return *this;}
51
53
57 inline const Aws::Utils::DateTime& GetCreatedAfter() const { return m_createdAfter; }
58 inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
59 template<typename CreatedAfterT = Aws::Utils::DateTime>
60 void SetCreatedAfter(CreatedAfterT&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::forward<CreatedAfterT>(value); }
61 template<typename CreatedAfterT = Aws::Utils::DateTime>
62 ListPipelinesRequest& WithCreatedAfter(CreatedAfterT&& value) { SetCreatedAfter(std::forward<CreatedAfterT>(value)); return *this;}
64
66
70 inline const Aws::Utils::DateTime& GetCreatedBefore() const { return m_createdBefore; }
71 inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
72 template<typename CreatedBeforeT = Aws::Utils::DateTime>
73 void SetCreatedBefore(CreatedBeforeT&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::forward<CreatedBeforeT>(value); }
74 template<typename CreatedBeforeT = Aws::Utils::DateTime>
75 ListPipelinesRequest& WithCreatedBefore(CreatedBeforeT&& value) { SetCreatedBefore(std::forward<CreatedBeforeT>(value)); return *this;}
77
79
83 inline SortPipelinesBy GetSortBy() const { return m_sortBy; }
84 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
85 inline void SetSortBy(SortPipelinesBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
86 inline ListPipelinesRequest& WithSortBy(SortPipelinesBy value) { SetSortBy(value); return *this;}
88
90
93 inline SortOrder GetSortOrder() const { return m_sortOrder; }
94 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
95 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
96 inline ListPipelinesRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
98
100
105 inline const Aws::String& GetNextToken() const { return m_nextToken; }
106 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
107 template<typename NextTokenT = Aws::String>
108 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
109 template<typename NextTokenT = Aws::String>
110 ListPipelinesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
112
114
117 inline int GetMaxResults() const { return m_maxResults; }
118 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
119 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
120 inline ListPipelinesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
122 private:
123
124 Aws::String m_pipelineNamePrefix;
125 bool m_pipelineNamePrefixHasBeenSet = false;
126
127 Aws::Utils::DateTime m_createdAfter{};
128 bool m_createdAfterHasBeenSet = false;
129
130 Aws::Utils::DateTime m_createdBefore{};
131 bool m_createdBeforeHasBeenSet = false;
132
134 bool m_sortByHasBeenSet = false;
135
136 SortOrder m_sortOrder{SortOrder::NOT_SET};
137 bool m_sortOrderHasBeenSet = false;
138
139 Aws::String m_nextToken;
140 bool m_nextTokenHasBeenSet = false;
141
142 int m_maxResults{0};
143 bool m_maxResultsHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace SageMaker
148} // 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