AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAlgorithmsRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sagemaker/model/AlgorithmSortBy.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 ListAlgorithmsRequest();
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_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
46 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
47 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
48 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
50 inline ListAlgorithmsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
52
54
58 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
59 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
60 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
61 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
65
67
70 inline int GetMaxResults() const{ return m_maxResults; }
71 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
72 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
73 inline ListAlgorithmsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
75
77
81 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
82 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
83 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
84 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
85 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
86 inline ListAlgorithmsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
87 inline ListAlgorithmsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
88 inline ListAlgorithmsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
90
92
97 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 inline ListAlgorithmsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 inline ListAlgorithmsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
104 inline ListAlgorithmsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
106
108
112 inline const AlgorithmSortBy& GetSortBy() const{ return m_sortBy; }
113 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
114 inline void SetSortBy(const AlgorithmSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
115 inline void SetSortBy(AlgorithmSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
116 inline ListAlgorithmsRequest& WithSortBy(const AlgorithmSortBy& value) { SetSortBy(value); return *this;}
117 inline ListAlgorithmsRequest& WithSortBy(AlgorithmSortBy&& value) { SetSortBy(std::move(value)); return *this;}
119
121
124 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
125 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
126 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
127 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
128 inline ListAlgorithmsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
129 inline ListAlgorithmsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
131 private:
132
133 Aws::Utils::DateTime m_creationTimeAfter;
134 bool m_creationTimeAfterHasBeenSet = false;
135
136 Aws::Utils::DateTime m_creationTimeBefore;
137 bool m_creationTimeBeforeHasBeenSet = false;
138
139 int m_maxResults;
140 bool m_maxResultsHasBeenSet = false;
141
142 Aws::String m_nameContains;
143 bool m_nameContainsHasBeenSet = false;
144
145 Aws::String m_nextToken;
146 bool m_nextTokenHasBeenSet = false;
147
148 AlgorithmSortBy m_sortBy;
149 bool m_sortByHasBeenSet = false;
150
151 SortOrder m_sortOrder;
152 bool m_sortOrderHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace SageMaker
157} // namespace Aws
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListAlgorithmsRequest & WithSortBy(AlgorithmSortBy &&value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListAlgorithmsRequest & WithNextToken(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
ListAlgorithmsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListAlgorithmsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListAlgorithmsRequest & WithSortOrder(const SortOrder &value)
ListAlgorithmsRequest & WithMaxResults(int value)
ListAlgorithmsRequest & WithNameContains(const Aws::String &value)
ListAlgorithmsRequest & WithSortBy(const AlgorithmSortBy &value)
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
virtual const char * GetServiceRequestName() const override
ListAlgorithmsRequest & WithNameContains(Aws::String &&value)
ListAlgorithmsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
ListAlgorithmsRequest & WithNextToken(Aws::String &&value)
ListAlgorithmsRequest & WithNextToken(const char *value)
ListAlgorithmsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
void SetSortBy(const AlgorithmSortBy &value)
ListAlgorithmsRequest & WithNameContains(const char *value)
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
ListAlgorithmsRequest & WithSortOrder(SortOrder &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String