AWS SDK for C++  1.8.95
AWS SDK for C++
ListNotebookInstanceLifecycleConfigsRequest.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 "ListNotebookInstanceLifecycleConfigs"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
39 
45  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
46 
52  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
53 
59  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
60 
66  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
67 
73  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
74 
80  inline ListNotebookInstanceLifecycleConfigsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
81 
87  inline ListNotebookInstanceLifecycleConfigsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
88 
94  inline ListNotebookInstanceLifecycleConfigsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
95 
96 
100  inline int GetMaxResults() const{ return m_maxResults; }
101 
105  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
106 
110  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
111 
115  inline ListNotebookInstanceLifecycleConfigsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
116 
117 
121  inline const NotebookInstanceLifecycleConfigSortKey& GetSortBy() const{ return m_sortBy; }
122 
126  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
127 
131  inline void SetSortBy(const NotebookInstanceLifecycleConfigSortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
132 
136  inline void SetSortBy(NotebookInstanceLifecycleConfigSortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
137 
142 
146  inline ListNotebookInstanceLifecycleConfigsRequest& WithSortBy(NotebookInstanceLifecycleConfigSortKey&& value) { SetSortBy(std::move(value)); return *this;}
147 
148 
152  inline const NotebookInstanceLifecycleConfigSortOrder& GetSortOrder() const{ return m_sortOrder; }
153 
157  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
158 
162  inline void SetSortOrder(const NotebookInstanceLifecycleConfigSortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
163 
167  inline void SetSortOrder(NotebookInstanceLifecycleConfigSortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
168 
173 
177  inline ListNotebookInstanceLifecycleConfigsRequest& WithSortOrder(NotebookInstanceLifecycleConfigSortOrder&& value) { SetSortOrder(std::move(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 ListNotebookInstanceLifecycleConfigsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
215 
220  inline ListNotebookInstanceLifecycleConfigsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
221 
226  inline ListNotebookInstanceLifecycleConfigsRequest& 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 ListNotebookInstanceLifecycleConfigsRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
258 
263  inline ListNotebookInstanceLifecycleConfigsRequest& 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 ListNotebookInstanceLifecycleConfigsRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
295 
300  inline ListNotebookInstanceLifecycleConfigsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
301 
302 
307  inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
308 
313  inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
314 
319  inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
320 
325  inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
326 
331  inline ListNotebookInstanceLifecycleConfigsRequest& WithLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { SetLastModifiedTimeBefore(value); return *this;}
332 
337  inline ListNotebookInstanceLifecycleConfigsRequest& WithLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { SetLastModifiedTimeBefore(std::move(value)); return *this;}
338 
339 
344  inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
345 
350  inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
351 
356  inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
357 
362  inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
363 
368  inline ListNotebookInstanceLifecycleConfigsRequest& WithLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { SetLastModifiedTimeAfter(value); return *this;}
369 
374  inline ListNotebookInstanceLifecycleConfigsRequest& WithLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { SetLastModifiedTimeAfter(std::move(value)); return *this;}
375 
376  private:
377 
378  Aws::String m_nextToken;
379  bool m_nextTokenHasBeenSet;
380 
381  int m_maxResults;
382  bool m_maxResultsHasBeenSet;
383 
385  bool m_sortByHasBeenSet;
386 
388  bool m_sortOrderHasBeenSet;
389 
390  Aws::String m_nameContains;
391  bool m_nameContainsHasBeenSet;
392 
393  Aws::Utils::DateTime m_creationTimeBefore;
394  bool m_creationTimeBeforeHasBeenSet;
395 
396  Aws::Utils::DateTime m_creationTimeAfter;
397  bool m_creationTimeAfterHasBeenSet;
398 
399  Aws::Utils::DateTime m_lastModifiedTimeBefore;
400  bool m_lastModifiedTimeBeforeHasBeenSet;
401 
402  Aws::Utils::DateTime m_lastModifiedTimeAfter;
403  bool m_lastModifiedTimeAfterHasBeenSet;
404  };
405 
406 } // namespace Model
407 } // namespace SageMaker
408 } // namespace Aws
ListNotebookInstanceLifecycleConfigsRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListNotebookInstanceLifecycleConfigsRequest & WithNameContains(Aws::String &&value)
#define AWS_SAGEMAKER_API
ListNotebookInstanceLifecycleConfigsRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
ListNotebookInstanceLifecycleConfigsRequest & WithNextToken(const char *value)
ListNotebookInstanceLifecycleConfigsRequest & WithSortOrder(NotebookInstanceLifecycleConfigSortOrder &&value)
ListNotebookInstanceLifecycleConfigsRequest & WithNextToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ListNotebookInstanceLifecycleConfigsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListNotebookInstanceLifecycleConfigsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
ListNotebookInstanceLifecycleConfigsRequest & WithSortOrder(const NotebookInstanceLifecycleConfigSortOrder &value)
ListNotebookInstanceLifecycleConfigsRequest & WithNameContains(const char *value)
ListNotebookInstanceLifecycleConfigsRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListNotebookInstanceLifecycleConfigsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListNotebookInstanceLifecycleConfigsRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListNotebookInstanceLifecycleConfigsRequest & WithSortBy(NotebookInstanceLifecycleConfigSortKey &&value)
ListNotebookInstanceLifecycleConfigsRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListNotebookInstanceLifecycleConfigsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
ListNotebookInstanceLifecycleConfigsRequest & WithSortBy(const NotebookInstanceLifecycleConfigSortKey &value)
ListNotebookInstanceLifecycleConfigsRequest & WithNameContains(const Aws::String &value)