AWS SDK for C++  1.9.160
AWS SDK for C++
ListImageVersionsRequest.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 "ListImageVersions"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
45 
50  inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
51 
56  inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
57 
62  inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
63 
68  inline ListImageVersionsRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
69 
74  inline ListImageVersionsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
75 
76 
81  inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
82 
87  inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
88 
93  inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
94 
99  inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
100 
105  inline ListImageVersionsRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
106 
111  inline ListImageVersionsRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
112 
113 
117  inline const Aws::String& GetImageName() const{ return m_imageName; }
118 
122  inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; }
123 
127  inline void SetImageName(const Aws::String& value) { m_imageNameHasBeenSet = true; m_imageName = value; }
128 
132  inline void SetImageName(Aws::String&& value) { m_imageNameHasBeenSet = true; m_imageName = std::move(value); }
133 
137  inline void SetImageName(const char* value) { m_imageNameHasBeenSet = true; m_imageName.assign(value); }
138 
142  inline ListImageVersionsRequest& WithImageName(const Aws::String& value) { SetImageName(value); return *this;}
143 
147  inline ListImageVersionsRequest& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;}
148 
152  inline ListImageVersionsRequest& WithImageName(const char* value) { SetImageName(value); return *this;}
153 
154 
159  inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
160 
165  inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
166 
171  inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
172 
177  inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
178 
183  inline ListImageVersionsRequest& WithLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { SetLastModifiedTimeAfter(value); return *this;}
184 
189  inline ListImageVersionsRequest& WithLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { SetLastModifiedTimeAfter(std::move(value)); return *this;}
190 
191 
196  inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
197 
202  inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
203 
208  inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
209 
214  inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
215 
220  inline ListImageVersionsRequest& WithLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { SetLastModifiedTimeBefore(value); return *this;}
221 
226  inline ListImageVersionsRequest& WithLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { SetLastModifiedTimeBefore(std::move(value)); return *this;}
227 
228 
233  inline int GetMaxResults() const{ return m_maxResults; }
234 
239  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
240 
245  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
246 
251  inline ListImageVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
252 
253 
259  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
260 
266  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
267 
273  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
274 
280  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
281 
287  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
288 
294  inline ListImageVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
295 
301  inline ListImageVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
302 
308  inline ListImageVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
309 
310 
315  inline const ImageVersionSortBy& GetSortBy() const{ return m_sortBy; }
316 
321  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
322 
327  inline void SetSortBy(const ImageVersionSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
328 
333  inline void SetSortBy(ImageVersionSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
334 
339  inline ListImageVersionsRequest& WithSortBy(const ImageVersionSortBy& value) { SetSortBy(value); return *this;}
340 
345  inline ListImageVersionsRequest& WithSortBy(ImageVersionSortBy&& value) { SetSortBy(std::move(value)); return *this;}
346 
347 
351  inline const ImageVersionSortOrder& GetSortOrder() const{ return m_sortOrder; }
352 
356  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
357 
361  inline void SetSortOrder(const ImageVersionSortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
362 
366  inline void SetSortOrder(ImageVersionSortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
367 
371  inline ListImageVersionsRequest& WithSortOrder(const ImageVersionSortOrder& value) { SetSortOrder(value); return *this;}
372 
376  inline ListImageVersionsRequest& WithSortOrder(ImageVersionSortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
377 
378  private:
379 
380  Aws::Utils::DateTime m_creationTimeAfter;
381  bool m_creationTimeAfterHasBeenSet;
382 
383  Aws::Utils::DateTime m_creationTimeBefore;
384  bool m_creationTimeBeforeHasBeenSet;
385 
386  Aws::String m_imageName;
387  bool m_imageNameHasBeenSet;
388 
389  Aws::Utils::DateTime m_lastModifiedTimeAfter;
390  bool m_lastModifiedTimeAfterHasBeenSet;
391 
392  Aws::Utils::DateTime m_lastModifiedTimeBefore;
393  bool m_lastModifiedTimeBeforeHasBeenSet;
394 
395  int m_maxResults;
396  bool m_maxResultsHasBeenSet;
397 
398  Aws::String m_nextToken;
399  bool m_nextTokenHasBeenSet;
400 
401  ImageVersionSortBy m_sortBy;
402  bool m_sortByHasBeenSet;
403 
404  ImageVersionSortOrder m_sortOrder;
405  bool m_sortOrderHasBeenSet;
406  };
407 
408 } // namespace Model
409 } // namespace SageMaker
410 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListImageVersionsRequest::WithCreationTimeBefore
ListImageVersionsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListImageVersionsRequest.h:105
Aws::SageMaker::Model::ListImageVersionsRequest::WithLastModifiedTimeAfter
ListImageVersionsRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListImageVersionsRequest.h:183
Aws::SageMaker::Model::ImageVersionSortBy
ImageVersionSortBy
Definition: ImageVersionSortBy.h:17
Aws::SageMaker::Model::ListImageVersionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListImageVersionsRequest.h:280
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListImageVersionsRequest::GetSortOrder
const ImageVersionSortOrder & GetSortOrder() const
Definition: ListImageVersionsRequest.h:351
Aws::SageMaker::Model::ListImageVersionsRequest
Definition: ListImageVersionsRequest.h:25
Aws::SageMaker::Model::ListImageVersionsRequest::SetLastModifiedTimeBefore
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListImageVersionsRequest.h:208
Aws::SageMaker::Model::ListImageVersionsRequest::SetCreationTimeAfter
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListImageVersionsRequest.h:56
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::ListImageVersionsRequest::GetImageName
const Aws::String & GetImageName() const
Definition: ListImageVersionsRequest.h:117
Aws::SageMaker::Model::ListImageVersionsRequest::GetLastModifiedTimeBefore
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
Definition: ListImageVersionsRequest.h:196
Aws::SageMaker::Model::ListImageVersionsRequest::GetCreationTimeAfter
const Aws::Utils::DateTime & GetCreationTimeAfter() const
Definition: ListImageVersionsRequest.h:44
Aws::SageMaker::Model::ListImageVersionsRequest::GetSortBy
const ImageVersionSortBy & GetSortBy() const
Definition: ListImageVersionsRequest.h:315
DateTime.h
Aws::SageMaker::Model::ListImageVersionsRequest::WithSortOrder
ListImageVersionsRequest & WithSortOrder(ImageVersionSortOrder &&value)
Definition: ListImageVersionsRequest.h:376
Aws::SageMaker::Model::ImageVersionSortOrder
ImageVersionSortOrder
Definition: ImageVersionSortOrder.h:17
Aws::SageMaker::Model::ListImageVersionsRequest::SetLastModifiedTimeAfter
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListImageVersionsRequest.h:171
Aws::SageMaker::Model::ListImageVersionsRequest::CreationTimeBeforeHasBeenSet
bool CreationTimeBeforeHasBeenSet() const
Definition: ListImageVersionsRequest.h:87
Aws::SageMaker::Model::ListImageVersionsRequest::WithSortOrder
ListImageVersionsRequest & WithSortOrder(const ImageVersionSortOrder &value)
Definition: ListImageVersionsRequest.h:371
Aws::SageMaker::Model::ListImageVersionsRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListImageVersionsRequest.h:356
Aws::SageMaker::Model::ListImageVersionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListImageVersionsRequest.h:245
Aws::SageMaker::Model::ListImageVersionsRequest::SetLastModifiedTimeAfter
void SetLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListImageVersionsRequest.h:177
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::ListImageVersionsRequest::LastModifiedTimeBeforeHasBeenSet
bool LastModifiedTimeBeforeHasBeenSet() const
Definition: ListImageVersionsRequest.h:202
Aws::SageMaker::Model::ListImageVersionsRequest::WithNextToken
ListImageVersionsRequest & WithNextToken(const char *value)
Definition: ListImageVersionsRequest.h:308
Aws::SageMaker::Model::ListImageVersionsRequest::CreationTimeAfterHasBeenSet
bool CreationTimeAfterHasBeenSet() const
Definition: ListImageVersionsRequest.h:50
Aws::SageMaker::Model::ListImageVersionsRequest::WithNextToken
ListImageVersionsRequest & WithNextToken(const Aws::String &value)
Definition: ListImageVersionsRequest.h:294
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListImageVersionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListImageVersionsRequest.h:273
Aws::SageMaker::Model::ListImageVersionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListImageVersionsRequest.h:287
Aws::SageMaker::Model::ListImageVersionsRequest::SetSortOrder
void SetSortOrder(const ImageVersionSortOrder &value)
Definition: ListImageVersionsRequest.h:361
Aws::SageMaker::Model::ListImageVersionsRequest::SetImageName
void SetImageName(Aws::String &&value)
Definition: ListImageVersionsRequest.h:132
Aws::SageMaker::Model::ListImageVersionsRequest::ImageNameHasBeenSet
bool ImageNameHasBeenSet() const
Definition: ListImageVersionsRequest.h:122
Aws::SageMaker::Model::ListImageVersionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListImageVersionsRequest.h:259
Aws::SageMaker::Model::ListImageVersionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListImageVersionsRequest.h:266
Aws::SageMaker::Model::ListImageVersionsRequest::WithImageName
ListImageVersionsRequest & WithImageName(Aws::String &&value)
Definition: ListImageVersionsRequest.h:147
AWSString.h
ImageVersionSortBy.h
Aws::SageMaker::Model::ListImageVersionsRequest::SetSortBy
void SetSortBy(ImageVersionSortBy &&value)
Definition: ListImageVersionsRequest.h:333
Aws::SageMaker::Model::ListImageVersionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListImageVersionsRequest::WithCreationTimeAfter
ListImageVersionsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListImageVersionsRequest.h:74
Aws::SageMaker::Model::ListImageVersionsRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListImageVersionsRequest.h:321
Aws::SageMaker::Model::ListImageVersionsRequest::WithLastModifiedTimeBefore
ListImageVersionsRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListImageVersionsRequest.h:226
Aws::SageMaker::Model::ListImageVersionsRequest::GetLastModifiedTimeAfter
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
Definition: ListImageVersionsRequest.h:159
Aws::SageMaker::Model::ListImageVersionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListImageVersionsRequest.h:239
Aws::SageMaker::Model::ListImageVersionsRequest::SetCreationTimeBefore
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListImageVersionsRequest.h:93
Aws::SageMaker::Model::ListImageVersionsRequest::SetImageName
void SetImageName(const char *value)
Definition: ListImageVersionsRequest.h:137
Aws::SageMaker::Model::ListImageVersionsRequest::WithLastModifiedTimeBefore
ListImageVersionsRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListImageVersionsRequest.h:220
Aws::SageMaker::Model::ListImageVersionsRequest::SetCreationTimeBefore
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListImageVersionsRequest.h:99
Aws::SageMaker::Model::ListImageVersionsRequest::SetLastModifiedTimeBefore
void SetLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListImageVersionsRequest.h:214
Aws::SageMaker::Model::ListImageVersionsRequest::SetSortOrder
void SetSortOrder(ImageVersionSortOrder &&value)
Definition: ListImageVersionsRequest.h:366
Aws::SageMaker::Model::ListImageVersionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListImageVersionsRequest.h:233
Aws::SageMaker::Model::ListImageVersionsRequest::WithCreationTimeAfter
ListImageVersionsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListImageVersionsRequest.h:68
Aws::SageMaker::Model::ListImageVersionsRequest::WithNextToken
ListImageVersionsRequest & WithNextToken(Aws::String &&value)
Definition: ListImageVersionsRequest.h:301
Aws::SageMaker::Model::ListImageVersionsRequest::SetCreationTimeAfter
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListImageVersionsRequest.h:62
Aws::SageMaker::Model::ListImageVersionsRequest::WithImageName
ListImageVersionsRequest & WithImageName(const Aws::String &value)
Definition: ListImageVersionsRequest.h:142
Aws::SageMaker::Model::ListImageVersionsRequest::WithImageName
ListImageVersionsRequest & WithImageName(const char *value)
Definition: ListImageVersionsRequest.h:152
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListImageVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
SageMakerRequest.h
Aws::SageMaker::Model::ListImageVersionsRequest::WithLastModifiedTimeAfter
ListImageVersionsRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListImageVersionsRequest.h:189
Aws::SageMaker::Model::ListImageVersionsRequest::WithMaxResults
ListImageVersionsRequest & WithMaxResults(int value)
Definition: ListImageVersionsRequest.h:251
Aws::SageMaker::Model::ListImageVersionsRequest::LastModifiedTimeAfterHasBeenSet
bool LastModifiedTimeAfterHasBeenSet() const
Definition: ListImageVersionsRequest.h:165
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListImageVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListImageVersionsRequest.h:33
Aws::SageMaker::Model::ListImageVersionsRequest::WithCreationTimeBefore
ListImageVersionsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListImageVersionsRequest.h:111
Aws::SageMaker::Model::ListImageVersionsRequest::WithSortBy
ListImageVersionsRequest & WithSortBy(const ImageVersionSortBy &value)
Definition: ListImageVersionsRequest.h:339
Aws::SageMaker::Model::ListImageVersionsRequest::SetSortBy
void SetSortBy(const ImageVersionSortBy &value)
Definition: ListImageVersionsRequest.h:327
Aws::SageMaker::Model::ListImageVersionsRequest::WithSortBy
ListImageVersionsRequest & WithSortBy(ImageVersionSortBy &&value)
Definition: ListImageVersionsRequest.h:345
Aws::SageMaker::Model::ListImageVersionsRequest::ListImageVersionsRequest
ListImageVersionsRequest()
Aws::SageMaker::Model::ListImageVersionsRequest::GetCreationTimeBefore
const Aws::Utils::DateTime & GetCreationTimeBefore() const
Definition: ListImageVersionsRequest.h:81
ImageVersionSortOrder.h
Aws::SageMaker::Model::ListImageVersionsRequest::SetImageName
void SetImageName(const Aws::String &value)
Definition: ListImageVersionsRequest.h:127