AWS SDK for C++  1.9.40
AWS SDK for C++
ListEndpointsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace SageMaker
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListEndpoints"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const EndpointSortKey& GetSortBy() const{ return m_sortBy; }
45 
49  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
50 
54  inline void SetSortBy(const EndpointSortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
55 
59  inline void SetSortBy(EndpointSortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
60 
64  inline ListEndpointsRequest& WithSortBy(const EndpointSortKey& value) { SetSortBy(value); return *this;}
65 
69  inline ListEndpointsRequest& WithSortBy(EndpointSortKey&& value) { SetSortBy(std::move(value)); return *this;}
70 
71 
75  inline const OrderKey& GetSortOrder() const{ return m_sortOrder; }
76 
80  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
81 
85  inline void SetSortOrder(const OrderKey& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
86 
90  inline void SetSortOrder(OrderKey&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
91 
95  inline ListEndpointsRequest& WithSortOrder(const OrderKey& value) { SetSortOrder(value); return *this;}
96 
100  inline ListEndpointsRequest& WithSortOrder(OrderKey&& value) { SetSortOrder(std::move(value)); return *this;}
101 
102 
108  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
109 
115  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
116 
122  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
123 
129  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
130 
136  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
137 
143  inline ListEndpointsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
144 
150  inline ListEndpointsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
151 
157  inline ListEndpointsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
158 
159 
164  inline int GetMaxResults() const{ return m_maxResults; }
165 
170  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
171 
176  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
177 
182  inline ListEndpointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
183 
184 
189  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
190 
195  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
196 
201  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
202 
207  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
208 
213  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
214 
219  inline ListEndpointsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
220 
225  inline ListEndpointsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
226 
231  inline ListEndpointsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
232 
233 
238  inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
239 
244  inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
245 
250  inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
251 
256  inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
257 
262  inline ListEndpointsRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
263 
268  inline ListEndpointsRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
269 
270 
275  inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
276 
281  inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
282 
287  inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
288 
293  inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
294 
299  inline ListEndpointsRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
300 
305  inline ListEndpointsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
306 
307 
312  inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
313 
318  inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
319 
324  inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
325 
330  inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
331 
336  inline ListEndpointsRequest& WithLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { SetLastModifiedTimeBefore(value); return *this;}
337 
342  inline ListEndpointsRequest& WithLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { SetLastModifiedTimeBefore(std::move(value)); return *this;}
343 
344 
349  inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
350 
355  inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
356 
361  inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
362 
367  inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
368 
373  inline ListEndpointsRequest& WithLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { SetLastModifiedTimeAfter(value); return *this;}
374 
379  inline ListEndpointsRequest& WithLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { SetLastModifiedTimeAfter(std::move(value)); return *this;}
380 
381 
385  inline const EndpointStatus& GetStatusEquals() const{ return m_statusEquals; }
386 
390  inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
391 
395  inline void SetStatusEquals(const EndpointStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
396 
400  inline void SetStatusEquals(EndpointStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
401 
405  inline ListEndpointsRequest& WithStatusEquals(const EndpointStatus& value) { SetStatusEquals(value); return *this;}
406 
410  inline ListEndpointsRequest& WithStatusEquals(EndpointStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
411 
412  private:
413 
414  EndpointSortKey m_sortBy;
415  bool m_sortByHasBeenSet;
416 
417  OrderKey m_sortOrder;
418  bool m_sortOrderHasBeenSet;
419 
420  Aws::String m_nextToken;
421  bool m_nextTokenHasBeenSet;
422 
423  int m_maxResults;
424  bool m_maxResultsHasBeenSet;
425 
426  Aws::String m_nameContains;
427  bool m_nameContainsHasBeenSet;
428 
429  Aws::Utils::DateTime m_creationTimeBefore;
430  bool m_creationTimeBeforeHasBeenSet;
431 
432  Aws::Utils::DateTime m_creationTimeAfter;
433  bool m_creationTimeAfterHasBeenSet;
434 
435  Aws::Utils::DateTime m_lastModifiedTimeBefore;
436  bool m_lastModifiedTimeBeforeHasBeenSet;
437 
438  Aws::Utils::DateTime m_lastModifiedTimeAfter;
439  bool m_lastModifiedTimeAfterHasBeenSet;
440 
441  EndpointStatus m_statusEquals;
442  bool m_statusEqualsHasBeenSet;
443  };
444 
445 } // namespace Model
446 } // namespace SageMaker
447 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::ListEndpointsRequest::SetNameContains
void SetNameContains(Aws::String &&value)
Definition: ListEndpointsRequest.h:207
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListEndpointsRequest::SetCreationTimeBefore
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListEndpointsRequest.h:256
Aws::SageMaker::Model::ListEndpointsRequest::WithStatusEquals
ListEndpointsRequest & WithStatusEquals(const EndpointStatus &value)
Definition: ListEndpointsRequest.h:405
Aws::SageMaker::Model::ListEndpointsRequest::SetStatusEquals
void SetStatusEquals(const EndpointStatus &value)
Definition: ListEndpointsRequest.h:395
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListEndpointsRequest::SetStatusEquals
void SetStatusEquals(EndpointStatus &&value)
Definition: ListEndpointsRequest.h:400
Aws::SageMaker::Model::ListEndpointsRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListEndpointsRequest.h:49
Aws::SageMaker::Model::OrderKey
OrderKey
Definition: OrderKey.h:17
OrderKey.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::ListEndpointsRequest::WithCreationTimeBefore
ListEndpointsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListEndpointsRequest.h:268
Aws::SageMaker::Model::ListEndpointsRequest::WithCreationTimeBefore
ListEndpointsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListEndpointsRequest.h:262
Aws::SageMaker::Model::ListEndpointsRequest::CreationTimeAfterHasBeenSet
bool CreationTimeAfterHasBeenSet() const
Definition: ListEndpointsRequest.h:281
Aws::SageMaker::Model::ListEndpointsRequest
Definition: ListEndpointsRequest.h:26
Aws::SageMaker::Model::ListEndpointsRequest::SetSortBy
void SetSortBy(EndpointSortKey &&value)
Definition: ListEndpointsRequest.h:59
Aws::SageMaker::Model::ListEndpointsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::ListEndpointsRequest::WithLastModifiedTimeBefore
ListEndpointsRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListEndpointsRequest.h:336
Aws::SageMaker::Model::ListEndpointsRequest::GetNameContains
const Aws::String & GetNameContains() const
Definition: ListEndpointsRequest.h:189
Aws::SageMaker::Model::ListEndpointsRequest::NameContainsHasBeenSet
bool NameContainsHasBeenSet() const
Definition: ListEndpointsRequest.h:195
Aws::SageMaker::Model::ListEndpointsRequest::GetCreationTimeBefore
const Aws::Utils::DateTime & GetCreationTimeBefore() const
Definition: ListEndpointsRequest.h:238
Aws::SageMaker::Model::ListEndpointsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListEndpointsRequest.h:176
DateTime.h
Aws::SageMaker::Model::ListEndpointsRequest::SetLastModifiedTimeBefore
void SetLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListEndpointsRequest.h:330
Aws::SageMaker::Model::ListEndpointsRequest::WithLastModifiedTimeAfter
ListEndpointsRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListEndpointsRequest.h:373
EndpointStatus.h
Aws::SageMaker::Model::ListEndpointsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListEndpointsRequest.h:108
Aws::SageMaker::Model::ListEndpointsRequest::GetStatusEquals
const EndpointStatus & GetStatusEquals() const
Definition: ListEndpointsRequest.h:385
Aws::SageMaker::Model::EndpointSortKey
EndpointSortKey
Definition: EndpointSortKey.h:17
Aws::SageMaker::Model::ListEndpointsRequest::SetSortOrder
void SetSortOrder(const OrderKey &value)
Definition: ListEndpointsRequest.h:85
Aws::SageMaker::Model::ListEndpointsRequest::GetSortOrder
const OrderKey & GetSortOrder() const
Definition: ListEndpointsRequest.h:75
Aws::SageMaker::Model::ListEndpointsRequest::WithNameContains
ListEndpointsRequest & WithNameContains(const Aws::String &value)
Definition: ListEndpointsRequest.h:219
Aws::SageMaker::Model::ListEndpointsRequest::WithSortBy
ListEndpointsRequest & WithSortBy(EndpointSortKey &&value)
Definition: ListEndpointsRequest.h:69
Aws::SageMaker::Model::ListEndpointsRequest::SetCreationTimeBefore
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListEndpointsRequest.h:250
Aws::SageMaker::Model::ListEndpointsRequest::WithNameContains
ListEndpointsRequest & WithNameContains(const char *value)
Definition: ListEndpointsRequest.h:231
Aws::SageMaker::Model::ListEndpointsRequest::WithStatusEquals
ListEndpointsRequest & WithStatusEquals(EndpointStatus &&value)
Definition: ListEndpointsRequest.h:410
Aws::SageMaker::Model::ListEndpointsRequest::WithSortOrder
ListEndpointsRequest & WithSortOrder(const OrderKey &value)
Definition: ListEndpointsRequest.h:95
Aws::SageMaker::Model::ListEndpointsRequest::WithSortOrder
ListEndpointsRequest & WithSortOrder(OrderKey &&value)
Definition: ListEndpointsRequest.h:100
Aws::SageMaker::Model::ListEndpointsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListEndpointsRequest.h:136
Aws::SageMaker::Model::ListEndpointsRequest::SetLastModifiedTimeAfter
void SetLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListEndpointsRequest.h:367
Aws::SageMaker::Model::ListEndpointsRequest::SetCreationTimeAfter
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListEndpointsRequest.h:293
Aws::SageMaker::Model::ListEndpointsRequest::WithLastModifiedTimeAfter
ListEndpointsRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListEndpointsRequest.h:379
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::ListEndpointsRequest::StatusEqualsHasBeenSet
bool StatusEqualsHasBeenSet() const
Definition: ListEndpointsRequest.h:390
Aws::SageMaker::Model::ListEndpointsRequest::WithNextToken
ListEndpointsRequest & WithNextToken(const char *value)
Definition: ListEndpointsRequest.h:157
Aws::SageMaker::Model::ListEndpointsRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListEndpointsRequest.h:80
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListEndpointsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListEndpointsRequest.h:122
Aws::SageMaker::Model::ListEndpointsRequest::SetNameContains
void SetNameContains(const char *value)
Definition: ListEndpointsRequest.h:213
Aws::SageMaker::Model::ListEndpointsRequest::WithSortBy
ListEndpointsRequest & WithSortBy(const EndpointSortKey &value)
Definition: ListEndpointsRequest.h:64
Aws::SageMaker::Model::ListEndpointsRequest::SetCreationTimeAfter
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListEndpointsRequest.h:287
Aws::SageMaker::Model::ListEndpointsRequest::ListEndpointsRequest
ListEndpointsRequest()
Aws::SageMaker::Model::ListEndpointsRequest::WithNameContains
ListEndpointsRequest & WithNameContains(Aws::String &&value)
Definition: ListEndpointsRequest.h:225
Aws::SageMaker::Model::ListEndpointsRequest::CreationTimeBeforeHasBeenSet
bool CreationTimeBeforeHasBeenSet() const
Definition: ListEndpointsRequest.h:244
AWSString.h
Aws::SageMaker::Model::ListEndpointsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListEndpointsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListEndpointsRequest.h:34
Aws::SageMaker::Model::ListEndpointsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListEndpointsRequest.h:129
Aws::SageMaker::Model::ListEndpointsRequest::SetLastModifiedTimeAfter
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListEndpointsRequest.h:361
Aws::SageMaker::Model::ListEndpointsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListEndpointsRequest.h:164
Aws::SageMaker::Model::ListEndpointsRequest::GetLastModifiedTimeAfter
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
Definition: ListEndpointsRequest.h:349
Aws::SageMaker::Model::ListEndpointsRequest::SetSortOrder
void SetSortOrder(OrderKey &&value)
Definition: ListEndpointsRequest.h:90
Aws::SageMaker::Model::ListEndpointsRequest::WithNextToken
ListEndpointsRequest & WithNextToken(const Aws::String &value)
Definition: ListEndpointsRequest.h:143
Aws::SageMaker::Model::ListEndpointsRequest::GetSortBy
const EndpointSortKey & GetSortBy() const
Definition: ListEndpointsRequest.h:44
Aws::SageMaker::Model::ListEndpointsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListEndpointsRequest.h:115
Aws::SageMaker::Model::ListEndpointsRequest::GetLastModifiedTimeBefore
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
Definition: ListEndpointsRequest.h:312
Aws::SageMaker::Model::ListEndpointsRequest::LastModifiedTimeAfterHasBeenSet
bool LastModifiedTimeAfterHasBeenSet() const
Definition: ListEndpointsRequest.h:355
Aws::SageMaker::Model::ListEndpointsRequest::WithCreationTimeAfter
ListEndpointsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListEndpointsRequest.h:299
Aws::SageMaker::Model::ListEndpointsRequest::WithCreationTimeAfter
ListEndpointsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListEndpointsRequest.h:305
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::ListEndpointsRequest::LastModifiedTimeBeforeHasBeenSet
bool LastModifiedTimeBeforeHasBeenSet() const
Definition: ListEndpointsRequest.h:318
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListEndpointsRequest::WithNextToken
ListEndpointsRequest & WithNextToken(Aws::String &&value)
Definition: ListEndpointsRequest.h:150
Aws::SageMaker::Model::ListEndpointsRequest::GetCreationTimeAfter
const Aws::Utils::DateTime & GetCreationTimeAfter() const
Definition: ListEndpointsRequest.h:275
Aws::SageMaker::Model::EndpointStatus
EndpointStatus
Definition: EndpointStatus.h:17
EndpointSortKey.h
Aws::SageMaker::Model::ListEndpointsRequest::SetLastModifiedTimeBefore
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListEndpointsRequest.h:324
Aws::SageMaker::Model::ListEndpointsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListEndpointsRequest.h:170
Aws::SageMaker::Model::ListEndpointsRequest::SetSortBy
void SetSortBy(const EndpointSortKey &value)
Definition: ListEndpointsRequest.h:54
Aws::SageMaker::Model::ListEndpointsRequest::WithMaxResults
ListEndpointsRequest & WithMaxResults(int value)
Definition: ListEndpointsRequest.h:182
Aws::SageMaker::Model::ListEndpointsRequest::WithLastModifiedTimeBefore
ListEndpointsRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListEndpointsRequest.h:342
Aws::SageMaker::Model::ListEndpointsRequest::SetNameContains
void SetNameContains(const Aws::String &value)
Definition: ListEndpointsRequest.h:201