AWS SDK for C++  1.9.160
AWS SDK for C++
ListArtifactsRequest.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 "ListArtifacts"; }
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 ListArtifactsRequest& WithSourceUri(const Aws::String& value) { SetSourceUri(value); return *this;}
69 
73  inline ListArtifactsRequest& WithSourceUri(Aws::String&& value) { SetSourceUri(std::move(value)); return *this;}
74 
78  inline ListArtifactsRequest& WithSourceUri(const char* value) { SetSourceUri(value); return *this;}
79 
80 
84  inline const Aws::String& GetArtifactType() const{ return m_artifactType; }
85 
89  inline bool ArtifactTypeHasBeenSet() const { return m_artifactTypeHasBeenSet; }
90 
94  inline void SetArtifactType(const Aws::String& value) { m_artifactTypeHasBeenSet = true; m_artifactType = value; }
95 
99  inline void SetArtifactType(Aws::String&& value) { m_artifactTypeHasBeenSet = true; m_artifactType = std::move(value); }
100 
104  inline void SetArtifactType(const char* value) { m_artifactTypeHasBeenSet = true; m_artifactType.assign(value); }
105 
109  inline ListArtifactsRequest& WithArtifactType(const Aws::String& value) { SetArtifactType(value); return *this;}
110 
114  inline ListArtifactsRequest& WithArtifactType(Aws::String&& value) { SetArtifactType(std::move(value)); return *this;}
115 
119  inline ListArtifactsRequest& WithArtifactType(const char* value) { SetArtifactType(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 ListArtifactsRequest& WithCreatedAfter(const Aws::Utils::DateTime& value) { SetCreatedAfter(value); return *this;}
151 
156  inline ListArtifactsRequest& 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 ListArtifactsRequest& WithCreatedBefore(const Aws::Utils::DateTime& value) { SetCreatedBefore(value); return *this;}
188 
193  inline ListArtifactsRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
194 
195 
200  inline const SortArtifactsBy& GetSortBy() const{ return m_sortBy; }
201 
206  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
207 
212  inline void SetSortBy(const SortArtifactsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
213 
218  inline void SetSortBy(SortArtifactsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
219 
224  inline ListArtifactsRequest& WithSortBy(const SortArtifactsBy& value) { SetSortBy(value); return *this;}
225 
230  inline ListArtifactsRequest& WithSortBy(SortArtifactsBy&& 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 ListArtifactsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
257 
261  inline ListArtifactsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
262 
263 
269  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
270 
276  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
277 
283  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
284 
290  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
291 
297  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
298 
304  inline ListArtifactsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
305 
311  inline ListArtifactsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
312 
318  inline ListArtifactsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
319 
320 
325  inline int GetMaxResults() const{ return m_maxResults; }
326 
331  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
332 
337  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
338 
343  inline ListArtifactsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
344 
345  private:
346 
347  Aws::String m_sourceUri;
348  bool m_sourceUriHasBeenSet;
349 
350  Aws::String m_artifactType;
351  bool m_artifactTypeHasBeenSet;
352 
353  Aws::Utils::DateTime m_createdAfter;
354  bool m_createdAfterHasBeenSet;
355 
356  Aws::Utils::DateTime m_createdBefore;
357  bool m_createdBeforeHasBeenSet;
358 
359  SortArtifactsBy m_sortBy;
360  bool m_sortByHasBeenSet;
361 
362  SortOrder m_sortOrder;
363  bool m_sortOrderHasBeenSet;
364 
365  Aws::String m_nextToken;
366  bool m_nextTokenHasBeenSet;
367 
368  int m_maxResults;
369  bool m_maxResultsHasBeenSet;
370  };
371 
372 } // namespace Model
373 } // namespace SageMaker
374 } // namespace Aws
Aws::SageMaker::Model::ListArtifactsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListArtifactsRequest.h:337
Aws::SageMaker::Model::ListArtifactsRequest::CreatedAfterHasBeenSet
bool CreatedAfterHasBeenSet() const
Definition: ListArtifactsRequest.h:132
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::ListArtifactsRequest::SetSourceUri
void SetSourceUri(const char *value)
Definition: ListArtifactsRequest.h:63
Aws::SageMaker::Model::ListArtifactsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::ListArtifactsRequest::SetArtifactType
void SetArtifactType(Aws::String &&value)
Definition: ListArtifactsRequest.h:99
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListArtifactsRequest::WithArtifactType
ListArtifactsRequest & WithArtifactType(const Aws::String &value)
Definition: ListArtifactsRequest.h:109
Aws::SageMaker::Model::ListArtifactsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListArtifactsRequest.h:33
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListArtifactsRequest::GetSortBy
const SortArtifactsBy & GetSortBy() const
Definition: ListArtifactsRequest.h:200
Aws::SageMaker::Model::ListArtifactsRequest::WithCreatedBefore
ListArtifactsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
Definition: ListArtifactsRequest.h:193
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::ListArtifactsRequest::SetSortOrder
void SetSortOrder(const SortOrder &value)
Definition: ListArtifactsRequest.h:246
Aws::SageMaker::Model::ListArtifactsRequest::WithSortBy
ListArtifactsRequest & WithSortBy(SortArtifactsBy &&value)
Definition: ListArtifactsRequest.h:230
Aws::SageMaker::Model::ListArtifactsRequest::WithNextToken
ListArtifactsRequest & WithNextToken(const Aws::String &value)
Definition: ListArtifactsRequest.h:304
DateTime.h
Aws::SageMaker::Model::ListArtifactsRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListArtifactsRequest.h:206
Aws::SageMaker::Model::ListArtifactsRequest::WithSourceUri
ListArtifactsRequest & WithSourceUri(const char *value)
Definition: ListArtifactsRequest.h:78
Aws::SageMaker::Model::ListArtifactsRequest::SetCreatedAfter
void SetCreatedAfter(Aws::Utils::DateTime &&value)
Definition: ListArtifactsRequest.h:144
Aws::SageMaker::Model::ListArtifactsRequest::SetCreatedBefore
void SetCreatedBefore(const Aws::Utils::DateTime &value)
Definition: ListArtifactsRequest.h:175
Aws::SageMaker::Model::ListArtifactsRequest::WithSortOrder
ListArtifactsRequest & WithSortOrder(const SortOrder &value)
Definition: ListArtifactsRequest.h:256
Aws::SageMaker::Model::ListArtifactsRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListArtifactsRequest.h:241
Aws::SageMaker::Model::ListArtifactsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListArtifactsRequest.h:325
SortArtifactsBy.h
Aws::SageMaker::Model::ListArtifactsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListArtifactsRequest.h:297
Aws::SageMaker::Model::ListArtifactsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListArtifactsRequest.h:276
Aws::SageMaker::Model::ListArtifactsRequest::WithArtifactType
ListArtifactsRequest & WithArtifactType(const char *value)
Definition: ListArtifactsRequest.h:119
Aws::SageMaker::Model::ListArtifactsRequest::WithCreatedBefore
ListArtifactsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
Definition: ListArtifactsRequest.h:187
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::ListArtifactsRequest::WithMaxResults
ListArtifactsRequest & WithMaxResults(int value)
Definition: ListArtifactsRequest.h:343
Aws::SageMaker::Model::ListArtifactsRequest::GetCreatedAfter
const Aws::Utils::DateTime & GetCreatedAfter() const
Definition: ListArtifactsRequest.h:126
SortOrder.h
Aws::SageMaker::Model::ListArtifactsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListArtifactsRequest.h:290
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListArtifactsRequest::WithSourceUri
ListArtifactsRequest & WithSourceUri(const Aws::String &value)
Definition: ListArtifactsRequest.h:68
Aws::SageMaker::Model::ListArtifactsRequest::GetCreatedBefore
const Aws::Utils::DateTime & GetCreatedBefore() const
Definition: ListArtifactsRequest.h:163
Aws::SageMaker::Model::ListArtifactsRequest::SetSortBy
void SetSortBy(const SortArtifactsBy &value)
Definition: ListArtifactsRequest.h:212
Aws::SageMaker::Model::ListArtifactsRequest::SetSortOrder
void SetSortOrder(SortOrder &&value)
Definition: ListArtifactsRequest.h:251
Aws::SageMaker::Model::ListArtifactsRequest::WithCreatedAfter
ListArtifactsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
Definition: ListArtifactsRequest.h:150
Aws::SageMaker::Model::ListArtifactsRequest::WithNextToken
ListArtifactsRequest & WithNextToken(const char *value)
Definition: ListArtifactsRequest.h:318
Aws::SageMaker::Model::SortArtifactsBy
SortArtifactsBy
Definition: SortArtifactsBy.h:17
Aws::SageMaker::Model::ListArtifactsRequest::ListArtifactsRequest
ListArtifactsRequest()
Aws::SageMaker::Model::ListArtifactsRequest::WithNextToken
ListArtifactsRequest & WithNextToken(Aws::String &&value)
Definition: ListArtifactsRequest.h:311
Aws::SageMaker::Model::ListArtifactsRequest::WithArtifactType
ListArtifactsRequest & WithArtifactType(Aws::String &&value)
Definition: ListArtifactsRequest.h:114
Aws::SageMaker::Model::ListArtifactsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::SageMaker::Model::ListArtifactsRequest::SetArtifactType
void SetArtifactType(const char *value)
Definition: ListArtifactsRequest.h:104
Aws::SageMaker::Model::ListArtifactsRequest
Definition: ListArtifactsRequest.h:25
Aws::SageMaker::Model::ListArtifactsRequest::SetCreatedBefore
void SetCreatedBefore(Aws::Utils::DateTime &&value)
Definition: ListArtifactsRequest.h:181
Aws::SageMaker::Model::ListArtifactsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListArtifactsRequest.h:269
Aws::SageMaker::Model::ListArtifactsRequest::WithSourceUri
ListArtifactsRequest & WithSourceUri(Aws::String &&value)
Definition: ListArtifactsRequest.h:73
Aws::SageMaker::Model::ListArtifactsRequest::GetArtifactType
const Aws::String & GetArtifactType() const
Definition: ListArtifactsRequest.h:84
Aws::SageMaker::Model::ListArtifactsRequest::WithSortOrder
ListArtifactsRequest & WithSortOrder(SortOrder &&value)
Definition: ListArtifactsRequest.h:261
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::ListArtifactsRequest::SetArtifactType
void SetArtifactType(const Aws::String &value)
Definition: ListArtifactsRequest.h:94
Aws::SageMaker::Model::ListArtifactsRequest::SetSortBy
void SetSortBy(SortArtifactsBy &&value)
Definition: ListArtifactsRequest.h:218
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListArtifactsRequest::WithSortBy
ListArtifactsRequest & WithSortBy(const SortArtifactsBy &value)
Definition: ListArtifactsRequest.h:224
Aws::SageMaker::Model::ListArtifactsRequest::WithCreatedAfter
ListArtifactsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
Definition: ListArtifactsRequest.h:156
Aws::SageMaker::Model::ListArtifactsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListArtifactsRequest.h:331
Aws::SageMaker::Model::ListArtifactsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListArtifactsRequest.h:283
Aws::SageMaker::Model::ListArtifactsRequest::SourceUriHasBeenSet
bool SourceUriHasBeenSet() const
Definition: ListArtifactsRequest.h:48
Aws::SageMaker::Model::ListArtifactsRequest::SetSourceUri
void SetSourceUri(const Aws::String &value)
Definition: ListArtifactsRequest.h:53
Aws::SageMaker::Model::ListArtifactsRequest::GetSourceUri
const Aws::String & GetSourceUri() const
Definition: ListArtifactsRequest.h:43
Aws::SageMaker::Model::ListArtifactsRequest::ArtifactTypeHasBeenSet
bool ArtifactTypeHasBeenSet() const
Definition: ListArtifactsRequest.h:89
Aws::SageMaker::Model::ListArtifactsRequest::SetSourceUri
void SetSourceUri(Aws::String &&value)
Definition: ListArtifactsRequest.h:58
Aws::SageMaker::Model::ListArtifactsRequest::SetCreatedAfter
void SetCreatedAfter(const Aws::Utils::DateTime &value)
Definition: ListArtifactsRequest.h:138
Aws::SageMaker::Model::ListArtifactsRequest::GetSortOrder
const SortOrder & GetSortOrder() const
Definition: ListArtifactsRequest.h:236
Aws::SageMaker::Model::ListArtifactsRequest::CreatedBeforeHasBeenSet
bool CreatedBeforeHasBeenSet() const
Definition: ListArtifactsRequest.h:169