AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPipelineNamePrefix(const Aws::String& value) { m_pipelineNamePrefixHasBeenSet = true; m_pipelineNamePrefix = value; }
47 inline void SetPipelineNamePrefix(Aws::String&& value) { m_pipelineNamePrefixHasBeenSet = true; m_pipelineNamePrefix = std::move(value); }
48 inline void SetPipelineNamePrefix(const char* value) { m_pipelineNamePrefixHasBeenSet = true; m_pipelineNamePrefix.assign(value); }
50 inline ListPipelinesRequest& WithPipelineNamePrefix(Aws::String&& value) { SetPipelineNamePrefix(std::move(value)); return *this;}
51 inline ListPipelinesRequest& WithPipelineNamePrefix(const char* value) { SetPipelineNamePrefix(value); return *this;}
53
55
59 inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; }
60 inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
61 inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; }
62 inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); }
63 inline ListPipelinesRequest& WithCreatedAfter(const Aws::Utils::DateTime& value) { SetCreatedAfter(value); return *this;}
64 inline ListPipelinesRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;}
66
68
72 inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; }
73 inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
74 inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; }
75 inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); }
76 inline ListPipelinesRequest& WithCreatedBefore(const Aws::Utils::DateTime& value) { SetCreatedBefore(value); return *this;}
77 inline ListPipelinesRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
79
81
85 inline const SortPipelinesBy& GetSortBy() const{ return m_sortBy; }
86 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
87 inline void SetSortBy(const SortPipelinesBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
88 inline void SetSortBy(SortPipelinesBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
89 inline ListPipelinesRequest& WithSortBy(const SortPipelinesBy& value) { SetSortBy(value); return *this;}
90 inline ListPipelinesRequest& WithSortBy(SortPipelinesBy&& value) { SetSortBy(std::move(value)); return *this;}
92
94
97 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
98 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
99 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
100 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
101 inline ListPipelinesRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
102 inline ListPipelinesRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
104
106
111 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
112 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
113 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
114 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
115 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
116 inline ListPipelinesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
117 inline ListPipelinesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
118 inline ListPipelinesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
120
122
125 inline int GetMaxResults() const{ return m_maxResults; }
126 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
127 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
128 inline ListPipelinesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
130 private:
131
132 Aws::String m_pipelineNamePrefix;
133 bool m_pipelineNamePrefixHasBeenSet = false;
134
135 Aws::Utils::DateTime m_createdAfter;
136 bool m_createdAfterHasBeenSet = false;
137
138 Aws::Utils::DateTime m_createdBefore;
139 bool m_createdBeforeHasBeenSet = false;
140
141 SortPipelinesBy m_sortBy;
142 bool m_sortByHasBeenSet = false;
143
144 SortOrder m_sortOrder;
145 bool m_sortOrderHasBeenSet = false;
146
147 Aws::String m_nextToken;
148 bool m_nextTokenHasBeenSet = false;
149
150 int m_maxResults;
151 bool m_maxResultsHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace SageMaker
156} // namespace Aws
ListPipelinesRequest & WithSortOrder(SortOrder &&value)
ListPipelinesRequest & WithNextToken(const char *value)
ListPipelinesRequest & WithNextToken(Aws::String &&value)
ListPipelinesRequest & WithNextToken(const Aws::String &value)
ListPipelinesRequest & WithMaxResults(int value)
ListPipelinesRequest & WithPipelineNamePrefix(const char *value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetCreatedBefore(Aws::Utils::DateTime &&value)
ListPipelinesRequest & WithPipelineNamePrefix(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListPipelinesRequest & WithPipelineNamePrefix(const Aws::String &value)
void SetPipelineNamePrefix(const Aws::String &value)
ListPipelinesRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
void SetCreatedAfter(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListPipelinesRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
void SetCreatedAfter(Aws::Utils::DateTime &&value)
ListPipelinesRequest & WithSortBy(const SortPipelinesBy &value)
ListPipelinesRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
void SetCreatedBefore(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAfter() const
ListPipelinesRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
ListPipelinesRequest & WithSortBy(SortPipelinesBy &&value)
const Aws::Utils::DateTime & GetCreatedBefore() const
void SetSortBy(const SortPipelinesBy &value)
ListPipelinesRequest & WithSortOrder(const SortOrder &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String