AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListNotebookInstancesRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/NotebookInstanceSortKey.h>
11#include <aws/sagemaker/model/NotebookInstanceSortOrder.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/sagemaker/model/NotebookInstanceStatus.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SageMaker
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SAGEMAKER_API ListNotebookInstancesRequest();
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 "ListNotebookInstances"; }
35
36 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
37
39
40
42
50 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
51 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
52 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
53 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
54 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
55 inline ListNotebookInstancesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
56 inline ListNotebookInstancesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
57 inline ListNotebookInstancesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
59
61
64 inline int GetMaxResults() const{ return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
67 inline ListNotebookInstancesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
69
71
74 inline const NotebookInstanceSortKey& GetSortBy() const{ return m_sortBy; }
75 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
76 inline void SetSortBy(const NotebookInstanceSortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
77 inline void SetSortBy(NotebookInstanceSortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
78 inline ListNotebookInstancesRequest& WithSortBy(const NotebookInstanceSortKey& value) { SetSortBy(value); return *this;}
79 inline ListNotebookInstancesRequest& WithSortBy(NotebookInstanceSortKey&& value) { SetSortBy(std::move(value)); return *this;}
81
83
86 inline const NotebookInstanceSortOrder& GetSortOrder() const{ return m_sortOrder; }
87 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
88 inline void SetSortOrder(const NotebookInstanceSortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
89 inline void SetSortOrder(NotebookInstanceSortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
91 inline ListNotebookInstancesRequest& WithSortOrder(NotebookInstanceSortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
93
95
99 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
100 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
101 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
102 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
103 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
104 inline ListNotebookInstancesRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
105 inline ListNotebookInstancesRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
106 inline ListNotebookInstancesRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
108
110
114 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
115 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
116 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
117 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
121
123
127 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
128 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
129 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
130 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
134
136
140 inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
141 inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
142 inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
143 inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
147
149
153 inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
154 inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
155 inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
156 inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
160
162
165 inline const NotebookInstanceStatus& GetStatusEquals() const{ return m_statusEquals; }
166 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
167 inline void SetStatusEquals(const NotebookInstanceStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
168 inline void SetStatusEquals(NotebookInstanceStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
170 inline ListNotebookInstancesRequest& WithStatusEquals(NotebookInstanceStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
172
174
180 inline const Aws::String& GetNotebookInstanceLifecycleConfigNameContains() const{ return m_notebookInstanceLifecycleConfigNameContains; }
181 inline bool NotebookInstanceLifecycleConfigNameContainsHasBeenSet() const { return m_notebookInstanceLifecycleConfigNameContainsHasBeenSet; }
182 inline void SetNotebookInstanceLifecycleConfigNameContains(const Aws::String& value) { m_notebookInstanceLifecycleConfigNameContainsHasBeenSet = true; m_notebookInstanceLifecycleConfigNameContains = value; }
183 inline void SetNotebookInstanceLifecycleConfigNameContains(Aws::String&& value) { m_notebookInstanceLifecycleConfigNameContainsHasBeenSet = true; m_notebookInstanceLifecycleConfigNameContains = std::move(value); }
184 inline void SetNotebookInstanceLifecycleConfigNameContains(const char* value) { m_notebookInstanceLifecycleConfigNameContainsHasBeenSet = true; m_notebookInstanceLifecycleConfigNameContains.assign(value); }
189
191
196 inline const Aws::String& GetDefaultCodeRepositoryContains() const{ return m_defaultCodeRepositoryContains; }
197 inline bool DefaultCodeRepositoryContainsHasBeenSet() const { return m_defaultCodeRepositoryContainsHasBeenSet; }
198 inline void SetDefaultCodeRepositoryContains(const Aws::String& value) { m_defaultCodeRepositoryContainsHasBeenSet = true; m_defaultCodeRepositoryContains = value; }
199 inline void SetDefaultCodeRepositoryContains(Aws::String&& value) { m_defaultCodeRepositoryContainsHasBeenSet = true; m_defaultCodeRepositoryContains = std::move(value); }
200 inline void SetDefaultCodeRepositoryContains(const char* value) { m_defaultCodeRepositoryContainsHasBeenSet = true; m_defaultCodeRepositoryContains.assign(value); }
205
207
211 inline const Aws::String& GetAdditionalCodeRepositoryEquals() const{ return m_additionalCodeRepositoryEquals; }
212 inline bool AdditionalCodeRepositoryEqualsHasBeenSet() const { return m_additionalCodeRepositoryEqualsHasBeenSet; }
213 inline void SetAdditionalCodeRepositoryEquals(const Aws::String& value) { m_additionalCodeRepositoryEqualsHasBeenSet = true; m_additionalCodeRepositoryEquals = value; }
214 inline void SetAdditionalCodeRepositoryEquals(Aws::String&& value) { m_additionalCodeRepositoryEqualsHasBeenSet = true; m_additionalCodeRepositoryEquals = std::move(value); }
215 inline void SetAdditionalCodeRepositoryEquals(const char* value) { m_additionalCodeRepositoryEqualsHasBeenSet = true; m_additionalCodeRepositoryEquals.assign(value); }
220 private:
221
222 Aws::String m_nextToken;
223 bool m_nextTokenHasBeenSet = false;
224
225 int m_maxResults;
226 bool m_maxResultsHasBeenSet = false;
227
229 bool m_sortByHasBeenSet = false;
230
231 NotebookInstanceSortOrder m_sortOrder;
232 bool m_sortOrderHasBeenSet = false;
233
234 Aws::String m_nameContains;
235 bool m_nameContainsHasBeenSet = false;
236
237 Aws::Utils::DateTime m_creationTimeBefore;
238 bool m_creationTimeBeforeHasBeenSet = false;
239
240 Aws::Utils::DateTime m_creationTimeAfter;
241 bool m_creationTimeAfterHasBeenSet = false;
242
243 Aws::Utils::DateTime m_lastModifiedTimeBefore;
244 bool m_lastModifiedTimeBeforeHasBeenSet = false;
245
246 Aws::Utils::DateTime m_lastModifiedTimeAfter;
247 bool m_lastModifiedTimeAfterHasBeenSet = false;
248
249 NotebookInstanceStatus m_statusEquals;
250 bool m_statusEqualsHasBeenSet = false;
251
252 Aws::String m_notebookInstanceLifecycleConfigNameContains;
253 bool m_notebookInstanceLifecycleConfigNameContainsHasBeenSet = false;
254
255 Aws::String m_defaultCodeRepositoryContains;
256 bool m_defaultCodeRepositoryContainsHasBeenSet = false;
257
258 Aws::String m_additionalCodeRepositoryEquals;
259 bool m_additionalCodeRepositoryEqualsHasBeenSet = false;
260 };
261
262} // namespace Model
263} // namespace SageMaker
264} // namespace Aws
ListNotebookInstancesRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListNotebookInstancesRequest & WithDefaultCodeRepositoryContains(const Aws::String &value)
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
ListNotebookInstancesRequest & WithNameContains(Aws::String &&value)
ListNotebookInstancesRequest & WithNotebookInstanceLifecycleConfigNameContains(const Aws::String &value)
ListNotebookInstancesRequest & WithSortBy(NotebookInstanceSortKey &&value)
ListNotebookInstancesRequest & WithDefaultCodeRepositoryContains(const char *value)
ListNotebookInstancesRequest & WithAdditionalCodeRepositoryEquals(const Aws::String &value)
ListNotebookInstancesRequest & WithNotebookInstanceLifecycleConfigNameContains(const char *value)
ListNotebookInstancesRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListNotebookInstancesRequest & WithNameContains(const char *value)
ListNotebookInstancesRequest & WithAdditionalCodeRepositoryEquals(Aws::String &&value)
ListNotebookInstancesRequest & WithDefaultCodeRepositoryContains(Aws::String &&value)
ListNotebookInstancesRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
void SetStatusEquals(const NotebookInstanceStatus &value)
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListNotebookInstancesRequest & WithSortOrder(NotebookInstanceSortOrder &&value)
ListNotebookInstancesRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
ListNotebookInstancesRequest & WithNextToken(const char *value)
ListNotebookInstancesRequest & WithNotebookInstanceLifecycleConfigNameContains(Aws::String &&value)
ListNotebookInstancesRequest & WithStatusEquals(NotebookInstanceStatus &&value)
ListNotebookInstancesRequest & WithStatusEquals(const NotebookInstanceStatus &value)
ListNotebookInstancesRequest & WithSortOrder(const NotebookInstanceSortOrder &value)
void SetSortOrder(const NotebookInstanceSortOrder &value)
ListNotebookInstancesRequest & WithAdditionalCodeRepositoryEquals(const char *value)
ListNotebookInstancesRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
ListNotebookInstancesRequest & WithNextToken(const Aws::String &value)
ListNotebookInstancesRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListNotebookInstancesRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListNotebookInstancesRequest & WithMaxResults(int value)
ListNotebookInstancesRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListNotebookInstancesRequest & WithNextToken(Aws::String &&value)
ListNotebookInstancesRequest & WithNameContains(const Aws::String &value)
ListNotebookInstancesRequest & WithSortBy(const NotebookInstanceSortKey &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String