AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 EndpointSortKey GetSortBy() const { return m_sortBy; }
46 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
47 inline void SetSortBy(EndpointSortKey value) { m_sortByHasBeenSet = true; m_sortBy = value; }
48 inline ListEndpointsRequest& WithSortBy(EndpointSortKey value) { SetSortBy(value); return *this;}
50
52
55 inline OrderKey GetSortOrder() const { return m_sortOrder; }
56 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
57 inline void SetSortOrder(OrderKey value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
58 inline ListEndpointsRequest& WithSortOrder(OrderKey value) { SetSortOrder(value); return *this;}
60
62
67 inline const Aws::String& GetNextToken() const { return m_nextToken; }
68 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
69 template<typename NextTokenT = Aws::String>
70 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
71 template<typename NextTokenT = Aws::String>
72 ListEndpointsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
74
76
80 inline int GetMaxResults() const { return m_maxResults; }
81 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
82 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
83 inline ListEndpointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
85
87
91 inline const Aws::String& GetNameContains() const { return m_nameContains; }
92 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
93 template<typename NameContainsT = Aws::String>
94 void SetNameContains(NameContainsT&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::forward<NameContainsT>(value); }
95 template<typename NameContainsT = Aws::String>
96 ListEndpointsRequest& WithNameContains(NameContainsT&& value) { SetNameContains(std::forward<NameContainsT>(value)); return *this;}
98
100
104 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const { return m_creationTimeBefore; }
105 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
106 template<typename CreationTimeBeforeT = Aws::Utils::DateTime>
107 void SetCreationTimeBefore(CreationTimeBeforeT&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::forward<CreationTimeBeforeT>(value); }
108 template<typename CreationTimeBeforeT = Aws::Utils::DateTime>
109 ListEndpointsRequest& WithCreationTimeBefore(CreationTimeBeforeT&& value) { SetCreationTimeBefore(std::forward<CreationTimeBeforeT>(value)); return *this;}
111
113
117 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const { return m_creationTimeAfter; }
118 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
119 template<typename CreationTimeAfterT = Aws::Utils::DateTime>
120 void SetCreationTimeAfter(CreationTimeAfterT&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::forward<CreationTimeAfterT>(value); }
121 template<typename CreationTimeAfterT = Aws::Utils::DateTime>
122 ListEndpointsRequest& WithCreationTimeAfter(CreationTimeAfterT&& value) { SetCreationTimeAfter(std::forward<CreationTimeAfterT>(value)); return *this;}
124
126
130 inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const { return m_lastModifiedTimeBefore; }
131 inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
132 template<typename LastModifiedTimeBeforeT = Aws::Utils::DateTime>
133 void SetLastModifiedTimeBefore(LastModifiedTimeBeforeT&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::forward<LastModifiedTimeBeforeT>(value); }
134 template<typename LastModifiedTimeBeforeT = Aws::Utils::DateTime>
135 ListEndpointsRequest& WithLastModifiedTimeBefore(LastModifiedTimeBeforeT&& value) { SetLastModifiedTimeBefore(std::forward<LastModifiedTimeBeforeT>(value)); return *this;}
137
139
143 inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const { return m_lastModifiedTimeAfter; }
144 inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
145 template<typename LastModifiedTimeAfterT = Aws::Utils::DateTime>
146 void SetLastModifiedTimeAfter(LastModifiedTimeAfterT&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::forward<LastModifiedTimeAfterT>(value); }
147 template<typename LastModifiedTimeAfterT = Aws::Utils::DateTime>
148 ListEndpointsRequest& WithLastModifiedTimeAfter(LastModifiedTimeAfterT&& value) { SetLastModifiedTimeAfter(std::forward<LastModifiedTimeAfterT>(value)); return *this;}
150
152
155 inline EndpointStatus GetStatusEquals() const { return m_statusEquals; }
156 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
157 inline void SetStatusEquals(EndpointStatus value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
160 private:
161
163 bool m_sortByHasBeenSet = false;
164
165 OrderKey m_sortOrder{OrderKey::NOT_SET};
166 bool m_sortOrderHasBeenSet = false;
167
168 Aws::String m_nextToken;
169 bool m_nextTokenHasBeenSet = false;
170
171 int m_maxResults{0};
172 bool m_maxResultsHasBeenSet = false;
173
174 Aws::String m_nameContains;
175 bool m_nameContainsHasBeenSet = false;
176
177 Aws::Utils::DateTime m_creationTimeBefore{};
178 bool m_creationTimeBeforeHasBeenSet = false;
179
180 Aws::Utils::DateTime m_creationTimeAfter{};
181 bool m_creationTimeAfterHasBeenSet = false;
182
183 Aws::Utils::DateTime m_lastModifiedTimeBefore{};
184 bool m_lastModifiedTimeBeforeHasBeenSet = false;
185
186 Aws::Utils::DateTime m_lastModifiedTimeAfter{};
187 bool m_lastModifiedTimeAfterHasBeenSet = false;
188
190 bool m_statusEqualsHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace SageMaker
195} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetLastModifiedTimeAfter(LastModifiedTimeAfterT &&value)
void SetCreationTimeBefore(CreationTimeBeforeT &&value)
ListEndpointsRequest & WithStatusEquals(EndpointStatus value)
AWS_SAGEMAKER_API ListEndpointsRequest()=default
ListEndpointsRequest & WithNameContains(NameContainsT &&value)
ListEndpointsRequest & WithSortBy(EndpointSortKey value)
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
ListEndpointsRequest & WithCreationTimeAfter(CreationTimeAfterT &&value)
void SetLastModifiedTimeBefore(LastModifiedTimeBeforeT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListEndpointsRequest & WithSortOrder(OrderKey value)
ListEndpointsRequest & WithCreationTimeBefore(CreationTimeBeforeT &&value)
ListEndpointsRequest & WithNextToken(NextTokenT &&value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListEndpointsRequest & WithLastModifiedTimeAfter(LastModifiedTimeAfterT &&value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListEndpointsRequest & WithLastModifiedTimeBefore(LastModifiedTimeBeforeT &&value)
ListEndpointsRequest & WithMaxResults(int value)
void SetCreationTimeAfter(CreationTimeAfterT &&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