AWS SDK for C++  1.9.158
AWS SDK for C++
ListAlgorithmsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SageMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
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 "ListAlgorithms"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
45 
50  inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
51 
56  inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
57 
62  inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
63 
68  inline ListAlgorithmsRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
69 
74  inline ListAlgorithmsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
75 
76 
81  inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
82 
87  inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
88 
93  inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
94 
99  inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
100 
105  inline ListAlgorithmsRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
106 
111  inline ListAlgorithmsRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
112 
113 
117  inline int GetMaxResults() const{ return m_maxResults; }
118 
122  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
123 
127  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
128 
132  inline ListAlgorithmsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
133 
134 
139  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
140 
145  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
146 
151  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
152 
157  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
158 
163  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
164 
169  inline ListAlgorithmsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
170 
175  inline ListAlgorithmsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
176 
181  inline ListAlgorithmsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
182 
183 
189  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
190 
196  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
197 
203  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
204 
210  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
211 
217  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
218 
224  inline ListAlgorithmsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
225 
231  inline ListAlgorithmsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
232 
238  inline ListAlgorithmsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
239 
240 
245  inline const AlgorithmSortBy& GetSortBy() const{ return m_sortBy; }
246 
251  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
252 
257  inline void SetSortBy(const AlgorithmSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
258 
263  inline void SetSortBy(AlgorithmSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
264 
269  inline ListAlgorithmsRequest& WithSortBy(const AlgorithmSortBy& value) { SetSortBy(value); return *this;}
270 
275  inline ListAlgorithmsRequest& WithSortBy(AlgorithmSortBy&& value) { SetSortBy(std::move(value)); return *this;}
276 
277 
281  inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
282 
286  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
287 
291  inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
292 
296  inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
297 
301  inline ListAlgorithmsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
302 
306  inline ListAlgorithmsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
307 
308  private:
309 
310  Aws::Utils::DateTime m_creationTimeAfter;
311  bool m_creationTimeAfterHasBeenSet;
312 
313  Aws::Utils::DateTime m_creationTimeBefore;
314  bool m_creationTimeBeforeHasBeenSet;
315 
316  int m_maxResults;
317  bool m_maxResultsHasBeenSet;
318 
319  Aws::String m_nameContains;
320  bool m_nameContainsHasBeenSet;
321 
322  Aws::String m_nextToken;
323  bool m_nextTokenHasBeenSet;
324 
325  AlgorithmSortBy m_sortBy;
326  bool m_sortByHasBeenSet;
327 
328  SortOrder m_sortOrder;
329  bool m_sortOrderHasBeenSet;
330  };
331 
332 } // namespace Model
333 } // namespace SageMaker
334 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::ListAlgorithmsRequest::WithNextToken
ListAlgorithmsRequest & WithNextToken(const Aws::String &value)
Definition: ListAlgorithmsRequest.h:224
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListAlgorithmsRequest::SetCreationTimeAfter
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListAlgorithmsRequest.h:62
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListAlgorithmsRequest::SetSortOrder
void SetSortOrder(const SortOrder &value)
Definition: ListAlgorithmsRequest.h:291
Aws::SageMaker::Model::ListAlgorithmsRequest::CreationTimeBeforeHasBeenSet
bool CreationTimeBeforeHasBeenSet() const
Definition: ListAlgorithmsRequest.h:87
Aws::SageMaker::Model::SortOrder
SortOrder
Definition: SortOrder.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::ListAlgorithmsRequest::WithNameContains
ListAlgorithmsRequest & WithNameContains(Aws::String &&value)
Definition: ListAlgorithmsRequest.h:175
DateTime.h
Aws::SageMaker::Model::ListAlgorithmsRequest::GetCreationTimeBefore
const Aws::Utils::DateTime & GetCreationTimeBefore() const
Definition: ListAlgorithmsRequest.h:81
Aws::SageMaker::Model::ListAlgorithmsRequest::GetCreationTimeAfter
const Aws::Utils::DateTime & GetCreationTimeAfter() const
Definition: ListAlgorithmsRequest.h:44
Aws::SageMaker::Model::ListAlgorithmsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAlgorithmsRequest.h:217
Aws::SageMaker::Model::ListAlgorithmsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAlgorithmsRequest.h:127
Aws::SageMaker::Model::ListAlgorithmsRequest::SetCreationTimeBefore
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListAlgorithmsRequest.h:93
Aws::SageMaker::Model::ListAlgorithmsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAlgorithmsRequest.h:117
Aws::SageMaker::Model::ListAlgorithmsRequest::SetNameContains
void SetNameContains(const Aws::String &value)
Definition: ListAlgorithmsRequest.h:151
Aws::SageMaker::Model::ListAlgorithmsRequest::WithSortBy
ListAlgorithmsRequest & WithSortBy(const AlgorithmSortBy &value)
Definition: ListAlgorithmsRequest.h:269
Aws::SageMaker::Model::ListAlgorithmsRequest::SetCreationTimeBefore
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListAlgorithmsRequest.h:99
Aws::SageMaker::Model::ListAlgorithmsRequest::GetSortBy
const AlgorithmSortBy & GetSortBy() const
Definition: ListAlgorithmsRequest.h:245
Aws::SageMaker::Model::ListAlgorithmsRequest::WithSortOrder
ListAlgorithmsRequest & WithSortOrder(SortOrder &&value)
Definition: ListAlgorithmsRequest.h:306
Aws::SageMaker::Model::ListAlgorithmsRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListAlgorithmsRequest.h:251
Aws::SageMaker::Model::ListAlgorithmsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAlgorithmsRequest.h:203
Aws::SageMaker::Model::ListAlgorithmsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAlgorithmsRequest.h:196
Aws::SageMaker::Model::ListAlgorithmsRequest::SetSortBy
void SetSortBy(const AlgorithmSortBy &value)
Definition: ListAlgorithmsRequest.h:257
Aws::SageMaker::Model::ListAlgorithmsRequest::SetSortBy
void SetSortBy(AlgorithmSortBy &&value)
Definition: ListAlgorithmsRequest.h:263
Aws::SageMaker::Model::ListAlgorithmsRequest::NameContainsHasBeenSet
bool NameContainsHasBeenSet() const
Definition: ListAlgorithmsRequest.h:145
Aws::SageMaker::Model::ListAlgorithmsRequest::WithNextToken
ListAlgorithmsRequest & WithNextToken(const char *value)
Definition: ListAlgorithmsRequest.h:238
Aws::SageMaker::Model::ListAlgorithmsRequest::ListAlgorithmsRequest
ListAlgorithmsRequest()
Aws::SageMaker::Model::ListAlgorithmsRequest::WithSortOrder
ListAlgorithmsRequest & WithSortOrder(const SortOrder &value)
Definition: ListAlgorithmsRequest.h:301
Aws::SageMaker::Model::ListAlgorithmsRequest::WithCreationTimeBefore
ListAlgorithmsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListAlgorithmsRequest.h:105
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::ListAlgorithmsRequest::WithSortBy
ListAlgorithmsRequest & WithSortBy(AlgorithmSortBy &&value)
Definition: ListAlgorithmsRequest.h:275
SortOrder.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListAlgorithmsRequest::WithNextToken
ListAlgorithmsRequest & WithNextToken(Aws::String &&value)
Definition: ListAlgorithmsRequest.h:231
Aws::SageMaker::Model::ListAlgorithmsRequest::WithNameContains
ListAlgorithmsRequest & WithNameContains(const Aws::String &value)
Definition: ListAlgorithmsRequest.h:169
Aws::SageMaker::Model::ListAlgorithmsRequest::SetCreationTimeAfter
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListAlgorithmsRequest.h:56
Aws::SageMaker::Model::ListAlgorithmsRequest::WithCreationTimeAfter
ListAlgorithmsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListAlgorithmsRequest.h:74
Aws::SageMaker::Model::ListAlgorithmsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAlgorithmsRequest.h:33
AWSString.h
Aws::SageMaker::Model::ListAlgorithmsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAlgorithmsRequest.h:189
Aws::SageMaker::Model::ListAlgorithmsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::ListAlgorithmsRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListAlgorithmsRequest.h:286
Aws::SageMaker::Model::ListAlgorithmsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAlgorithmsRequest.h:210
Aws::SageMaker::Model::ListAlgorithmsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAlgorithmsRequest.h:122
AlgorithmSortBy.h
Aws::SageMaker::Model::ListAlgorithmsRequest::GetSortOrder
const SortOrder & GetSortOrder() const
Definition: ListAlgorithmsRequest.h:281
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::AlgorithmSortBy
AlgorithmSortBy
Definition: AlgorithmSortBy.h:17
Aws::SageMaker::Model::ListAlgorithmsRequest::WithNameContains
ListAlgorithmsRequest & WithNameContains(const char *value)
Definition: ListAlgorithmsRequest.h:181
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListAlgorithmsRequest::GetNameContains
const Aws::String & GetNameContains() const
Definition: ListAlgorithmsRequest.h:139
Aws::SageMaker::Model::ListAlgorithmsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListAlgorithmsRequest::SetNameContains
void SetNameContains(const char *value)
Definition: ListAlgorithmsRequest.h:163
Aws::SageMaker::Model::ListAlgorithmsRequest::SetSortOrder
void SetSortOrder(SortOrder &&value)
Definition: ListAlgorithmsRequest.h:296
Aws::SageMaker::Model::ListAlgorithmsRequest::WithMaxResults
ListAlgorithmsRequest & WithMaxResults(int value)
Definition: ListAlgorithmsRequest.h:132
Aws::SageMaker::Model::ListAlgorithmsRequest
Definition: ListAlgorithmsRequest.h:25
Aws::SageMaker::Model::ListAlgorithmsRequest::SetNameContains
void SetNameContains(Aws::String &&value)
Definition: ListAlgorithmsRequest.h:157
Aws::SageMaker::Model::ListAlgorithmsRequest::CreationTimeAfterHasBeenSet
bool CreationTimeAfterHasBeenSet() const
Definition: ListAlgorithmsRequest.h:50
Aws::SageMaker::Model::ListAlgorithmsRequest::WithCreationTimeBefore
ListAlgorithmsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListAlgorithmsRequest.h:111
Aws::SageMaker::Model::ListAlgorithmsRequest::WithCreationTimeAfter
ListAlgorithmsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListAlgorithmsRequest.h:68