AWS SDK for C++  1.9.158
AWS SDK for C++
ListTrialComponentsRequest.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 "ListTrialComponents"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
45  inline const Aws::String& GetExperimentName() const{ return m_experimentName; }
46 
52  inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; }
53 
59  inline void SetExperimentName(const Aws::String& value) { m_experimentNameHasBeenSet = true; m_experimentName = value; }
60 
66  inline void SetExperimentName(Aws::String&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::move(value); }
67 
73  inline void SetExperimentName(const char* value) { m_experimentNameHasBeenSet = true; m_experimentName.assign(value); }
74 
80  inline ListTrialComponentsRequest& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;}
81 
87  inline ListTrialComponentsRequest& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;}
88 
94  inline ListTrialComponentsRequest& WithExperimentName(const char* value) { SetExperimentName(value); return *this;}
95 
96 
102  inline const Aws::String& GetTrialName() const{ return m_trialName; }
103 
109  inline bool TrialNameHasBeenSet() const { return m_trialNameHasBeenSet; }
110 
116  inline void SetTrialName(const Aws::String& value) { m_trialNameHasBeenSet = true; m_trialName = value; }
117 
123  inline void SetTrialName(Aws::String&& value) { m_trialNameHasBeenSet = true; m_trialName = std::move(value); }
124 
130  inline void SetTrialName(const char* value) { m_trialNameHasBeenSet = true; m_trialName.assign(value); }
131 
137  inline ListTrialComponentsRequest& WithTrialName(const Aws::String& value) { SetTrialName(value); return *this;}
138 
144  inline ListTrialComponentsRequest& WithTrialName(Aws::String&& value) { SetTrialName(std::move(value)); return *this;}
145 
151  inline ListTrialComponentsRequest& WithTrialName(const char* value) { SetTrialName(value); return *this;}
152 
153 
159  inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
160 
166  inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
167 
173  inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
174 
180  inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
181 
187  inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
188 
194  inline ListTrialComponentsRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
195 
201  inline ListTrialComponentsRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
202 
208  inline ListTrialComponentsRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
209 
210 
214  inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; }
215 
219  inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
220 
224  inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; }
225 
229  inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); }
230 
234  inline ListTrialComponentsRequest& WithCreatedAfter(const Aws::Utils::DateTime& value) { SetCreatedAfter(value); return *this;}
235 
239  inline ListTrialComponentsRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;}
240 
241 
245  inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; }
246 
250  inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
251 
255  inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; }
256 
260  inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); }
261 
265  inline ListTrialComponentsRequest& WithCreatedBefore(const Aws::Utils::DateTime& value) { SetCreatedBefore(value); return *this;}
266 
270  inline ListTrialComponentsRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
271 
272 
277  inline const SortTrialComponentsBy& GetSortBy() const{ return m_sortBy; }
278 
283  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
284 
289  inline void SetSortBy(const SortTrialComponentsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
290 
295  inline void SetSortBy(SortTrialComponentsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
296 
301  inline ListTrialComponentsRequest& WithSortBy(const SortTrialComponentsBy& value) { SetSortBy(value); return *this;}
302 
307  inline ListTrialComponentsRequest& WithSortBy(SortTrialComponentsBy&& value) { SetSortBy(std::move(value)); return *this;}
308 
309 
313  inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
314 
318  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
319 
323  inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
324 
328  inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
329 
333  inline ListTrialComponentsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
334 
338  inline ListTrialComponentsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
339 
340 
345  inline int GetMaxResults() const{ return m_maxResults; }
346 
351  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
352 
357  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
358 
363  inline ListTrialComponentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
364 
365 
371  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
372 
378  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
379 
385  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
386 
392  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
393 
399  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
400 
406  inline ListTrialComponentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
407 
413  inline ListTrialComponentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
414 
420  inline ListTrialComponentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
421 
422  private:
423 
424  Aws::String m_experimentName;
425  bool m_experimentNameHasBeenSet;
426 
427  Aws::String m_trialName;
428  bool m_trialNameHasBeenSet;
429 
430  Aws::String m_sourceArn;
431  bool m_sourceArnHasBeenSet;
432 
433  Aws::Utils::DateTime m_createdAfter;
434  bool m_createdAfterHasBeenSet;
435 
436  Aws::Utils::DateTime m_createdBefore;
437  bool m_createdBeforeHasBeenSet;
438 
439  SortTrialComponentsBy m_sortBy;
440  bool m_sortByHasBeenSet;
441 
442  SortOrder m_sortOrder;
443  bool m_sortOrderHasBeenSet;
444 
445  int m_maxResults;
446  bool m_maxResultsHasBeenSet;
447 
448  Aws::String m_nextToken;
449  bool m_nextTokenHasBeenSet;
450  };
451 
452 } // namespace Model
453 } // namespace SageMaker
454 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::ListTrialComponentsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListTrialComponentsRequest.h:351
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListTrialComponentsRequest::SetTrialName
void SetTrialName(const char *value)
Definition: ListTrialComponentsRequest.h:130
SortTrialComponentsBy.h
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListTrialComponentsRequest::SourceArnHasBeenSet
bool SourceArnHasBeenSet() const
Definition: ListTrialComponentsRequest.h:166
Aws::SageMaker::Model::ListTrialComponentsRequest::WithCreatedAfter
ListTrialComponentsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
Definition: ListTrialComponentsRequest.h:234
Aws::SageMaker::Model::ListTrialComponentsRequest::WithTrialName
ListTrialComponentsRequest & WithTrialName(const Aws::String &value)
Definition: ListTrialComponentsRequest.h:137
Aws::SageMaker::Model::SortOrder
SortOrder
Definition: SortOrder.h:17
Aws::SageMaker::Model::ListTrialComponentsRequest::SetCreatedBefore
void SetCreatedBefore(const Aws::Utils::DateTime &value)
Definition: ListTrialComponentsRequest.h:255
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::ListTrialComponentsRequest::WithSourceArn
ListTrialComponentsRequest & WithSourceArn(Aws::String &&value)
Definition: ListTrialComponentsRequest.h:201
Aws::SageMaker::Model::ListTrialComponentsRequest::WithSortOrder
ListTrialComponentsRequest & WithSortOrder(SortOrder &&value)
Definition: ListTrialComponentsRequest.h:338
Aws::SageMaker::Model::ListTrialComponentsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListTrialComponentsRequest.h:399
Aws::SageMaker::Model::ListTrialComponentsRequest::WithCreatedBefore
ListTrialComponentsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
Definition: ListTrialComponentsRequest.h:265
Aws::SageMaker::Model::ListTrialComponentsRequest::GetSortOrder
const SortOrder & GetSortOrder() const
Definition: ListTrialComponentsRequest.h:313
Aws::SageMaker::Model::ListTrialComponentsRequest::GetCreatedBefore
const Aws::Utils::DateTime & GetCreatedBefore() const
Definition: ListTrialComponentsRequest.h:245
Aws::SageMaker::Model::ListTrialComponentsRequest::SetExperimentName
void SetExperimentName(const Aws::String &value)
Definition: ListTrialComponentsRequest.h:59
Aws::SageMaker::Model::ListTrialComponentsRequest::WithSortBy
ListTrialComponentsRequest & WithSortBy(SortTrialComponentsBy &&value)
Definition: ListTrialComponentsRequest.h:307
DateTime.h
Aws::SageMaker::Model::ListTrialComponentsRequest::WithSourceArn
ListTrialComponentsRequest & WithSourceArn(const Aws::String &value)
Definition: ListTrialComponentsRequest.h:194
Aws::SageMaker::Model::ListTrialComponentsRequest::WithSortBy
ListTrialComponentsRequest & WithSortBy(const SortTrialComponentsBy &value)
Definition: ListTrialComponentsRequest.h:301
Aws::SageMaker::Model::ListTrialComponentsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::SortTrialComponentsBy
SortTrialComponentsBy
Definition: SortTrialComponentsBy.h:17
Aws::SageMaker::Model::ListTrialComponentsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListTrialComponentsRequest::WithNextToken
ListTrialComponentsRequest & WithNextToken(const Aws::String &value)
Definition: ListTrialComponentsRequest.h:406
Aws::SageMaker::Model::ListTrialComponentsRequest::WithNextToken
ListTrialComponentsRequest & WithNextToken(const char *value)
Definition: ListTrialComponentsRequest.h:420
Aws::SageMaker::Model::ListTrialComponentsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListTrialComponentsRequest.h:357
Aws::SageMaker::Model::ListTrialComponentsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTrialComponentsRequest.h:371
Aws::SageMaker::Model::ListTrialComponentsRequest::ListTrialComponentsRequest
ListTrialComponentsRequest()
Aws::SageMaker::Model::ListTrialComponentsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTrialComponentsRequest.h:385
Aws::SageMaker::Model::ListTrialComponentsRequest::WithSourceArn
ListTrialComponentsRequest & WithSourceArn(const char *value)
Definition: ListTrialComponentsRequest.h:208
Aws::SageMaker::Model::ListTrialComponentsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTrialComponentsRequest.h:33
Aws::SageMaker::Model::ListTrialComponentsRequest::CreatedAfterHasBeenSet
bool CreatedAfterHasBeenSet() const
Definition: ListTrialComponentsRequest.h:219
Aws::SageMaker::Model::ListTrialComponentsRequest::SetCreatedAfter
void SetCreatedAfter(Aws::Utils::DateTime &&value)
Definition: ListTrialComponentsRequest.h:229
Aws::SageMaker::Model::ListTrialComponentsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListTrialComponentsRequest.h:378
Aws::SageMaker::Model::ListTrialComponentsRequest::WithExperimentName
ListTrialComponentsRequest & WithExperimentName(const Aws::String &value)
Definition: ListTrialComponentsRequest.h:80
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::ListTrialComponentsRequest::SetSourceArn
void SetSourceArn(const char *value)
Definition: ListTrialComponentsRequest.h:187
Aws::SageMaker::Model::ListTrialComponentsRequest::WithCreatedBefore
ListTrialComponentsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
Definition: ListTrialComponentsRequest.h:270
SortOrder.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListTrialComponentsRequest::WithCreatedAfter
ListTrialComponentsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
Definition: ListTrialComponentsRequest.h:239
Aws::SageMaker::Model::ListTrialComponentsRequest::WithNextToken
ListTrialComponentsRequest & WithNextToken(Aws::String &&value)
Definition: ListTrialComponentsRequest.h:413
Aws::SageMaker::Model::ListTrialComponentsRequest::GetTrialName
const Aws::String & GetTrialName() const
Definition: ListTrialComponentsRequest.h:102
Aws::SageMaker::Model::ListTrialComponentsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListTrialComponentsRequest.h:345
Aws::SageMaker::Model::ListTrialComponentsRequest::SetSourceArn
void SetSourceArn(const Aws::String &value)
Definition: ListTrialComponentsRequest.h:173
Aws::SageMaker::Model::ListTrialComponentsRequest
Definition: ListTrialComponentsRequest.h:25
AWSString.h
Aws::SageMaker::Model::ListTrialComponentsRequest::WithTrialName
ListTrialComponentsRequest & WithTrialName(Aws::String &&value)
Definition: ListTrialComponentsRequest.h:144
Aws::SageMaker::Model::ListTrialComponentsRequest::WithExperimentName
ListTrialComponentsRequest & WithExperimentName(const char *value)
Definition: ListTrialComponentsRequest.h:94
Aws::SageMaker::Model::ListTrialComponentsRequest::SetSortOrder
void SetSortOrder(const SortOrder &value)
Definition: ListTrialComponentsRequest.h:323
Aws::SageMaker::Model::ListTrialComponentsRequest::SetSortBy
void SetSortBy(const SortTrialComponentsBy &value)
Definition: ListTrialComponentsRequest.h:289
Aws::SageMaker::Model::ListTrialComponentsRequest::SetExperimentName
void SetExperimentName(const char *value)
Definition: ListTrialComponentsRequest.h:73
Aws::SageMaker::Model::ListTrialComponentsRequest::SetSourceArn
void SetSourceArn(Aws::String &&value)
Definition: ListTrialComponentsRequest.h:180
Aws::SageMaker::Model::ListTrialComponentsRequest::TrialNameHasBeenSet
bool TrialNameHasBeenSet() const
Definition: ListTrialComponentsRequest.h:109
Aws::SageMaker::Model::ListTrialComponentsRequest::SetTrialName
void SetTrialName(const Aws::String &value)
Definition: ListTrialComponentsRequest.h:116
Aws::SageMaker::Model::ListTrialComponentsRequest::GetExperimentName
const Aws::String & GetExperimentName() const
Definition: ListTrialComponentsRequest.h:45
Aws::SageMaker::Model::ListTrialComponentsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTrialComponentsRequest.h:392
Aws::SageMaker::Model::ListTrialComponentsRequest::SetSortBy
void SetSortBy(SortTrialComponentsBy &&value)
Definition: ListTrialComponentsRequest.h:295
Aws::SageMaker::Model::ListTrialComponentsRequest::WithExperimentName
ListTrialComponentsRequest & WithExperimentName(Aws::String &&value)
Definition: ListTrialComponentsRequest.h:87
Aws::SageMaker::Model::ListTrialComponentsRequest::SetSortOrder
void SetSortOrder(SortOrder &&value)
Definition: ListTrialComponentsRequest.h:328
Aws::SageMaker::Model::ListTrialComponentsRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListTrialComponentsRequest.h:318
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::ListTrialComponentsRequest::SetCreatedBefore
void SetCreatedBefore(Aws::Utils::DateTime &&value)
Definition: ListTrialComponentsRequest.h:260
Aws::SageMaker::Model::ListTrialComponentsRequest::SetTrialName
void SetTrialName(Aws::String &&value)
Definition: ListTrialComponentsRequest.h:123
Aws::SageMaker::Model::ListTrialComponentsRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListTrialComponentsRequest.h:283
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListTrialComponentsRequest::SetCreatedAfter
void SetCreatedAfter(const Aws::Utils::DateTime &value)
Definition: ListTrialComponentsRequest.h:224
Aws::SageMaker::Model::ListTrialComponentsRequest::SetExperimentName
void SetExperimentName(Aws::String &&value)
Definition: ListTrialComponentsRequest.h:66
Aws::SageMaker::Model::ListTrialComponentsRequest::WithTrialName
ListTrialComponentsRequest & WithTrialName(const char *value)
Definition: ListTrialComponentsRequest.h:151
Aws::SageMaker::Model::ListTrialComponentsRequest::WithSortOrder
ListTrialComponentsRequest & WithSortOrder(const SortOrder &value)
Definition: ListTrialComponentsRequest.h:333
Aws::SageMaker::Model::ListTrialComponentsRequest::GetSourceArn
const Aws::String & GetSourceArn() const
Definition: ListTrialComponentsRequest.h:159
Aws::SageMaker::Model::ListTrialComponentsRequest::GetCreatedAfter
const Aws::Utils::DateTime & GetCreatedAfter() const
Definition: ListTrialComponentsRequest.h:214
Aws::SageMaker::Model::ListTrialComponentsRequest::WithMaxResults
ListTrialComponentsRequest & WithMaxResults(int value)
Definition: ListTrialComponentsRequest.h:363
Aws::SageMaker::Model::ListTrialComponentsRequest::ExperimentNameHasBeenSet
bool ExperimentNameHasBeenSet() const
Definition: ListTrialComponentsRequest.h:52
Aws::SageMaker::Model::ListTrialComponentsRequest::CreatedBeforeHasBeenSet
bool CreatedBeforeHasBeenSet() const
Definition: ListTrialComponentsRequest.h:250
Aws::SageMaker::Model::ListTrialComponentsRequest::GetSortBy
const SortTrialComponentsBy & GetSortBy() const
Definition: ListTrialComponentsRequest.h:277