AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListInferenceExperimentsRequest.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/sagemaker/model/InferenceExperimentType.h>
11#include <aws/sagemaker/model/InferenceExperimentStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/sagemaker/model/SortInferenceExperimentsBy.h>
14#include <aws/sagemaker/model/SortOrder.h>
15#include <utility>
16
17namespace Aws
18{
19namespace SageMaker
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_SAGEMAKER_API ListInferenceExperimentsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListInferenceExperiments"; }
36
37 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetNameContains() const { return m_nameContains; }
47 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
48 template<typename NameContainsT = Aws::String>
49 void SetNameContains(NameContainsT&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::forward<NameContainsT>(value); }
50 template<typename NameContainsT = Aws::String>
51 ListInferenceExperimentsRequest& WithNameContains(NameContainsT&& value) { SetNameContains(std::forward<NameContainsT>(value)); return *this;}
53
55
61 inline InferenceExperimentType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(InferenceExperimentType value) { m_typeHasBeenSet = true; m_type = value; }
66
68
74 inline InferenceExperimentStatus GetStatusEquals() const { return m_statusEquals; }
75 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
76 inline void SetStatusEquals(InferenceExperimentStatus value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
79
81
84 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const { return m_creationTimeAfter; }
85 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
86 template<typename CreationTimeAfterT = Aws::Utils::DateTime>
87 void SetCreationTimeAfter(CreationTimeAfterT&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::forward<CreationTimeAfterT>(value); }
88 template<typename CreationTimeAfterT = Aws::Utils::DateTime>
89 ListInferenceExperimentsRequest& WithCreationTimeAfter(CreationTimeAfterT&& value) { SetCreationTimeAfter(std::forward<CreationTimeAfterT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const { return m_creationTimeBefore; }
97 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
98 template<typename CreationTimeBeforeT = Aws::Utils::DateTime>
99 void SetCreationTimeBefore(CreationTimeBeforeT&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::forward<CreationTimeBeforeT>(value); }
100 template<typename CreationTimeBeforeT = Aws::Utils::DateTime>
101 ListInferenceExperimentsRequest& WithCreationTimeBefore(CreationTimeBeforeT&& value) { SetCreationTimeBefore(std::forward<CreationTimeBeforeT>(value)); return *this;}
103
105
109 inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const { return m_lastModifiedTimeAfter; }
110 inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
111 template<typename LastModifiedTimeAfterT = Aws::Utils::DateTime>
112 void SetLastModifiedTimeAfter(LastModifiedTimeAfterT&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::forward<LastModifiedTimeAfterT>(value); }
113 template<typename LastModifiedTimeAfterT = Aws::Utils::DateTime>
114 ListInferenceExperimentsRequest& WithLastModifiedTimeAfter(LastModifiedTimeAfterT&& value) { SetLastModifiedTimeAfter(std::forward<LastModifiedTimeAfterT>(value)); return *this;}
116
118
122 inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const { return m_lastModifiedTimeBefore; }
123 inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
124 template<typename LastModifiedTimeBeforeT = Aws::Utils::DateTime>
125 void SetLastModifiedTimeBefore(LastModifiedTimeBeforeT&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::forward<LastModifiedTimeBeforeT>(value); }
126 template<typename LastModifiedTimeBeforeT = Aws::Utils::DateTime>
127 ListInferenceExperimentsRequest& WithLastModifiedTimeBefore(LastModifiedTimeBeforeT&& value) { SetLastModifiedTimeBefore(std::forward<LastModifiedTimeBeforeT>(value)); return *this;}
129
131
134 inline SortInferenceExperimentsBy GetSortBy() const { return m_sortBy; }
135 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
136 inline void SetSortBy(SortInferenceExperimentsBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
139
141
144 inline SortOrder GetSortOrder() const { return m_sortOrder; }
145 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
146 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
149
151
155 inline const Aws::String& GetNextToken() const { return m_nextToken; }
156 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
157 template<typename NextTokenT = Aws::String>
158 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
159 template<typename NextTokenT = Aws::String>
160 ListInferenceExperimentsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
162
164
167 inline int GetMaxResults() const { return m_maxResults; }
168 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
169 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
170 inline ListInferenceExperimentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
172 private:
173
174 Aws::String m_nameContains;
175 bool m_nameContainsHasBeenSet = false;
176
178 bool m_typeHasBeenSet = false;
179
181 bool m_statusEqualsHasBeenSet = false;
182
183 Aws::Utils::DateTime m_creationTimeAfter{};
184 bool m_creationTimeAfterHasBeenSet = false;
185
186 Aws::Utils::DateTime m_creationTimeBefore{};
187 bool m_creationTimeBeforeHasBeenSet = false;
188
189 Aws::Utils::DateTime m_lastModifiedTimeAfter{};
190 bool m_lastModifiedTimeAfterHasBeenSet = false;
191
192 Aws::Utils::DateTime m_lastModifiedTimeBefore{};
193 bool m_lastModifiedTimeBeforeHasBeenSet = false;
194
196 bool m_sortByHasBeenSet = false;
197
198 SortOrder m_sortOrder{SortOrder::NOT_SET};
199 bool m_sortOrderHasBeenSet = false;
200
201 Aws::String m_nextToken;
202 bool m_nextTokenHasBeenSet = false;
203
204 int m_maxResults{0};
205 bool m_maxResultsHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace SageMaker
210} // namespace Aws
ListInferenceExperimentsRequest & WithNameContains(NameContainsT &&value)
ListInferenceExperimentsRequest & WithNextToken(NextTokenT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListInferenceExperimentsRequest & WithLastModifiedTimeBefore(LastModifiedTimeBeforeT &&value)
ListInferenceExperimentsRequest & WithSortOrder(SortOrder value)
ListInferenceExperimentsRequest & WithStatusEquals(InferenceExperimentStatus value)
ListInferenceExperimentsRequest & WithType(InferenceExperimentType value)
ListInferenceExperimentsRequest & WithCreationTimeAfter(CreationTimeAfterT &&value)
ListInferenceExperimentsRequest & WithSortBy(SortInferenceExperimentsBy value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListInferenceExperimentsRequest & WithCreationTimeBefore(CreationTimeBeforeT &&value)
ListInferenceExperimentsRequest & WithLastModifiedTimeAfter(LastModifiedTimeAfterT &&value)
AWS_SAGEMAKER_API ListInferenceExperimentsRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String