AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListEndpointsRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/model/EndpointSortKey.h>
10#include <aws/sagemaker/model/OrderKey.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/sagemaker/model/EndpointStatus.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SageMaker
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SAGEMAKER_API ListEndpointsRequest();
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_SAGEMAKER_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const EndpointSortKey& GetSortBy() const{ return m_sortBy; }
46 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
47 inline void SetSortBy(const EndpointSortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
48 inline void SetSortBy(EndpointSortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
49 inline ListEndpointsRequest& WithSortBy(const EndpointSortKey& value) { SetSortBy(value); return *this;}
50 inline ListEndpointsRequest& WithSortBy(EndpointSortKey&& value) { SetSortBy(std::move(value)); return *this;}
52
54
57 inline const OrderKey& GetSortOrder() const{ return m_sortOrder; }
58 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
59 inline void SetSortOrder(const OrderKey& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
60 inline void SetSortOrder(OrderKey&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
61 inline ListEndpointsRequest& WithSortOrder(const OrderKey& value) { SetSortOrder(value); return *this;}
62 inline ListEndpointsRequest& WithSortOrder(OrderKey&& value) { SetSortOrder(std::move(value)); return *this;}
64
66
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 inline ListEndpointsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline ListEndpointsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline ListEndpointsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
86 inline int GetMaxResults() const{ return m_maxResults; }
87 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
88 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
89 inline ListEndpointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
91
93
97 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
98 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
99 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
100 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
101 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
102 inline ListEndpointsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
103 inline ListEndpointsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
104 inline ListEndpointsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
106
108
112 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
113 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
114 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
115 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
119
121
125 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
126 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
127 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
128 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
130 inline ListEndpointsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
132
134
138 inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
139 inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
140 inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
141 inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
145
147
151 inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
152 inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
153 inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
154 inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
158
160
163 inline const EndpointStatus& GetStatusEquals() const{ return m_statusEquals; }
164 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
165 inline void SetStatusEquals(const EndpointStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
166 inline void SetStatusEquals(EndpointStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
167 inline ListEndpointsRequest& WithStatusEquals(const EndpointStatus& value) { SetStatusEquals(value); return *this;}
168 inline ListEndpointsRequest& WithStatusEquals(EndpointStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
170 private:
171
172 EndpointSortKey m_sortBy;
173 bool m_sortByHasBeenSet = false;
174
175 OrderKey m_sortOrder;
176 bool m_sortOrderHasBeenSet = false;
177
178 Aws::String m_nextToken;
179 bool m_nextTokenHasBeenSet = false;
180
181 int m_maxResults;
182 bool m_maxResultsHasBeenSet = false;
183
184 Aws::String m_nameContains;
185 bool m_nameContainsHasBeenSet = false;
186
187 Aws::Utils::DateTime m_creationTimeBefore;
188 bool m_creationTimeBeforeHasBeenSet = false;
189
190 Aws::Utils::DateTime m_creationTimeAfter;
191 bool m_creationTimeAfterHasBeenSet = false;
192
193 Aws::Utils::DateTime m_lastModifiedTimeBefore;
194 bool m_lastModifiedTimeBeforeHasBeenSet = false;
195
196 Aws::Utils::DateTime m_lastModifiedTimeAfter;
197 bool m_lastModifiedTimeAfterHasBeenSet = false;
198
199 EndpointStatus m_statusEquals;
200 bool m_statusEqualsHasBeenSet = false;
201 };
202
203} // namespace Model
204} // namespace SageMaker
205} // namespace Aws
ListEndpointsRequest & WithStatusEquals(const EndpointStatus &value)
virtual const char * GetServiceRequestName() const override
void SetSortBy(const EndpointSortKey &value)
ListEndpointsRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListEndpointsRequest & WithNextToken(const char *value)
ListEndpointsRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
void SetLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListEndpointsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListEndpointsRequest & WithSortBy(const EndpointSortKey &value)
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
ListEndpointsRequest & WithNameContains(const Aws::String &value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
ListEndpointsRequest & WithNextToken(Aws::String &&value)
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
ListEndpointsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListEndpointsRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListEndpointsRequest & WithNextToken(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
ListEndpointsRequest & WithSortOrder(OrderKey &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListEndpointsRequest & WithNameContains(const char *value)
ListEndpointsRequest & WithStatusEquals(EndpointStatus &&value)
ListEndpointsRequest & WithMaxResults(int value)
ListEndpointsRequest & WithNameContains(Aws::String &&value)
void SetStatusEquals(const EndpointStatus &value)
void SetLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListEndpointsRequest & WithSortOrder(const OrderKey &value)
ListEndpointsRequest & WithSortBy(EndpointSortKey &&value)
void SetNameContains(const Aws::String &value)
ListEndpointsRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListEndpointsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
ListEndpointsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String