AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 "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 template<typename PipelineNameT = Aws::String>
47 void SetPipelineName(PipelineNameT&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::forward<PipelineNameT>(value); }
48 template<typename PipelineNameT = Aws::String>
49 ListPipelineExecutionsRequest& WithPipelineName(PipelineNameT&& value) { SetPipelineName(std::forward<PipelineNameT>(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 ListPipelineExecutionsRequest& 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 ListPipelineExecutionsRequest& WithCreatedBefore(CreatedBeforeT&& value) { SetCreatedBefore(std::forward<CreatedBeforeT>(value)); return *this;}
77
79
83 inline SortPipelineExecutionsBy GetSortBy() const { return m_sortBy; }
84 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
85 inline void SetSortBy(SortPipelineExecutionsBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
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 ListPipelineExecutionsRequest& 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 ListPipelineExecutionsRequest& 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 ListPipelineExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
122 private:
123
124 Aws::String m_pipelineName;
125 bool m_pipelineNameHasBeenSet = 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
ListPipelineExecutionsRequest & WithCreatedAfter(CreatedAfterT &&value)
ListPipelineExecutionsRequest & WithNextToken(NextTokenT &&value)
ListPipelineExecutionsRequest & WithPipelineName(PipelineNameT &&value)
ListPipelineExecutionsRequest & WithSortOrder(SortOrder value)
ListPipelineExecutionsRequest & WithSortBy(SortPipelineExecutionsBy value)
AWS_SAGEMAKER_API ListPipelineExecutionsRequest()=default
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListPipelineExecutionsRequest & WithCreatedBefore(CreatedBeforeT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String