AWS SDK for C++  1.9.108
AWS SDK for C++
ListActionsRequest.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 "ListActions"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetSourceUri() const{ return m_sourceUri; }
44 
48  inline bool SourceUriHasBeenSet() const { return m_sourceUriHasBeenSet; }
49 
53  inline void SetSourceUri(const Aws::String& value) { m_sourceUriHasBeenSet = true; m_sourceUri = value; }
54 
58  inline void SetSourceUri(Aws::String&& value) { m_sourceUriHasBeenSet = true; m_sourceUri = std::move(value); }
59 
63  inline void SetSourceUri(const char* value) { m_sourceUriHasBeenSet = true; m_sourceUri.assign(value); }
64 
68  inline ListActionsRequest& WithSourceUri(const Aws::String& value) { SetSourceUri(value); return *this;}
69 
73  inline ListActionsRequest& WithSourceUri(Aws::String&& value) { SetSourceUri(std::move(value)); return *this;}
74 
78  inline ListActionsRequest& WithSourceUri(const char* value) { SetSourceUri(value); return *this;}
79 
80 
84  inline const Aws::String& GetActionType() const{ return m_actionType; }
85 
89  inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
90 
94  inline void SetActionType(const Aws::String& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
95 
99  inline void SetActionType(Aws::String&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
100 
104  inline void SetActionType(const char* value) { m_actionTypeHasBeenSet = true; m_actionType.assign(value); }
105 
109  inline ListActionsRequest& WithActionType(const Aws::String& value) { SetActionType(value); return *this;}
110 
114  inline ListActionsRequest& WithActionType(Aws::String&& value) { SetActionType(std::move(value)); return *this;}
115 
119  inline ListActionsRequest& WithActionType(const char* value) { SetActionType(value); return *this;}
120 
121 
126  inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; }
127 
132  inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
133 
138  inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; }
139 
144  inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); }
145 
150  inline ListActionsRequest& WithCreatedAfter(const Aws::Utils::DateTime& value) { SetCreatedAfter(value); return *this;}
151 
156  inline ListActionsRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;}
157 
158 
163  inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; }
164 
169  inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
170 
175  inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; }
176 
181  inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); }
182 
187  inline ListActionsRequest& WithCreatedBefore(const Aws::Utils::DateTime& value) { SetCreatedBefore(value); return *this;}
188 
193  inline ListActionsRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
194 
195 
200  inline const SortActionsBy& GetSortBy() const{ return m_sortBy; }
201 
206  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
207 
212  inline void SetSortBy(const SortActionsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
213 
218  inline void SetSortBy(SortActionsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
219 
224  inline ListActionsRequest& WithSortBy(const SortActionsBy& value) { SetSortBy(value); return *this;}
225 
230  inline ListActionsRequest& WithSortBy(SortActionsBy&& value) { SetSortBy(std::move(value)); return *this;}
231 
232 
236  inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
237 
241  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
242 
246  inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
247 
251  inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
252 
256  inline ListActionsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
257 
261  inline ListActionsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
262 
263 
268  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
269 
274  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
275 
280  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
281 
286  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
287 
292  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
293 
298  inline ListActionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
299 
304  inline ListActionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
305 
310  inline ListActionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
311 
312 
317  inline int GetMaxResults() const{ return m_maxResults; }
318 
323  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
324 
329  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
330 
335  inline ListActionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
336 
337  private:
338 
339  Aws::String m_sourceUri;
340  bool m_sourceUriHasBeenSet;
341 
342  Aws::String m_actionType;
343  bool m_actionTypeHasBeenSet;
344 
345  Aws::Utils::DateTime m_createdAfter;
346  bool m_createdAfterHasBeenSet;
347 
348  Aws::Utils::DateTime m_createdBefore;
349  bool m_createdBeforeHasBeenSet;
350 
351  SortActionsBy m_sortBy;
352  bool m_sortByHasBeenSet;
353 
354  SortOrder m_sortOrder;
355  bool m_sortOrderHasBeenSet;
356 
357  Aws::String m_nextToken;
358  bool m_nextTokenHasBeenSet;
359 
360  int m_maxResults;
361  bool m_maxResultsHasBeenSet;
362  };
363 
364 } // namespace Model
365 } // namespace SageMaker
366 } // namespace Aws
Aws::SageMaker::Model::ListActionsRequest::WithCreatedAfter
ListActionsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
Definition: ListActionsRequest.h:150
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListActionsRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListActionsRequest.h:241
Aws::SageMaker::Model::ListActionsRequest::SetCreatedBefore
void SetCreatedBefore(Aws::Utils::DateTime &&value)
Definition: ListActionsRequest.h:181
SageMaker_EXPORTS.h
Aws::SageMaker::Model::SortOrder
SortOrder
Definition: SortOrder.h:17
Aws::SageMaker::Model::ListActionsRequest::SetActionType
void SetActionType(const char *value)
Definition: ListActionsRequest.h:104
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::ListActionsRequest::SetSortOrder
void SetSortOrder(SortOrder &&value)
Definition: ListActionsRequest.h:251
Aws::SageMaker::Model::ListActionsRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListActionsRequest.h:206
Aws::SageMaker::Model::ListActionsRequest::SetActionType
void SetActionType(Aws::String &&value)
Definition: ListActionsRequest.h:99
Aws::SageMaker::Model::ListActionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListActionsRequest.h:286
Aws::SageMaker::Model::ListActionsRequest::WithSourceUri
ListActionsRequest & WithSourceUri(const char *value)
Definition: ListActionsRequest.h:78
Aws::SageMaker::Model::SortActionsBy
SortActionsBy
Definition: SortActionsBy.h:17
DateTime.h
Aws::SageMaker::Model::ListActionsRequest::GetCreatedBefore
const Aws::Utils::DateTime & GetCreatedBefore() const
Definition: ListActionsRequest.h:163
Aws::SageMaker::Model::ListActionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListActionsRequest.h:317
Aws::SageMaker::Model::ListActionsRequest::GetSortBy
const SortActionsBy & GetSortBy() const
Definition: ListActionsRequest.h:200
Aws::SageMaker::Model::ListActionsRequest::SetCreatedAfter
void SetCreatedAfter(Aws::Utils::DateTime &&value)
Definition: ListActionsRequest.h:144
Aws::SageMaker::Model::ListActionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListActionsRequest.h:323
Aws::SageMaker::Model::ListActionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListActionsRequest.h:292
Aws::SageMaker::Model::ListActionsRequest::WithMaxResults
ListActionsRequest & WithMaxResults(int value)
Definition: ListActionsRequest.h:335
Aws::SageMaker::Model::ListActionsRequest::WithCreatedBefore
ListActionsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
Definition: ListActionsRequest.h:187
Aws::SageMaker::Model::ListActionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListActionsRequest.h:33
Aws::SageMaker::Model::ListActionsRequest::WithActionType
ListActionsRequest & WithActionType(Aws::String &&value)
Definition: ListActionsRequest.h:114
Aws::SageMaker::Model::ListActionsRequest::WithSourceUri
ListActionsRequest & WithSourceUri(Aws::String &&value)
Definition: ListActionsRequest.h:73
Aws::SageMaker::Model::ListActionsRequest::WithActionType
ListActionsRequest & WithActionType(const char *value)
Definition: ListActionsRequest.h:119
Aws::SageMaker::Model::ListActionsRequest::SetSortOrder
void SetSortOrder(const SortOrder &value)
Definition: ListActionsRequest.h:246
Aws::SageMaker::Model::ListActionsRequest::WithSortBy
ListActionsRequest & WithSortBy(SortActionsBy &&value)
Definition: ListActionsRequest.h:230
Aws::SageMaker::Model::ListActionsRequest::WithNextToken
ListActionsRequest & WithNextToken(Aws::String &&value)
Definition: ListActionsRequest.h:304
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
SortActionsBy.h
Aws::SageMaker::Model::ListActionsRequest::WithNextToken
ListActionsRequest & WithNextToken(const char *value)
Definition: ListActionsRequest.h:310
Aws::SageMaker::Model::ListActionsRequest::SerializePayload
Aws::String SerializePayload() const override
SortOrder.h
Aws::SageMaker::Model::ListActionsRequest::SetSourceUri
void SetSourceUri(const Aws::String &value)
Definition: ListActionsRequest.h:53
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListActionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListActionsRequest.h:268
Aws::SageMaker::Model::ListActionsRequest::SetSourceUri
void SetSourceUri(const char *value)
Definition: ListActionsRequest.h:63
Aws::SageMaker::Model::ListActionsRequest::WithCreatedBefore
ListActionsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
Definition: ListActionsRequest.h:193
Aws::SageMaker::Model::ListActionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListActionsRequest.h:280
Aws::SageMaker::Model::ListActionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListActionsRequest::GetSourceUri
const Aws::String & GetSourceUri() const
Definition: ListActionsRequest.h:43
Aws::SageMaker::Model::ListActionsRequest::SourceUriHasBeenSet
bool SourceUriHasBeenSet() const
Definition: ListActionsRequest.h:48
Aws::SageMaker::Model::ListActionsRequest::GetCreatedAfter
const Aws::Utils::DateTime & GetCreatedAfter() const
Definition: ListActionsRequest.h:126
Aws::SageMaker::Model::ListActionsRequest::WithActionType
ListActionsRequest & WithActionType(const Aws::String &value)
Definition: ListActionsRequest.h:109
AWSString.h
Aws::SageMaker::Model::ListActionsRequest::SetCreatedAfter
void SetCreatedAfter(const Aws::Utils::DateTime &value)
Definition: ListActionsRequest.h:138
Aws::SageMaker::Model::ListActionsRequest::SetActionType
void SetActionType(const Aws::String &value)
Definition: ListActionsRequest.h:94
Aws::SageMaker::Model::ListActionsRequest::WithSortOrder
ListActionsRequest & WithSortOrder(SortOrder &&value)
Definition: ListActionsRequest.h:261
Aws::SageMaker::Model::ListActionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListActionsRequest.h:274
Aws::SageMaker::Model::ListActionsRequest::WithNextToken
ListActionsRequest & WithNextToken(const Aws::String &value)
Definition: ListActionsRequest.h:298
Aws::SageMaker::Model::ListActionsRequest::WithSortOrder
ListActionsRequest & WithSortOrder(const SortOrder &value)
Definition: ListActionsRequest.h:256
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListActionsRequest::WithSortBy
ListActionsRequest & WithSortBy(const SortActionsBy &value)
Definition: ListActionsRequest.h:224
SageMakerRequest.h
Aws::SageMaker::Model::ListActionsRequest::ListActionsRequest
ListActionsRequest()
Aws::SageMaker::Model::ListActionsRequest::SetSourceUri
void SetSourceUri(Aws::String &&value)
Definition: ListActionsRequest.h:58
Aws::SageMaker::Model::ListActionsRequest::CreatedBeforeHasBeenSet
bool CreatedBeforeHasBeenSet() const
Definition: ListActionsRequest.h:169
Aws::SageMaker::Model::ListActionsRequest::SetSortBy
void SetSortBy(const SortActionsBy &value)
Definition: ListActionsRequest.h:212
Aws::SageMaker::Model::ListActionsRequest::GetActionType
const Aws::String & GetActionType() const
Definition: ListActionsRequest.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListActionsRequest::GetSortOrder
const SortOrder & GetSortOrder() const
Definition: ListActionsRequest.h:236
Aws::SageMaker::Model::ListActionsRequest::CreatedAfterHasBeenSet
bool CreatedAfterHasBeenSet() const
Definition: ListActionsRequest.h:132
Aws::SageMaker::Model::ListActionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListActionsRequest.h:329
Aws::SageMaker::Model::ListActionsRequest::WithCreatedAfter
ListActionsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
Definition: ListActionsRequest.h:156
Aws::SageMaker::Model::ListActionsRequest::ActionTypeHasBeenSet
bool ActionTypeHasBeenSet() const
Definition: ListActionsRequest.h:89
Aws::SageMaker::Model::ListActionsRequest::SetSortBy
void SetSortBy(SortActionsBy &&value)
Definition: ListActionsRequest.h:218
Aws::SageMaker::Model::ListActionsRequest
Definition: ListActionsRequest.h:25
Aws::SageMaker::Model::ListActionsRequest::SetCreatedBefore
void SetCreatedBefore(const Aws::Utils::DateTime &value)
Definition: ListActionsRequest.h:175
Aws::SageMaker::Model::ListActionsRequest::WithSourceUri
ListActionsRequest & WithSourceUri(const Aws::String &value)
Definition: ListActionsRequest.h:68