AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListInferenceComponentsRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/model/InferenceComponentSortKey.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/InferenceComponentStatus.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SageMaker
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SAGEMAKER_API ListInferenceComponentsRequest();
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 "ListInferenceComponents"; }
35
36 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
37
39
40
42
46 inline const InferenceComponentSortKey& GetSortBy() const{ return m_sortBy; }
47 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
48 inline void SetSortBy(const InferenceComponentSortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
49 inline void SetSortBy(InferenceComponentSortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
51 inline ListInferenceComponentsRequest& WithSortBy(InferenceComponentSortKey&& value) { SetSortBy(std::move(value)); return *this;}
53
55
58 inline const OrderKey& GetSortOrder() const{ return m_sortOrder; }
59 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
60 inline void SetSortOrder(const OrderKey& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
61 inline void SetSortOrder(OrderKey&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
62 inline ListInferenceComponentsRequest& WithSortOrder(const OrderKey& value) { SetSortOrder(value); return *this;}
63 inline ListInferenceComponentsRequest& WithSortOrder(OrderKey&& value) { SetSortOrder(std::move(value)); return *this;}
65
67
72 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
75 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
76 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
77 inline ListInferenceComponentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
78 inline ListInferenceComponentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
79 inline ListInferenceComponentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
81
83
87 inline int GetMaxResults() const{ return m_maxResults; }
88 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
90 inline ListInferenceComponentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
92
94
98 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
99 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
100 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
101 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
102 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
103 inline ListInferenceComponentsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
104 inline ListInferenceComponentsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
105 inline ListInferenceComponentsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
107
109
113 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
114 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
115 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
116 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
120
122
126 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
127 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
128 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
129 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
133
135
139 inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
140 inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
141 inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
142 inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
146
148
152 inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
153 inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
154 inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
155 inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
159
161
165 inline const InferenceComponentStatus& GetStatusEquals() const{ return m_statusEquals; }
166 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
167 inline void SetStatusEquals(const InferenceComponentStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
168 inline void SetStatusEquals(InferenceComponentStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
172
174
179 inline const Aws::String& GetEndpointNameEquals() const{ return m_endpointNameEquals; }
180 inline bool EndpointNameEqualsHasBeenSet() const { return m_endpointNameEqualsHasBeenSet; }
181 inline void SetEndpointNameEquals(const Aws::String& value) { m_endpointNameEqualsHasBeenSet = true; m_endpointNameEquals = value; }
182 inline void SetEndpointNameEquals(Aws::String&& value) { m_endpointNameEqualsHasBeenSet = true; m_endpointNameEquals = std::move(value); }
183 inline void SetEndpointNameEquals(const char* value) { m_endpointNameEqualsHasBeenSet = true; m_endpointNameEquals.assign(value); }
186 inline ListInferenceComponentsRequest& WithEndpointNameEquals(const char* value) { SetEndpointNameEquals(value); return *this;}
188
190
195 inline const Aws::String& GetVariantNameEquals() const{ return m_variantNameEquals; }
196 inline bool VariantNameEqualsHasBeenSet() const { return m_variantNameEqualsHasBeenSet; }
197 inline void SetVariantNameEquals(const Aws::String& value) { m_variantNameEqualsHasBeenSet = true; m_variantNameEquals = value; }
198 inline void SetVariantNameEquals(Aws::String&& value) { m_variantNameEqualsHasBeenSet = true; m_variantNameEquals = std::move(value); }
199 inline void SetVariantNameEquals(const char* value) { m_variantNameEqualsHasBeenSet = true; m_variantNameEquals.assign(value); }
202 inline ListInferenceComponentsRequest& WithVariantNameEquals(const char* value) { SetVariantNameEquals(value); return *this;}
204 private:
205
207 bool m_sortByHasBeenSet = false;
208
209 OrderKey m_sortOrder;
210 bool m_sortOrderHasBeenSet = false;
211
212 Aws::String m_nextToken;
213 bool m_nextTokenHasBeenSet = false;
214
215 int m_maxResults;
216 bool m_maxResultsHasBeenSet = false;
217
218 Aws::String m_nameContains;
219 bool m_nameContainsHasBeenSet = false;
220
221 Aws::Utils::DateTime m_creationTimeBefore;
222 bool m_creationTimeBeforeHasBeenSet = false;
223
224 Aws::Utils::DateTime m_creationTimeAfter;
225 bool m_creationTimeAfterHasBeenSet = false;
226
227 Aws::Utils::DateTime m_lastModifiedTimeBefore;
228 bool m_lastModifiedTimeBeforeHasBeenSet = false;
229
230 Aws::Utils::DateTime m_lastModifiedTimeAfter;
231 bool m_lastModifiedTimeAfterHasBeenSet = false;
232
233 InferenceComponentStatus m_statusEquals;
234 bool m_statusEqualsHasBeenSet = false;
235
236 Aws::String m_endpointNameEquals;
237 bool m_endpointNameEqualsHasBeenSet = false;
238
239 Aws::String m_variantNameEquals;
240 bool m_variantNameEqualsHasBeenSet = false;
241 };
242
243} // namespace Model
244} // namespace SageMaker
245} // namespace Aws
ListInferenceComponentsRequest & WithSortOrder(OrderKey &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListInferenceComponentsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListInferenceComponentsRequest & WithEndpointNameEquals(const Aws::String &value)
ListInferenceComponentsRequest & WithSortBy(const InferenceComponentSortKey &value)
ListInferenceComponentsRequest & WithStatusEquals(InferenceComponentStatus &&value)
ListInferenceComponentsRequest & WithVariantNameEquals(Aws::String &&value)
ListInferenceComponentsRequest & WithStatusEquals(const InferenceComponentStatus &value)
ListInferenceComponentsRequest & WithNameContains(const char *value)
ListInferenceComponentsRequest & WithNameContains(Aws::String &&value)
ListInferenceComponentsRequest & WithEndpointNameEquals(const char *value)
ListInferenceComponentsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListInferenceComponentsRequest & WithNameContains(const Aws::String &value)
ListInferenceComponentsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
ListInferenceComponentsRequest & WithVariantNameEquals(const char *value)
ListInferenceComponentsRequest & WithEndpointNameEquals(Aws::String &&value)
ListInferenceComponentsRequest & WithSortBy(InferenceComponentSortKey &&value)
ListInferenceComponentsRequest & WithNextToken(const Aws::String &value)
ListInferenceComponentsRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListInferenceComponentsRequest & WithNextToken(Aws::String &&value)
ListInferenceComponentsRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListInferenceComponentsRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListInferenceComponentsRequest & WithNextToken(const char *value)
ListInferenceComponentsRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListInferenceComponentsRequest & WithVariantNameEquals(const Aws::String &value)
ListInferenceComponentsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
ListInferenceComponentsRequest & WithSortOrder(const OrderKey &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String