AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListPipelineExecutionsRequest.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/SortPipelineExecutionsBy.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 ListPipelineExecutionsRequest();
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 "ListPipelineExecutions"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
45 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
46 inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
47 inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
48 inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
49 inline ListPipelineExecutionsRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
50 inline ListPipelineExecutionsRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
51 inline ListPipelineExecutionsRequest& WithPipelineName(const char* value) { SetPipelineName(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); }
64 inline ListPipelineExecutionsRequest& 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); }
77 inline ListPipelineExecutionsRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
79
81
85 inline const SortPipelineExecutionsBy& GetSortBy() const{ return m_sortBy; }
86 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
87 inline void SetSortBy(const SortPipelineExecutionsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
88 inline void SetSortBy(SortPipelineExecutionsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
89 inline ListPipelineExecutionsRequest& WithSortBy(const SortPipelineExecutionsBy& value) { SetSortBy(value); return *this;}
90 inline ListPipelineExecutionsRequest& WithSortBy(SortPipelineExecutionsBy&& 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 ListPipelineExecutionsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
102 inline ListPipelineExecutionsRequest& 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 ListPipelineExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
117 inline ListPipelineExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
118 inline ListPipelineExecutionsRequest& 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 ListPipelineExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
130 private:
131
132 Aws::String m_pipelineName;
133 bool m_pipelineNameHasBeenSet = 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
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
ListPipelineExecutionsRequest & WithPipelineName(const char *value)
ListPipelineExecutionsRequest & WithSortBy(SortPipelineExecutionsBy &&value)
ListPipelineExecutionsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
ListPipelineExecutionsRequest & WithSortOrder(SortOrder &&value)
ListPipelineExecutionsRequest & WithNextToken(Aws::String &&value)
ListPipelineExecutionsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListPipelineExecutionsRequest & WithNextToken(const char *value)
ListPipelineExecutionsRequest & WithSortOrder(const SortOrder &value)
ListPipelineExecutionsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
ListPipelineExecutionsRequest & WithSortBy(const SortPipelineExecutionsBy &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListPipelineExecutionsRequest & WithNextToken(const Aws::String &value)
ListPipelineExecutionsRequest & WithPipelineName(Aws::String &&value)
ListPipelineExecutionsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
ListPipelineExecutionsRequest & WithPipelineName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String