AWS SDK for C++  1.9.108
AWS SDK for C++
ListImagesRequest.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 "ListImages"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
44 
48  inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
49 
53  inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
54 
58  inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
59 
63  inline ListImagesRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
64 
68  inline ListImagesRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
69 
70 
75  inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
76 
81  inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
82 
87  inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
88 
93  inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
94 
99  inline ListImagesRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
100 
105  inline ListImagesRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
106 
107 
112  inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
113 
118  inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
119 
124  inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
125 
130  inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
131 
136  inline ListImagesRequest& WithLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { SetLastModifiedTimeAfter(value); return *this;}
137 
142  inline ListImagesRequest& WithLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { SetLastModifiedTimeAfter(std::move(value)); return *this;}
143 
144 
149  inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
150 
155  inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
156 
161  inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
162 
167  inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
168 
173  inline ListImagesRequest& WithLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { SetLastModifiedTimeBefore(value); return *this;}
174 
179  inline ListImagesRequest& WithLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { SetLastModifiedTimeBefore(std::move(value)); return *this;}
180 
181 
186  inline int GetMaxResults() const{ return m_maxResults; }
187 
192  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
193 
198  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
199 
204  inline ListImagesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
205 
206 
211  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
212 
217  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
218 
223  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
224 
229  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
230 
235  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
236 
241  inline ListImagesRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
242 
247  inline ListImagesRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
248 
253  inline ListImagesRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
254 
255 
260  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
261 
266  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
267 
272  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
273 
278  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
279 
284  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
285 
290  inline ListImagesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
291 
296  inline ListImagesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
297 
302  inline ListImagesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
303 
304 
309  inline const ImageSortBy& GetSortBy() const{ return m_sortBy; }
310 
315  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
316 
321  inline void SetSortBy(const ImageSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
322 
327  inline void SetSortBy(ImageSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
328 
333  inline ListImagesRequest& WithSortBy(const ImageSortBy& value) { SetSortBy(value); return *this;}
334 
339  inline ListImagesRequest& WithSortBy(ImageSortBy&& value) { SetSortBy(std::move(value)); return *this;}
340 
341 
345  inline const ImageSortOrder& GetSortOrder() const{ return m_sortOrder; }
346 
350  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
351 
355  inline void SetSortOrder(const ImageSortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
356 
360  inline void SetSortOrder(ImageSortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
361 
365  inline ListImagesRequest& WithSortOrder(const ImageSortOrder& value) { SetSortOrder(value); return *this;}
366 
370  inline ListImagesRequest& WithSortOrder(ImageSortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
371 
372  private:
373 
374  Aws::Utils::DateTime m_creationTimeAfter;
375  bool m_creationTimeAfterHasBeenSet;
376 
377  Aws::Utils::DateTime m_creationTimeBefore;
378  bool m_creationTimeBeforeHasBeenSet;
379 
380  Aws::Utils::DateTime m_lastModifiedTimeAfter;
381  bool m_lastModifiedTimeAfterHasBeenSet;
382 
383  Aws::Utils::DateTime m_lastModifiedTimeBefore;
384  bool m_lastModifiedTimeBeforeHasBeenSet;
385 
386  int m_maxResults;
387  bool m_maxResultsHasBeenSet;
388 
389  Aws::String m_nameContains;
390  bool m_nameContainsHasBeenSet;
391 
392  Aws::String m_nextToken;
393  bool m_nextTokenHasBeenSet;
394 
395  ImageSortBy m_sortBy;
396  bool m_sortByHasBeenSet;
397 
398  ImageSortOrder m_sortOrder;
399  bool m_sortOrderHasBeenSet;
400  };
401 
402 } // namespace Model
403 } // namespace SageMaker
404 } // namespace Aws
Aws::SageMaker::Model::ListImagesRequest::SetLastModifiedTimeAfter
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListImagesRequest.h:124
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::ListImagesRequest::WithLastModifiedTimeBefore
ListImagesRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListImagesRequest.h:179
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListImagesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListImagesRequest.h:260
Aws::SageMaker::Model::ListImagesRequest::SetSortBy
void SetSortBy(const ImageSortBy &value)
Definition: ListImagesRequest.h:321
Aws::SageMaker::Model::ListImagesRequest::WithNameContains
ListImagesRequest & WithNameContains(const char *value)
Definition: ListImagesRequest.h:253
Aws::SageMaker::Model::ListImagesRequest::WithCreationTimeBefore
ListImagesRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListImagesRequest.h:105
Aws::SageMaker::Model::ListImagesRequest::GetSortOrder
const ImageSortOrder & GetSortOrder() const
Definition: ListImagesRequest.h:345
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListImagesRequest::WithCreationTimeAfter
ListImagesRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListImagesRequest.h:63
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::ListImagesRequest::WithSortOrder
ListImagesRequest & WithSortOrder(const ImageSortOrder &value)
Definition: ListImagesRequest.h:365
Aws::SageMaker::Model::ListImagesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListImagesRequest.h:272
Aws::SageMaker::Model::ListImagesRequest::SetLastModifiedTimeBefore
void SetLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListImagesRequest.h:167
ImageSortOrder.h
Aws::SageMaker::Model::ListImagesRequest
Definition: ListImagesRequest.h:25
Aws::SageMaker::Model::ListImagesRequest::WithLastModifiedTimeBefore
ListImagesRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListImagesRequest.h:173
DateTime.h
Aws::SageMaker::Model::ListImagesRequest::SetNameContains
void SetNameContains(const Aws::String &value)
Definition: ListImagesRequest.h:223
Aws::SageMaker::Model::ListImagesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::ListImagesRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListImagesRequest.h:350
Aws::SageMaker::Model::ImageSortOrder
ImageSortOrder
Definition: ImageSortOrder.h:17
Aws::SageMaker::Model::ListImagesRequest::SetNameContains
void SetNameContains(const char *value)
Definition: ListImagesRequest.h:235
Aws::SageMaker::Model::ListImagesRequest::SetLastModifiedTimeBefore
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListImagesRequest.h:161
Aws::SageMaker::Model::ListImagesRequest::SetCreationTimeAfter
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListImagesRequest.h:53
ImageSortBy.h
Aws::SageMaker::Model::ListImagesRequest::WithSortOrder
ListImagesRequest & WithSortOrder(ImageSortOrder &&value)
Definition: ListImagesRequest.h:370
Aws::SageMaker::Model::ListImagesRequest::WithCreationTimeBefore
ListImagesRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListImagesRequest.h:99
Aws::SageMaker::Model::ListImagesRequest::SetNameContains
void SetNameContains(Aws::String &&value)
Definition: ListImagesRequest.h:229
Aws::SageMaker::Model::ListImagesRequest::WithNextToken
ListImagesRequest & WithNextToken(Aws::String &&value)
Definition: ListImagesRequest.h:296
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListImagesRequest::GetLastModifiedTimeAfter
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
Definition: ListImagesRequest.h:112
Aws::SageMaker::Model::ListImagesRequest::SetCreationTimeBefore
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListImagesRequest.h:93
Aws::SageMaker::Model::ListImagesRequest::WithNextToken
ListImagesRequest & WithNextToken(const char *value)
Definition: ListImagesRequest.h:302
Aws::SageMaker::Model::ListImagesRequest::ListImagesRequest
ListImagesRequest()
Aws::SageMaker::Model::ListImagesRequest::WithSortBy
ListImagesRequest & WithSortBy(ImageSortBy &&value)
Definition: ListImagesRequest.h:339
Aws::SageMaker::Model::ListImagesRequest::CreationTimeBeforeHasBeenSet
bool CreationTimeBeforeHasBeenSet() const
Definition: ListImagesRequest.h:81
Aws::SageMaker::Model::ListImagesRequest::LastModifiedTimeAfterHasBeenSet
bool LastModifiedTimeAfterHasBeenSet() const
Definition: ListImagesRequest.h:118
AWSString.h
Aws::SageMaker::Model::ListImagesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListImagesRequest.h:284
Aws::SageMaker::Model::ListImagesRequest::CreationTimeAfterHasBeenSet
bool CreationTimeAfterHasBeenSet() const
Definition: ListImagesRequest.h:48
Aws::SageMaker::Model::ListImagesRequest::WithMaxResults
ListImagesRequest & WithMaxResults(int value)
Definition: ListImagesRequest.h:204
Aws::SageMaker::Model::ListImagesRequest::SetLastModifiedTimeAfter
void SetLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListImagesRequest.h:130
Aws::SageMaker::Model::ListImagesRequest::SetSortBy
void SetSortBy(ImageSortBy &&value)
Definition: ListImagesRequest.h:327
Aws::SageMaker::Model::ListImagesRequest::WithCreationTimeAfter
ListImagesRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListImagesRequest.h:68
Aws::SageMaker::Model::ListImagesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListImagesRequest.h:192
Aws::SageMaker::Model::ListImagesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListImagesRequest.h:266
Aws::SageMaker::Model::ListImagesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListImagesRequest.h:278
Aws::SageMaker::Model::ListImagesRequest::GetNameContains
const Aws::String & GetNameContains() const
Definition: ListImagesRequest.h:211
Aws::SageMaker::Model::ListImagesRequest::GetCreationTimeAfter
const Aws::Utils::DateTime & GetCreationTimeAfter() const
Definition: ListImagesRequest.h:43
Aws::SageMaker::Model::ListImagesRequest::SetSortOrder
void SetSortOrder(ImageSortOrder &&value)
Definition: ListImagesRequest.h:360
Aws::SageMaker::Model::ListImagesRequest::WithNextToken
ListImagesRequest & WithNextToken(const Aws::String &value)
Definition: ListImagesRequest.h:290
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListImagesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListImagesRequest::WithNameContains
ListImagesRequest & WithNameContains(Aws::String &&value)
Definition: ListImagesRequest.h:247
SageMakerRequest.h
Aws::SageMaker::Model::ListImagesRequest::WithLastModifiedTimeAfter
ListImagesRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListImagesRequest.h:142
Aws::SageMaker::Model::ListImagesRequest::GetCreationTimeBefore
const Aws::Utils::DateTime & GetCreationTimeBefore() const
Definition: ListImagesRequest.h:75
Aws::SageMaker::Model::ListImagesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListImagesRequest.h:33
Aws::SageMaker::Model::ImageSortBy
ImageSortBy
Definition: ImageSortBy.h:17
Aws::SageMaker::Model::ListImagesRequest::WithNameContains
ListImagesRequest & WithNameContains(const Aws::String &value)
Definition: ListImagesRequest.h:241
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListImagesRequest::SetSortOrder
void SetSortOrder(const ImageSortOrder &value)
Definition: ListImagesRequest.h:355
Aws::SageMaker::Model::ListImagesRequest::WithLastModifiedTimeAfter
ListImagesRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListImagesRequest.h:136
Aws::SageMaker::Model::ListImagesRequest::WithSortBy
ListImagesRequest & WithSortBy(const ImageSortBy &value)
Definition: ListImagesRequest.h:333
Aws::SageMaker::Model::ListImagesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListImagesRequest.h:198
Aws::SageMaker::Model::ListImagesRequest::GetSortBy
const ImageSortBy & GetSortBy() const
Definition: ListImagesRequest.h:309
Aws::SageMaker::Model::ListImagesRequest::NameContainsHasBeenSet
bool NameContainsHasBeenSet() const
Definition: ListImagesRequest.h:217
Aws::SageMaker::Model::ListImagesRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListImagesRequest.h:315
Aws::SageMaker::Model::ListImagesRequest::LastModifiedTimeBeforeHasBeenSet
bool LastModifiedTimeBeforeHasBeenSet() const
Definition: ListImagesRequest.h:155
Aws::SageMaker::Model::ListImagesRequest::SetCreationTimeAfter
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListImagesRequest.h:58
Aws::SageMaker::Model::ListImagesRequest::GetLastModifiedTimeBefore
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
Definition: ListImagesRequest.h:149
Aws::SageMaker::Model::ListImagesRequest::SetCreationTimeBefore
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListImagesRequest.h:87
Aws::SageMaker::Model::ListImagesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListImagesRequest.h:186