AWS SDK for C++  1.9.40
AWS SDK for C++
ListTrialsRequest.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 "ListTrials"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::String& GetExperimentName() const{ return m_experimentName; }
45 
50  inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; }
51 
56  inline void SetExperimentName(const Aws::String& value) { m_experimentNameHasBeenSet = true; m_experimentName = value; }
57 
62  inline void SetExperimentName(Aws::String&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::move(value); }
63 
68  inline void SetExperimentName(const char* value) { m_experimentNameHasBeenSet = true; m_experimentName.assign(value); }
69 
74  inline ListTrialsRequest& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;}
75 
80  inline ListTrialsRequest& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;}
81 
86  inline ListTrialsRequest& WithExperimentName(const char* value) { SetExperimentName(value); return *this;}
87 
88 
93  inline const Aws::String& GetTrialComponentName() const{ return m_trialComponentName; }
94 
99  inline bool TrialComponentNameHasBeenSet() const { return m_trialComponentNameHasBeenSet; }
100 
105  inline void SetTrialComponentName(const Aws::String& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = value; }
106 
111  inline void SetTrialComponentName(Aws::String&& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = std::move(value); }
112 
117  inline void SetTrialComponentName(const char* value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName.assign(value); }
118 
123  inline ListTrialsRequest& WithTrialComponentName(const Aws::String& value) { SetTrialComponentName(value); return *this;}
124 
129  inline ListTrialsRequest& WithTrialComponentName(Aws::String&& value) { SetTrialComponentName(std::move(value)); return *this;}
130 
135  inline ListTrialsRequest& WithTrialComponentName(const char* value) { SetTrialComponentName(value); return *this;}
136 
137 
141  inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; }
142 
146  inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
147 
151  inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; }
152 
156  inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); }
157 
161  inline ListTrialsRequest& WithCreatedAfter(const Aws::Utils::DateTime& value) { SetCreatedAfter(value); return *this;}
162 
166  inline ListTrialsRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;}
167 
168 
172  inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; }
173 
177  inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
178 
182  inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; }
183 
187  inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); }
188 
192  inline ListTrialsRequest& WithCreatedBefore(const Aws::Utils::DateTime& value) { SetCreatedBefore(value); return *this;}
193 
197  inline ListTrialsRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
198 
199 
204  inline const SortTrialsBy& GetSortBy() const{ return m_sortBy; }
205 
210  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
211 
216  inline void SetSortBy(const SortTrialsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
217 
222  inline void SetSortBy(SortTrialsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
223 
228  inline ListTrialsRequest& WithSortBy(const SortTrialsBy& value) { SetSortBy(value); return *this;}
229 
234  inline ListTrialsRequest& WithSortBy(SortTrialsBy&& value) { SetSortBy(std::move(value)); return *this;}
235 
236 
240  inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
241 
245  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
246 
250  inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
251 
255  inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
256 
260  inline ListTrialsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
261 
265  inline ListTrialsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
266 
267 
272  inline int GetMaxResults() const{ return m_maxResults; }
273 
278  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
279 
284  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
285 
290  inline ListTrialsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
291 
292 
297  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
298 
303  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
304 
309  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
310 
315  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
316 
321  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
322 
327  inline ListTrialsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
328 
333  inline ListTrialsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
334 
339  inline ListTrialsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
340 
341  private:
342 
343  Aws::String m_experimentName;
344  bool m_experimentNameHasBeenSet;
345 
346  Aws::String m_trialComponentName;
347  bool m_trialComponentNameHasBeenSet;
348 
349  Aws::Utils::DateTime m_createdAfter;
350  bool m_createdAfterHasBeenSet;
351 
352  Aws::Utils::DateTime m_createdBefore;
353  bool m_createdBeforeHasBeenSet;
354 
355  SortTrialsBy m_sortBy;
356  bool m_sortByHasBeenSet;
357 
358  SortOrder m_sortOrder;
359  bool m_sortOrderHasBeenSet;
360 
361  int m_maxResults;
362  bool m_maxResultsHasBeenSet;
363 
364  Aws::String m_nextToken;
365  bool m_nextTokenHasBeenSet;
366  };
367 
368 } // namespace Model
369 } // namespace SageMaker
370 } // namespace Aws
Aws::SageMaker::Model::ListTrialsRequest::ExperimentNameHasBeenSet
bool ExperimentNameHasBeenSet() const
Definition: ListTrialsRequest.h:50
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::ListTrialsRequest::WithTrialComponentName
ListTrialsRequest & WithTrialComponentName(Aws::String &&value)
Definition: ListTrialsRequest.h:129
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListTrialsRequest::SetCreatedBefore
void SetCreatedBefore(Aws::Utils::DateTime &&value)
Definition: ListTrialsRequest.h:187
Aws::SageMaker::Model::ListTrialsRequest
Definition: ListTrialsRequest.h:25
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListTrialsRequest::CreatedAfterHasBeenSet
bool CreatedAfterHasBeenSet() const
Definition: ListTrialsRequest.h:146
Aws::SageMaker::Model::ListTrialsRequest::SetSortOrder
void SetSortOrder(const SortOrder &value)
Definition: ListTrialsRequest.h:250
Aws::SageMaker::Model::ListTrialsRequest::WithTrialComponentName
ListTrialsRequest & WithTrialComponentName(const Aws::String &value)
Definition: ListTrialsRequest.h:123
Aws::SageMaker::Model::ListTrialsRequest::GetCreatedBefore
const Aws::Utils::DateTime & GetCreatedBefore() const
Definition: ListTrialsRequest.h:172
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::ListTrialsRequest::WithNextToken
ListTrialsRequest & WithNextToken(Aws::String &&value)
Definition: ListTrialsRequest.h:333
Aws::SageMaker::Model::ListTrialsRequest::SetExperimentName
void SetExperimentName(const Aws::String &value)
Definition: ListTrialsRequest.h:56
Aws::SageMaker::Model::ListTrialsRequest::WithCreatedAfter
ListTrialsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
Definition: ListTrialsRequest.h:166
Aws::SageMaker::Model::ListTrialsRequest::GetSortBy
const SortTrialsBy & GetSortBy() const
Definition: ListTrialsRequest.h:204
Aws::SageMaker::Model::ListTrialsRequest::GetSortOrder
const SortOrder & GetSortOrder() const
Definition: ListTrialsRequest.h:240
Aws::SageMaker::Model::ListTrialsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListTrialsRequest.h:272
DateTime.h
Aws::SageMaker::Model::ListTrialsRequest::GetTrialComponentName
const Aws::String & GetTrialComponentName() const
Definition: ListTrialsRequest.h:93
Aws::SageMaker::Model::ListTrialsRequest::WithExperimentName
ListTrialsRequest & WithExperimentName(const char *value)
Definition: ListTrialsRequest.h:86
Aws::SageMaker::Model::ListTrialsRequest::SetTrialComponentName
void SetTrialComponentName(const char *value)
Definition: ListTrialsRequest.h:117
Aws::SageMaker::Model::ListTrialsRequest::GetCreatedAfter
const Aws::Utils::DateTime & GetCreatedAfter() const
Definition: ListTrialsRequest.h:141
Aws::SageMaker::Model::ListTrialsRequest::WithNextToken
ListTrialsRequest & WithNextToken(const char *value)
Definition: ListTrialsRequest.h:339
Aws::SageMaker::Model::ListTrialsRequest::WithSortBy
ListTrialsRequest & WithSortBy(const SortTrialsBy &value)
Definition: ListTrialsRequest.h:228
Aws::SageMaker::Model::ListTrialsRequest::GetExperimentName
const Aws::String & GetExperimentName() const
Definition: ListTrialsRequest.h:44
Aws::SageMaker::Model::ListTrialsRequest::WithMaxResults
ListTrialsRequest & WithMaxResults(int value)
Definition: ListTrialsRequest.h:290
SortTrialsBy.h
Aws::SageMaker::Model::ListTrialsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::ListTrialsRequest::SetCreatedAfter
void SetCreatedAfter(Aws::Utils::DateTime &&value)
Definition: ListTrialsRequest.h:156
Aws::SageMaker::Model::ListTrialsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListTrialsRequest.h:278
Aws::SageMaker::Model::ListTrialsRequest::WithSortOrder
ListTrialsRequest & WithSortOrder(SortOrder &&value)
Definition: ListTrialsRequest.h:265
Aws::SageMaker::Model::ListTrialsRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListTrialsRequest.h:245
Aws::SageMaker::Model::ListTrialsRequest::WithTrialComponentName
ListTrialsRequest & WithTrialComponentName(const char *value)
Definition: ListTrialsRequest.h:135
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::ListTrialsRequest::SetExperimentName
void SetExperimentName(Aws::String &&value)
Definition: ListTrialsRequest.h:62
Aws::SageMaker::Model::ListTrialsRequest::WithExperimentName
ListTrialsRequest & WithExperimentName(Aws::String &&value)
Definition: ListTrialsRequest.h:80
SortOrder.h
Aws::SageMaker::Model::ListTrialsRequest::CreatedBeforeHasBeenSet
bool CreatedBeforeHasBeenSet() const
Definition: ListTrialsRequest.h:177
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListTrialsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListTrialsRequest.h:284
Aws::SageMaker::Model::ListTrialsRequest::WithSortOrder
ListTrialsRequest & WithSortOrder(const SortOrder &value)
Definition: ListTrialsRequest.h:260
Aws::SageMaker::Model::ListTrialsRequest::SetSortBy
void SetSortBy(const SortTrialsBy &value)
Definition: ListTrialsRequest.h:216
Aws::SageMaker::Model::ListTrialsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::SortTrialsBy
SortTrialsBy
Definition: SortTrialsBy.h:17
Aws::SageMaker::Model::ListTrialsRequest::WithCreatedBefore
ListTrialsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
Definition: ListTrialsRequest.h:197
AWSString.h
Aws::SageMaker::Model::ListTrialsRequest::WithSortBy
ListTrialsRequest & WithSortBy(SortTrialsBy &&value)
Definition: ListTrialsRequest.h:234
Aws::SageMaker::Model::ListTrialsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTrialsRequest.h:297
Aws::SageMaker::Model::ListTrialsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListTrialsRequest.h:303
Aws::SageMaker::Model::ListTrialsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTrialsRequest.h:33
Aws::SageMaker::Model::ListTrialsRequest::WithCreatedBefore
ListTrialsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
Definition: ListTrialsRequest.h:192
Aws::SageMaker::Model::ListTrialsRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListTrialsRequest.h:210
Aws::SageMaker::Model::ListTrialsRequest::WithNextToken
ListTrialsRequest & WithNextToken(const Aws::String &value)
Definition: ListTrialsRequest.h:327
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListTrialsRequest::WithExperimentName
ListTrialsRequest & WithExperimentName(const Aws::String &value)
Definition: ListTrialsRequest.h:74
Aws::SageMaker::Model::ListTrialsRequest::SetCreatedBefore
void SetCreatedBefore(const Aws::Utils::DateTime &value)
Definition: ListTrialsRequest.h:182
Aws::SageMaker::Model::ListTrialsRequest::SetTrialComponentName
void SetTrialComponentName(Aws::String &&value)
Definition: ListTrialsRequest.h:111
SageMakerRequest.h
Aws::SageMaker::Model::ListTrialsRequest::SetExperimentName
void SetExperimentName(const char *value)
Definition: ListTrialsRequest.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListTrialsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTrialsRequest.h:309
Aws::SageMaker::Model::ListTrialsRequest::SetSortBy
void SetSortBy(SortTrialsBy &&value)
Definition: ListTrialsRequest.h:222
Aws::SageMaker::Model::ListTrialsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTrialsRequest.h:315
Aws::SageMaker::Model::ListTrialsRequest::SetTrialComponentName
void SetTrialComponentName(const Aws::String &value)
Definition: ListTrialsRequest.h:105
Aws::SageMaker::Model::ListTrialsRequest::ListTrialsRequest
ListTrialsRequest()
Aws::SageMaker::Model::ListTrialsRequest::WithCreatedAfter
ListTrialsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
Definition: ListTrialsRequest.h:161
Aws::SageMaker::Model::ListTrialsRequest::TrialComponentNameHasBeenSet
bool TrialComponentNameHasBeenSet() const
Definition: ListTrialsRequest.h:99
Aws::SageMaker::Model::ListTrialsRequest::SetSortOrder
void SetSortOrder(SortOrder &&value)
Definition: ListTrialsRequest.h:255
Aws::SageMaker::Model::ListTrialsRequest::SetCreatedAfter
void SetCreatedAfter(const Aws::Utils::DateTime &value)
Definition: ListTrialsRequest.h:151
Aws::SageMaker::Model::ListTrialsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListTrialsRequest.h:321