AWS SDK for C++  1.8.95
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 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
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
#define AWS_SAGEMAKER_API
ListTrialComponentsRequest & WithNextToken(Aws::String &&value)
ListTrialComponentsRequest & WithSortOrder(const SortOrder &value)
ListTrialComponentsRequest & WithTrialName(Aws::String &&value)
ListTrialComponentsRequest & WithNextToken(const char *value)
ListTrialComponentsRequest & WithMaxResults(int value)
ListTrialComponentsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
ListTrialComponentsRequest & WithSourceArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ListTrialComponentsRequest & WithExperimentName(const char *value)
void SetCreatedAfter(const Aws::Utils::DateTime &value)
ListTrialComponentsRequest & WithTrialName(const char *value)
ListTrialComponentsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
ListTrialComponentsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
void SetCreatedBefore(const Aws::Utils::DateTime &value)
ListTrialComponentsRequest & WithSortBy(const SortTrialComponentsBy &value)
ListTrialComponentsRequest & WithSourceArn(const Aws::String &value)
ListTrialComponentsRequest & WithSortOrder(SortOrder &&value)
ListTrialComponentsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
ListTrialComponentsRequest & WithSortBy(SortTrialComponentsBy &&value)
virtual const char * GetServiceRequestName() const override
ListTrialComponentsRequest & WithExperimentName(const Aws::String &value)
ListTrialComponentsRequest & WithTrialName(const Aws::String &value)
ListTrialComponentsRequest & WithExperimentName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetSortBy(const SortTrialComponentsBy &value)
ListTrialComponentsRequest & WithSourceArn(const char *value)
ListTrialComponentsRequest & WithNextToken(const Aws::String &value)