AWS SDK for C++  1.8.95
AWS SDK for C++
ListCandidatesForAutoMLJobRequest.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 "ListCandidatesForAutoMLJob"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
39 
43  inline const Aws::String& GetAutoMLJobName() const{ return m_autoMLJobName; }
44 
48  inline bool AutoMLJobNameHasBeenSet() const { return m_autoMLJobNameHasBeenSet; }
49 
53  inline void SetAutoMLJobName(const Aws::String& value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName = value; }
54 
58  inline void SetAutoMLJobName(Aws::String&& value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName = std::move(value); }
59 
63  inline void SetAutoMLJobName(const char* value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName.assign(value); }
64 
68  inline ListCandidatesForAutoMLJobRequest& WithAutoMLJobName(const Aws::String& value) { SetAutoMLJobName(value); return *this;}
69 
73  inline ListCandidatesForAutoMLJobRequest& WithAutoMLJobName(Aws::String&& value) { SetAutoMLJobName(std::move(value)); return *this;}
74 
78  inline ListCandidatesForAutoMLJobRequest& WithAutoMLJobName(const char* value) { SetAutoMLJobName(value); return *this;}
79 
80 
84  inline const CandidateStatus& GetStatusEquals() const{ return m_statusEquals; }
85 
89  inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
90 
94  inline void SetStatusEquals(const CandidateStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
95 
99  inline void SetStatusEquals(CandidateStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
100 
104  inline ListCandidatesForAutoMLJobRequest& WithStatusEquals(const CandidateStatus& value) { SetStatusEquals(value); return *this;}
105 
109  inline ListCandidatesForAutoMLJobRequest& WithStatusEquals(CandidateStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
110 
111 
115  inline const Aws::String& GetCandidateNameEquals() const{ return m_candidateNameEquals; }
116 
120  inline bool CandidateNameEqualsHasBeenSet() const { return m_candidateNameEqualsHasBeenSet; }
121 
125  inline void SetCandidateNameEquals(const Aws::String& value) { m_candidateNameEqualsHasBeenSet = true; m_candidateNameEquals = value; }
126 
130  inline void SetCandidateNameEquals(Aws::String&& value) { m_candidateNameEqualsHasBeenSet = true; m_candidateNameEquals = std::move(value); }
131 
135  inline void SetCandidateNameEquals(const char* value) { m_candidateNameEqualsHasBeenSet = true; m_candidateNameEquals.assign(value); }
136 
140  inline ListCandidatesForAutoMLJobRequest& WithCandidateNameEquals(const Aws::String& value) { SetCandidateNameEquals(value); return *this;}
141 
145  inline ListCandidatesForAutoMLJobRequest& WithCandidateNameEquals(Aws::String&& value) { SetCandidateNameEquals(std::move(value)); return *this;}
146 
150  inline ListCandidatesForAutoMLJobRequest& WithCandidateNameEquals(const char* value) { SetCandidateNameEquals(value); return *this;}
151 
152 
156  inline const AutoMLSortOrder& GetSortOrder() const{ return m_sortOrder; }
157 
161  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
162 
166  inline void SetSortOrder(const AutoMLSortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
167 
171  inline void SetSortOrder(AutoMLSortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
172 
176  inline ListCandidatesForAutoMLJobRequest& WithSortOrder(const AutoMLSortOrder& value) { SetSortOrder(value); return *this;}
177 
181  inline ListCandidatesForAutoMLJobRequest& WithSortOrder(AutoMLSortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
182 
183 
187  inline const CandidateSortBy& GetSortBy() const{ return m_sortBy; }
188 
192  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
193 
197  inline void SetSortBy(const CandidateSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
198 
202  inline void SetSortBy(CandidateSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
203 
207  inline ListCandidatesForAutoMLJobRequest& WithSortBy(const CandidateSortBy& value) { SetSortBy(value); return *this;}
208 
212  inline ListCandidatesForAutoMLJobRequest& WithSortBy(CandidateSortBy&& value) { SetSortBy(std::move(value)); return *this;}
213 
214 
218  inline int GetMaxResults() const{ return m_maxResults; }
219 
223  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
224 
228  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
229 
233  inline ListCandidatesForAutoMLJobRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
234 
235 
240  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
241 
246  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
247 
252  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
253 
258  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
259 
264  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
265 
270  inline ListCandidatesForAutoMLJobRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
271 
276  inline ListCandidatesForAutoMLJobRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
277 
282  inline ListCandidatesForAutoMLJobRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
283 
284  private:
285 
286  Aws::String m_autoMLJobName;
287  bool m_autoMLJobNameHasBeenSet;
288 
289  CandidateStatus m_statusEquals;
290  bool m_statusEqualsHasBeenSet;
291 
292  Aws::String m_candidateNameEquals;
293  bool m_candidateNameEqualsHasBeenSet;
294 
295  AutoMLSortOrder m_sortOrder;
296  bool m_sortOrderHasBeenSet;
297 
298  CandidateSortBy m_sortBy;
299  bool m_sortByHasBeenSet;
300 
301  int m_maxResults;
302  bool m_maxResultsHasBeenSet;
303 
304  Aws::String m_nextToken;
305  bool m_nextTokenHasBeenSet;
306  };
307 
308 } // namespace Model
309 } // namespace SageMaker
310 } // namespace Aws
#define AWS_SAGEMAKER_API
ListCandidatesForAutoMLJobRequest & WithNextToken(const Aws::String &value)
ListCandidatesForAutoMLJobRequest & WithSortBy(const CandidateSortBy &value)
ListCandidatesForAutoMLJobRequest & WithAutoMLJobName(Aws::String &&value)
ListCandidatesForAutoMLJobRequest & WithStatusEquals(const CandidateStatus &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ListCandidatesForAutoMLJobRequest & WithCandidateNameEquals(const char *value)
ListCandidatesForAutoMLJobRequest & WithSortBy(CandidateSortBy &&value)
ListCandidatesForAutoMLJobRequest & WithNextToken(const char *value)
ListCandidatesForAutoMLJobRequest & WithCandidateNameEquals(Aws::String &&value)
ListCandidatesForAutoMLJobRequest & WithAutoMLJobName(const char *value)
ListCandidatesForAutoMLJobRequest & WithNextToken(Aws::String &&value)
ListCandidatesForAutoMLJobRequest & WithStatusEquals(CandidateStatus &&value)
ListCandidatesForAutoMLJobRequest & WithSortOrder(const AutoMLSortOrder &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListCandidatesForAutoMLJobRequest & WithSortOrder(AutoMLSortOrder &&value)
ListCandidatesForAutoMLJobRequest & WithAutoMLJobName(const Aws::String &value)
ListCandidatesForAutoMLJobRequest & WithCandidateNameEquals(const Aws::String &value)