AWS SDK for C++  1.9.155
AWS SDK for C++
ListExperimentsRequest.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 "ListExperiments"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; }
44 
48  inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
49 
53  inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; }
54 
58  inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); }
59 
63  inline ListExperimentsRequest& WithCreatedAfter(const Aws::Utils::DateTime& value) { SetCreatedAfter(value); return *this;}
64 
68  inline ListExperimentsRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;}
69 
70 
74  inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; }
75 
79  inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
80 
84  inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; }
85 
89  inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); }
90 
94  inline ListExperimentsRequest& WithCreatedBefore(const Aws::Utils::DateTime& value) { SetCreatedBefore(value); return *this;}
95 
99  inline ListExperimentsRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
100 
101 
106  inline const SortExperimentsBy& GetSortBy() const{ return m_sortBy; }
107 
112  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
113 
118  inline void SetSortBy(const SortExperimentsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
119 
124  inline void SetSortBy(SortExperimentsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
125 
130  inline ListExperimentsRequest& WithSortBy(const SortExperimentsBy& value) { SetSortBy(value); return *this;}
131 
136  inline ListExperimentsRequest& WithSortBy(SortExperimentsBy&& value) { SetSortBy(std::move(value)); return *this;}
137 
138 
142  inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
143 
147  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
148 
152  inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
153 
157  inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
158 
162  inline ListExperimentsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
163 
167  inline ListExperimentsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
168 
169 
175  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
176 
182  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
183 
189  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
190 
196  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
197 
203  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
204 
210  inline ListExperimentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
211 
217  inline ListExperimentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
218 
224  inline ListExperimentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
225 
226 
231  inline int GetMaxResults() const{ return m_maxResults; }
232 
237  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
238 
243  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
244 
249  inline ListExperimentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
250 
251  private:
252 
253  Aws::Utils::DateTime m_createdAfter;
254  bool m_createdAfterHasBeenSet;
255 
256  Aws::Utils::DateTime m_createdBefore;
257  bool m_createdBeforeHasBeenSet;
258 
259  SortExperimentsBy m_sortBy;
260  bool m_sortByHasBeenSet;
261 
262  SortOrder m_sortOrder;
263  bool m_sortOrderHasBeenSet;
264 
265  Aws::String m_nextToken;
266  bool m_nextTokenHasBeenSet;
267 
268  int m_maxResults;
269  bool m_maxResultsHasBeenSet;
270  };
271 
272 } // namespace Model
273 } // namespace SageMaker
274 } // namespace Aws
Aws::SageMaker::Model::ListExperimentsRequest::WithCreatedAfter
ListExperimentsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
Definition: ListExperimentsRequest.h:68
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListExperimentsRequest::WithNextToken
ListExperimentsRequest & WithNextToken(const Aws::String &value)
Definition: ListExperimentsRequest.h:210
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListExperimentsRequest::SetSortOrder
void SetSortOrder(SortOrder &&value)
Definition: ListExperimentsRequest.h:157
Aws::SageMaker::Model::ListExperimentsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListExperimentsRequest.h:243
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::ListExperimentsRequest::SetSortOrder
void SetSortOrder(const SortOrder &value)
Definition: ListExperimentsRequest.h:152
Aws::SageMaker::Model::ListExperimentsRequest::SetCreatedBefore
void SetCreatedBefore(const Aws::Utils::DateTime &value)
Definition: ListExperimentsRequest.h:84
Aws::SageMaker::Model::ListExperimentsRequest::WithSortBy
ListExperimentsRequest & WithSortBy(SortExperimentsBy &&value)
Definition: ListExperimentsRequest.h:136
DateTime.h
Aws::SageMaker::Model::ListExperimentsRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListExperimentsRequest.h:147
Aws::SageMaker::Model::ListExperimentsRequest::CreatedBeforeHasBeenSet
bool CreatedBeforeHasBeenSet() const
Definition: ListExperimentsRequest.h:79
Aws::SageMaker::Model::ListExperimentsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListExperimentsRequest.h:182
Aws::SageMaker::Model::ListExperimentsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListExperimentsRequest.h:189
Aws::SageMaker::Model::ListExperimentsRequest::WithCreatedBefore
ListExperimentsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
Definition: ListExperimentsRequest.h:99
Aws::SageMaker::Model::SortExperimentsBy
SortExperimentsBy
Definition: SortExperimentsBy.h:17
Aws::SageMaker::Model::ListExperimentsRequest::CreatedAfterHasBeenSet
bool CreatedAfterHasBeenSet() const
Definition: ListExperimentsRequest.h:48
Aws::SageMaker::Model::ListExperimentsRequest::GetCreatedAfter
const Aws::Utils::DateTime & GetCreatedAfter() const
Definition: ListExperimentsRequest.h:43
Aws::SageMaker::Model::ListExperimentsRequest::WithSortOrder
ListExperimentsRequest & WithSortOrder(const SortOrder &value)
Definition: ListExperimentsRequest.h:162
Aws::SageMaker::Model::ListExperimentsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
SortOrder.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListExperimentsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListExperimentsRequest.h:33
Aws::SageMaker::Model::ListExperimentsRequest::WithCreatedBefore
ListExperimentsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
Definition: ListExperimentsRequest.h:94
Aws::SageMaker::Model::ListExperimentsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListExperimentsRequest.h:237
Aws::SageMaker::Model::ListExperimentsRequest::GetSortBy
const SortExperimentsBy & GetSortBy() const
Definition: ListExperimentsRequest.h:106
Aws::SageMaker::Model::ListExperimentsRequest::SetCreatedBefore
void SetCreatedBefore(Aws::Utils::DateTime &&value)
Definition: ListExperimentsRequest.h:89
Aws::SageMaker::Model::ListExperimentsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListExperimentsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListExperimentsRequest.h:196
AWSString.h
Aws::SageMaker::Model::ListExperimentsRequest::GetSortOrder
const SortOrder & GetSortOrder() const
Definition: ListExperimentsRequest.h:142
Aws::SageMaker::Model::ListExperimentsRequest::WithNextToken
ListExperimentsRequest & WithNextToken(const char *value)
Definition: ListExperimentsRequest.h:224
Aws::SageMaker::Model::ListExperimentsRequest::ListExperimentsRequest
ListExperimentsRequest()
Aws::SageMaker::Model::ListExperimentsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListExperimentsRequest.h:175
Aws::SageMaker::Model::ListExperimentsRequest::SetCreatedAfter
void SetCreatedAfter(const Aws::Utils::DateTime &value)
Definition: ListExperimentsRequest.h:53
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::ListExperimentsRequest::GetCreatedBefore
const Aws::Utils::DateTime & GetCreatedBefore() const
Definition: ListExperimentsRequest.h:74
Aws::SageMaker::Model::ListExperimentsRequest::WithCreatedAfter
ListExperimentsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
Definition: ListExperimentsRequest.h:63
Aws::SageMaker::Model::ListExperimentsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListExperimentsRequest.h:231
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListExperimentsRequest::WithNextToken
ListExperimentsRequest & WithNextToken(Aws::String &&value)
Definition: ListExperimentsRequest.h:217
Aws::SageMaker::Model::ListExperimentsRequest::SetSortBy
void SetSortBy(SortExperimentsBy &&value)
Definition: ListExperimentsRequest.h:124
Aws::SageMaker::Model::ListExperimentsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListExperimentsRequest.h:203
Aws::SageMaker::Model::ListExperimentsRequest::WithSortOrder
ListExperimentsRequest & WithSortOrder(SortOrder &&value)
Definition: ListExperimentsRequest.h:167
SortExperimentsBy.h
Aws::SageMaker::Model::ListExperimentsRequest
Definition: ListExperimentsRequest.h:25
Aws::SageMaker::Model::ListExperimentsRequest::SetCreatedAfter
void SetCreatedAfter(Aws::Utils::DateTime &&value)
Definition: ListExperimentsRequest.h:58
Aws::SageMaker::Model::ListExperimentsRequest::WithMaxResults
ListExperimentsRequest & WithMaxResults(int value)
Definition: ListExperimentsRequest.h:249
Aws::SageMaker::Model::ListExperimentsRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListExperimentsRequest.h:112
Aws::SageMaker::Model::ListExperimentsRequest::WithSortBy
ListExperimentsRequest & WithSortBy(const SortExperimentsBy &value)
Definition: ListExperimentsRequest.h:130
Aws::SageMaker::Model::ListExperimentsRequest::SetSortBy
void SetSortBy(const SortExperimentsBy &value)
Definition: ListExperimentsRequest.h:118