AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
49 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
50 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
51 inline ListInferenceExperimentsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
52 inline ListInferenceExperimentsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
53 inline ListInferenceExperimentsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
55
57
63 inline const InferenceExperimentType& GetType() const{ return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(const InferenceExperimentType& value) { m_typeHasBeenSet = true; m_type = value; }
66 inline void SetType(InferenceExperimentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 inline ListInferenceExperimentsRequest& WithType(const InferenceExperimentType& value) { SetType(value); return *this;}
68 inline ListInferenceExperimentsRequest& WithType(InferenceExperimentType&& value) { SetType(std::move(value)); return *this;}
70
72
78 inline const InferenceExperimentStatus& GetStatusEquals() const{ return m_statusEquals; }
79 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
80 inline void SetStatusEquals(const InferenceExperimentStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
81 inline void SetStatusEquals(InferenceExperimentStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
85
87
90 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
91 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
92 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
93 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
97
99
102 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
103 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
104 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
105 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
109
111
115 inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
116 inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
117 inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
118 inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
122
124
128 inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
129 inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
130 inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
131 inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
135
137
140 inline const SortInferenceExperimentsBy& GetSortBy() const{ return m_sortBy; }
141 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
142 inline void SetSortBy(const SortInferenceExperimentsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
143 inline void SetSortBy(SortInferenceExperimentsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
145 inline ListInferenceExperimentsRequest& WithSortBy(SortInferenceExperimentsBy&& value) { SetSortBy(std::move(value)); return *this;}
147
149
152 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
153 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
154 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
155 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
156 inline ListInferenceExperimentsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
157 inline ListInferenceExperimentsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
159
161
165 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
166 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
167 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
168 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
169 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
170 inline ListInferenceExperimentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
171 inline ListInferenceExperimentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
172 inline ListInferenceExperimentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
174
176
179 inline int GetMaxResults() const{ return m_maxResults; }
180 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
181 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
182 inline ListInferenceExperimentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
184 private:
185
186 Aws::String m_nameContains;
187 bool m_nameContainsHasBeenSet = false;
188
190 bool m_typeHasBeenSet = false;
191
192 InferenceExperimentStatus m_statusEquals;
193 bool m_statusEqualsHasBeenSet = false;
194
195 Aws::Utils::DateTime m_creationTimeAfter;
196 bool m_creationTimeAfterHasBeenSet = false;
197
198 Aws::Utils::DateTime m_creationTimeBefore;
199 bool m_creationTimeBeforeHasBeenSet = false;
200
201 Aws::Utils::DateTime m_lastModifiedTimeAfter;
202 bool m_lastModifiedTimeAfterHasBeenSet = false;
203
204 Aws::Utils::DateTime m_lastModifiedTimeBefore;
205 bool m_lastModifiedTimeBeforeHasBeenSet = false;
206
208 bool m_sortByHasBeenSet = false;
209
210 SortOrder m_sortOrder;
211 bool m_sortOrderHasBeenSet = false;
212
213 Aws::String m_nextToken;
214 bool m_nextTokenHasBeenSet = false;
215
216 int m_maxResults;
217 bool m_maxResultsHasBeenSet = false;
218 };
219
220} // namespace Model
221} // namespace SageMaker
222} // namespace Aws
ListInferenceExperimentsRequest & WithNextToken(const char *value)
ListInferenceExperimentsRequest & WithSortBy(const SortInferenceExperimentsBy &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListInferenceExperimentsRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListInferenceExperimentsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListInferenceExperimentsRequest & WithStatusEquals(InferenceExperimentStatus &&value)
ListInferenceExperimentsRequest & WithNameContains(const Aws::String &value)
ListInferenceExperimentsRequest & WithNextToken(Aws::String &&value)
ListInferenceExperimentsRequest & WithNameContains(const char *value)
ListInferenceExperimentsRequest & WithNextToken(const Aws::String &value)
ListInferenceExperimentsRequest & WithSortOrder(const SortOrder &value)
ListInferenceExperimentsRequest & WithType(const InferenceExperimentType &value)
ListInferenceExperimentsRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListInferenceExperimentsRequest & WithStatusEquals(const InferenceExperimentStatus &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListInferenceExperimentsRequest & WithType(InferenceExperimentType &&value)
ListInferenceExperimentsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
ListInferenceExperimentsRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
ListInferenceExperimentsRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListInferenceExperimentsRequest & WithSortOrder(SortOrder &&value)
ListInferenceExperimentsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
ListInferenceExperimentsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListInferenceExperimentsRequest & WithNameContains(Aws::String &&value)
ListInferenceExperimentsRequest & WithSortBy(SortInferenceExperimentsBy &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String