AWS SDK for C++  1.9.40
AWS SDK for C++
ListEndpointConfigsRequest.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 "ListEndpointConfigs"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const EndpointConfigSortKey& GetSortBy() const{ return m_sortBy; }
44 
48  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
49 
53  inline void SetSortBy(const EndpointConfigSortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
54 
58  inline void SetSortBy(EndpointConfigSortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
59 
63  inline ListEndpointConfigsRequest& WithSortBy(const EndpointConfigSortKey& value) { SetSortBy(value); return *this;}
64 
68  inline ListEndpointConfigsRequest& WithSortBy(EndpointConfigSortKey&& value) { SetSortBy(std::move(value)); return *this;}
69 
70 
74  inline const OrderKey& GetSortOrder() const{ return m_sortOrder; }
75 
79  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
80 
84  inline void SetSortOrder(const OrderKey& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
85 
89  inline void SetSortOrder(OrderKey&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
90 
94  inline ListEndpointConfigsRequest& WithSortOrder(const OrderKey& value) { SetSortOrder(value); return *this;}
95 
99  inline ListEndpointConfigsRequest& WithSortOrder(OrderKey&& value) { SetSortOrder(std::move(value)); return *this;}
100 
101 
107  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
108 
114  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
115 
121  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
122 
128  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
129 
135  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
136 
142  inline ListEndpointConfigsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
143 
149  inline ListEndpointConfigsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
150 
156  inline ListEndpointConfigsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
157 
158 
162  inline int GetMaxResults() const{ return m_maxResults; }
163 
167  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
168 
172  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
173 
177  inline ListEndpointConfigsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
178 
179 
184  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
185 
190  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
191 
196  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
197 
202  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
203 
208  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
209 
214  inline ListEndpointConfigsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
215 
220  inline ListEndpointConfigsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
221 
226  inline ListEndpointConfigsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
227 
228 
233  inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
234 
239  inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
240 
245  inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
246 
251  inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
252 
257  inline ListEndpointConfigsRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
258 
263  inline ListEndpointConfigsRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
264 
265 
270  inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
271 
276  inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
277 
282  inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
283 
288  inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
289 
294  inline ListEndpointConfigsRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
295 
300  inline ListEndpointConfigsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
301 
302  private:
303 
304  EndpointConfigSortKey m_sortBy;
305  bool m_sortByHasBeenSet;
306 
307  OrderKey m_sortOrder;
308  bool m_sortOrderHasBeenSet;
309 
310  Aws::String m_nextToken;
311  bool m_nextTokenHasBeenSet;
312 
313  int m_maxResults;
314  bool m_maxResultsHasBeenSet;
315 
316  Aws::String m_nameContains;
317  bool m_nameContainsHasBeenSet;
318 
319  Aws::Utils::DateTime m_creationTimeBefore;
320  bool m_creationTimeBeforeHasBeenSet;
321 
322  Aws::Utils::DateTime m_creationTimeAfter;
323  bool m_creationTimeAfterHasBeenSet;
324  };
325 
326 } // namespace Model
327 } // namespace SageMaker
328 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
EndpointConfigSortKey.h
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithSortOrder
ListEndpointConfigsRequest & WithSortOrder(OrderKey &&value)
Definition: ListEndpointConfigsRequest.h:99
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithNextToken
ListEndpointConfigsRequest & WithNextToken(const Aws::String &value)
Definition: ListEndpointConfigsRequest.h:142
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListEndpointConfigsRequest::CreationTimeBeforeHasBeenSet
bool CreationTimeBeforeHasBeenSet() const
Definition: ListEndpointConfigsRequest.h:239
Aws::SageMaker::Model::ListEndpointConfigsRequest::CreationTimeAfterHasBeenSet
bool CreationTimeAfterHasBeenSet() const
Definition: ListEndpointConfigsRequest.h:276
Aws::SageMaker::Model::OrderKey
OrderKey
Definition: OrderKey.h:17
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetSortBy
void SetSortBy(const EndpointConfigSortKey &value)
Definition: ListEndpointConfigsRequest.h:53
Aws::SageMaker::Model::ListEndpointConfigsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListEndpointConfigsRequest.h:162
OrderKey.h
Aws::SageMaker::Model::ListEndpointConfigsRequest::GetCreationTimeBefore
const Aws::Utils::DateTime & GetCreationTimeBefore() const
Definition: ListEndpointConfigsRequest.h:233
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetCreationTimeAfter
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListEndpointConfigsRequest.h:288
DateTime.h
Aws::SageMaker::Model::ListEndpointConfigsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListEndpointConfigsRequest::NameContainsHasBeenSet
bool NameContainsHasBeenSet() const
Definition: ListEndpointConfigsRequest.h:190
Aws::SageMaker::Model::ListEndpointConfigsRequest
Definition: ListEndpointConfigsRequest.h:25
Aws::SageMaker::Model::ListEndpointConfigsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListEndpointConfigsRequest.h:114
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetSortBy
void SetSortBy(EndpointConfigSortKey &&value)
Definition: ListEndpointConfigsRequest.h:58
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithMaxResults
ListEndpointConfigsRequest & WithMaxResults(int value)
Definition: ListEndpointConfigsRequest.h:177
Aws::SageMaker::Model::ListEndpointConfigsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithNextToken
ListEndpointConfigsRequest & WithNextToken(Aws::String &&value)
Definition: ListEndpointConfigsRequest.h:149
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithCreationTimeAfter
ListEndpointConfigsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListEndpointConfigsRequest.h:294
Aws::SageMaker::Model::ListEndpointConfigsRequest::GetSortBy
const EndpointConfigSortKey & GetSortBy() const
Definition: ListEndpointConfigsRequest.h:43
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetNameContains
void SetNameContains(const Aws::String &value)
Definition: ListEndpointConfigsRequest.h:196
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetSortOrder
void SetSortOrder(const OrderKey &value)
Definition: ListEndpointConfigsRequest.h:84
Aws::SageMaker::Model::ListEndpointConfigsRequest::GetCreationTimeAfter
const Aws::Utils::DateTime & GetCreationTimeAfter() const
Definition: ListEndpointConfigsRequest.h:270
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetNameContains
void SetNameContains(Aws::String &&value)
Definition: ListEndpointConfigsRequest.h:202
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListEndpointConfigsRequest::GetNameContains
const Aws::String & GetNameContains() const
Definition: ListEndpointConfigsRequest.h:184
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetCreationTimeBefore
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListEndpointConfigsRequest.h:251
Aws::SageMaker::Model::EndpointConfigSortKey
EndpointConfigSortKey
Definition: EndpointConfigSortKey.h:17
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListEndpointConfigsRequest.h:128
Aws::SageMaker::Model::ListEndpointConfigsRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListEndpointConfigsRequest.h:79
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetNameContains
void SetNameContains(const char *value)
Definition: ListEndpointConfigsRequest.h:208
Aws::SageMaker::Model::ListEndpointConfigsRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListEndpointConfigsRequest.h:48
AWSString.h
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithNameContains
ListEndpointConfigsRequest & WithNameContains(const Aws::String &value)
Definition: ListEndpointConfigsRequest.h:214
Aws::SageMaker::Model::ListEndpointConfigsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListEndpointConfigsRequest.h:33
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithCreationTimeAfter
ListEndpointConfigsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListEndpointConfigsRequest.h:300
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetCreationTimeAfter
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListEndpointConfigsRequest.h:282
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithCreationTimeBefore
ListEndpointConfigsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListEndpointConfigsRequest.h:263
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListEndpointConfigsRequest.h:172
Aws::SageMaker::Model::ListEndpointConfigsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListEndpointConfigsRequest.h:167
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithNameContains
ListEndpointConfigsRequest & WithNameContains(const char *value)
Definition: ListEndpointConfigsRequest.h:226
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetSortOrder
void SetSortOrder(OrderKey &&value)
Definition: ListEndpointConfigsRequest.h:89
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithSortBy
ListEndpointConfigsRequest & WithSortBy(EndpointConfigSortKey &&value)
Definition: ListEndpointConfigsRequest.h:68
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListEndpointConfigsRequest.h:135
Aws::SageMaker::Model::ListEndpointConfigsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListEndpointConfigsRequest.h:107
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithSortOrder
ListEndpointConfigsRequest & WithSortOrder(const OrderKey &value)
Definition: ListEndpointConfigsRequest.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithSortBy
ListEndpointConfigsRequest & WithSortBy(const EndpointConfigSortKey &value)
Definition: ListEndpointConfigsRequest.h:63
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithNextToken
ListEndpointConfigsRequest & WithNextToken(const char *value)
Definition: ListEndpointConfigsRequest.h:156
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListEndpointConfigsRequest.h:121
Aws::SageMaker::Model::ListEndpointConfigsRequest::SetCreationTimeBefore
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListEndpointConfigsRequest.h:245
Aws::SageMaker::Model::ListEndpointConfigsRequest::ListEndpointConfigsRequest
ListEndpointConfigsRequest()
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithNameContains
ListEndpointConfigsRequest & WithNameContains(Aws::String &&value)
Definition: ListEndpointConfigsRequest.h:220
Aws::SageMaker::Model::ListEndpointConfigsRequest::GetSortOrder
const OrderKey & GetSortOrder() const
Definition: ListEndpointConfigsRequest.h:74
Aws::SageMaker::Model::ListEndpointConfigsRequest::WithCreationTimeBefore
ListEndpointConfigsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListEndpointConfigsRequest.h:257