AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListTrialComponentsRequest.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/core/utils/DateTime.h>
11#include <aws/sagemaker/model/SortTrialComponentsBy.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 ListTrialComponentsRequest();
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_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
46 inline const Aws::String& GetExperimentName() const{ return m_experimentName; }
47 inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; }
48 inline void SetExperimentName(const Aws::String& value) { m_experimentNameHasBeenSet = true; m_experimentName = value; }
49 inline void SetExperimentName(Aws::String&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::move(value); }
50 inline void SetExperimentName(const char* value) { m_experimentNameHasBeenSet = true; m_experimentName.assign(value); }
51 inline ListTrialComponentsRequest& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;}
52 inline ListTrialComponentsRequest& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;}
53 inline ListTrialComponentsRequest& WithExperimentName(const char* value) { SetExperimentName(value); return *this;}
55
57
62 inline const Aws::String& GetTrialName() const{ return m_trialName; }
63 inline bool TrialNameHasBeenSet() const { return m_trialNameHasBeenSet; }
64 inline void SetTrialName(const Aws::String& value) { m_trialNameHasBeenSet = true; m_trialName = value; }
65 inline void SetTrialName(Aws::String&& value) { m_trialNameHasBeenSet = true; m_trialName = std::move(value); }
66 inline void SetTrialName(const char* value) { m_trialNameHasBeenSet = true; m_trialName.assign(value); }
67 inline ListTrialComponentsRequest& WithTrialName(const Aws::String& value) { SetTrialName(value); return *this;}
68 inline ListTrialComponentsRequest& WithTrialName(Aws::String&& value) { SetTrialName(std::move(value)); return *this;}
69 inline ListTrialComponentsRequest& WithTrialName(const char* value) { SetTrialName(value); return *this;}
71
73
78 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
79 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
80 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
81 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
82 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
83 inline ListTrialComponentsRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
84 inline ListTrialComponentsRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
85 inline ListTrialComponentsRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; }
93 inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
94 inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; }
95 inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); }
97 inline ListTrialComponentsRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; }
105 inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
106 inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; }
107 inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); }
109 inline ListTrialComponentsRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
111
113
117 inline const SortTrialComponentsBy& GetSortBy() const{ return m_sortBy; }
118 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
119 inline void SetSortBy(const SortTrialComponentsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
120 inline void SetSortBy(SortTrialComponentsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
121 inline ListTrialComponentsRequest& WithSortBy(const SortTrialComponentsBy& value) { SetSortBy(value); return *this;}
122 inline ListTrialComponentsRequest& WithSortBy(SortTrialComponentsBy&& value) { SetSortBy(std::move(value)); return *this;}
124
126
129 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
130 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
131 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
132 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
133 inline ListTrialComponentsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
134 inline ListTrialComponentsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
136
138
142 inline int GetMaxResults() const{ return m_maxResults; }
143 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
144 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
145 inline ListTrialComponentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
147
149
154 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
155 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
156 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
157 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
158 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
159 inline ListTrialComponentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
160 inline ListTrialComponentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
161 inline ListTrialComponentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
163 private:
164
165 Aws::String m_experimentName;
166 bool m_experimentNameHasBeenSet = false;
167
168 Aws::String m_trialName;
169 bool m_trialNameHasBeenSet = false;
170
171 Aws::String m_sourceArn;
172 bool m_sourceArnHasBeenSet = false;
173
174 Aws::Utils::DateTime m_createdAfter;
175 bool m_createdAfterHasBeenSet = false;
176
177 Aws::Utils::DateTime m_createdBefore;
178 bool m_createdBeforeHasBeenSet = false;
179
180 SortTrialComponentsBy m_sortBy;
181 bool m_sortByHasBeenSet = false;
182
183 SortOrder m_sortOrder;
184 bool m_sortOrderHasBeenSet = false;
185
186 int m_maxResults;
187 bool m_maxResultsHasBeenSet = false;
188
189 Aws::String m_nextToken;
190 bool m_nextTokenHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace SageMaker
195} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListTrialComponentsRequest & WithSourceArn(const char *value)
ListTrialComponentsRequest & WithNextToken(Aws::String &&value)
ListTrialComponentsRequest & WithSourceArn(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListTrialComponentsRequest & WithSortOrder(const SortOrder &value)
ListTrialComponentsRequest & WithMaxResults(int value)
ListTrialComponentsRequest & WithSortOrder(SortOrder &&value)
ListTrialComponentsRequest & WithExperimentName(Aws::String &&value)
void SetCreatedAfter(const Aws::Utils::DateTime &value)
ListTrialComponentsRequest & WithSourceArn(Aws::String &&value)
ListTrialComponentsRequest & WithSortBy(SortTrialComponentsBy &&value)
ListTrialComponentsRequest & WithNextToken(const char *value)
ListTrialComponentsRequest & WithExperimentName(const char *value)
ListTrialComponentsRequest & WithSortBy(const SortTrialComponentsBy &value)
ListTrialComponentsRequest & WithTrialName(const char *value)
ListTrialComponentsRequest & WithExperimentName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListTrialComponentsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
ListTrialComponentsRequest & WithTrialName(const Aws::String &value)
ListTrialComponentsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
ListTrialComponentsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
ListTrialComponentsRequest & WithNextToken(const Aws::String &value)
ListTrialComponentsRequest & WithTrialName(Aws::String &&value)
ListTrialComponentsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
void SetCreatedBefore(const Aws::Utils::DateTime &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String