AWS SDK for C++  1.8.95
AWS SDK for C++
ListNotebookInstancesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace SageMaker
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
40 
49  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
50 
59  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
60 
69  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
70 
79  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
80 
89  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
90 
99  inline ListNotebookInstancesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
100 
109  inline ListNotebookInstancesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
110 
119  inline ListNotebookInstancesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
120 
121 
125  inline int GetMaxResults() const{ return m_maxResults; }
126 
130  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
131 
135  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
136 
140  inline ListNotebookInstancesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
141 
142 
146  inline const NotebookInstanceSortKey& GetSortBy() const{ return m_sortBy; }
147 
151  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
152 
156  inline void SetSortBy(const NotebookInstanceSortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
157 
161  inline void SetSortBy(NotebookInstanceSortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
162 
166  inline ListNotebookInstancesRequest& WithSortBy(const NotebookInstanceSortKey& value) { SetSortBy(value); return *this;}
167 
171  inline ListNotebookInstancesRequest& WithSortBy(NotebookInstanceSortKey&& value) { SetSortBy(std::move(value)); return *this;}
172 
173 
177  inline const NotebookInstanceSortOrder& GetSortOrder() const{ return m_sortOrder; }
178 
182  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
183 
187  inline void SetSortOrder(const NotebookInstanceSortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
188 
192  inline void SetSortOrder(NotebookInstanceSortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
193 
197  inline ListNotebookInstancesRequest& WithSortOrder(const NotebookInstanceSortOrder& value) { SetSortOrder(value); return *this;}
198 
202  inline ListNotebookInstancesRequest& WithSortOrder(NotebookInstanceSortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
203 
204 
209  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
210 
215  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
216 
221  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
222 
227  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
228 
233  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
234 
239  inline ListNotebookInstancesRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
240 
245  inline ListNotebookInstancesRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
246 
251  inline ListNotebookInstancesRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
252 
253 
258  inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
259 
264  inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
265 
270  inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
271 
276  inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
277 
282  inline ListNotebookInstancesRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
283 
288  inline ListNotebookInstancesRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
289 
290 
295  inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
296 
301  inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
302 
307  inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
308 
313  inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
314 
319  inline ListNotebookInstancesRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
320 
325  inline ListNotebookInstancesRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
326 
327 
332  inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
333 
338  inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
339 
344  inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
345 
350  inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
351 
356  inline ListNotebookInstancesRequest& WithLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { SetLastModifiedTimeBefore(value); return *this;}
357 
362  inline ListNotebookInstancesRequest& WithLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { SetLastModifiedTimeBefore(std::move(value)); return *this;}
363 
364 
369  inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
370 
375  inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
376 
381  inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
382 
387  inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
388 
393  inline ListNotebookInstancesRequest& WithLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { SetLastModifiedTimeAfter(value); return *this;}
394 
399  inline ListNotebookInstancesRequest& WithLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { SetLastModifiedTimeAfter(std::move(value)); return *this;}
400 
401 
405  inline const NotebookInstanceStatus& GetStatusEquals() const{ return m_statusEquals; }
406 
410  inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
411 
415  inline void SetStatusEquals(const NotebookInstanceStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
416 
420  inline void SetStatusEquals(NotebookInstanceStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
421 
425  inline ListNotebookInstancesRequest& WithStatusEquals(const NotebookInstanceStatus& value) { SetStatusEquals(value); return *this;}
426 
430  inline ListNotebookInstancesRequest& WithStatusEquals(NotebookInstanceStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
431 
432 
439  inline const Aws::String& GetNotebookInstanceLifecycleConfigNameContains() const{ return m_notebookInstanceLifecycleConfigNameContains; }
440 
447  inline bool NotebookInstanceLifecycleConfigNameContainsHasBeenSet() const { return m_notebookInstanceLifecycleConfigNameContainsHasBeenSet; }
448 
455  inline void SetNotebookInstanceLifecycleConfigNameContains(const Aws::String& value) { m_notebookInstanceLifecycleConfigNameContainsHasBeenSet = true; m_notebookInstanceLifecycleConfigNameContains = value; }
456 
463  inline void SetNotebookInstanceLifecycleConfigNameContains(Aws::String&& value) { m_notebookInstanceLifecycleConfigNameContainsHasBeenSet = true; m_notebookInstanceLifecycleConfigNameContains = std::move(value); }
464 
471  inline void SetNotebookInstanceLifecycleConfigNameContains(const char* value) { m_notebookInstanceLifecycleConfigNameContainsHasBeenSet = true; m_notebookInstanceLifecycleConfigNameContains.assign(value); }
472 
479  inline ListNotebookInstancesRequest& WithNotebookInstanceLifecycleConfigNameContains(const Aws::String& value) { SetNotebookInstanceLifecycleConfigNameContains(value); return *this;}
480 
487  inline ListNotebookInstancesRequest& WithNotebookInstanceLifecycleConfigNameContains(Aws::String&& value) { SetNotebookInstanceLifecycleConfigNameContains(std::move(value)); return *this;}
488 
495  inline ListNotebookInstancesRequest& WithNotebookInstanceLifecycleConfigNameContains(const char* value) { SetNotebookInstanceLifecycleConfigNameContains(value); return *this;}
496 
497 
503  inline const Aws::String& GetDefaultCodeRepositoryContains() const{ return m_defaultCodeRepositoryContains; }
504 
510  inline bool DefaultCodeRepositoryContainsHasBeenSet() const { return m_defaultCodeRepositoryContainsHasBeenSet; }
511 
517  inline void SetDefaultCodeRepositoryContains(const Aws::String& value) { m_defaultCodeRepositoryContainsHasBeenSet = true; m_defaultCodeRepositoryContains = value; }
518 
524  inline void SetDefaultCodeRepositoryContains(Aws::String&& value) { m_defaultCodeRepositoryContainsHasBeenSet = true; m_defaultCodeRepositoryContains = std::move(value); }
525 
531  inline void SetDefaultCodeRepositoryContains(const char* value) { m_defaultCodeRepositoryContainsHasBeenSet = true; m_defaultCodeRepositoryContains.assign(value); }
532 
538  inline ListNotebookInstancesRequest& WithDefaultCodeRepositoryContains(const Aws::String& value) { SetDefaultCodeRepositoryContains(value); return *this;}
539 
545  inline ListNotebookInstancesRequest& WithDefaultCodeRepositoryContains(Aws::String&& value) { SetDefaultCodeRepositoryContains(std::move(value)); return *this;}
546 
552  inline ListNotebookInstancesRequest& WithDefaultCodeRepositoryContains(const char* value) { SetDefaultCodeRepositoryContains(value); return *this;}
553 
554 
559  inline const Aws::String& GetAdditionalCodeRepositoryEquals() const{ return m_additionalCodeRepositoryEquals; }
560 
565  inline bool AdditionalCodeRepositoryEqualsHasBeenSet() const { return m_additionalCodeRepositoryEqualsHasBeenSet; }
566 
571  inline void SetAdditionalCodeRepositoryEquals(const Aws::String& value) { m_additionalCodeRepositoryEqualsHasBeenSet = true; m_additionalCodeRepositoryEquals = value; }
572 
577  inline void SetAdditionalCodeRepositoryEquals(Aws::String&& value) { m_additionalCodeRepositoryEqualsHasBeenSet = true; m_additionalCodeRepositoryEquals = std::move(value); }
578 
583  inline void SetAdditionalCodeRepositoryEquals(const char* value) { m_additionalCodeRepositoryEqualsHasBeenSet = true; m_additionalCodeRepositoryEquals.assign(value); }
584 
589  inline ListNotebookInstancesRequest& WithAdditionalCodeRepositoryEquals(const Aws::String& value) { SetAdditionalCodeRepositoryEquals(value); return *this;}
590 
595  inline ListNotebookInstancesRequest& WithAdditionalCodeRepositoryEquals(Aws::String&& value) { SetAdditionalCodeRepositoryEquals(std::move(value)); return *this;}
596 
601  inline ListNotebookInstancesRequest& WithAdditionalCodeRepositoryEquals(const char* value) { SetAdditionalCodeRepositoryEquals(value); return *this;}
602 
603  private:
604 
605  Aws::String m_nextToken;
606  bool m_nextTokenHasBeenSet;
607 
608  int m_maxResults;
609  bool m_maxResultsHasBeenSet;
610 
611  NotebookInstanceSortKey m_sortBy;
612  bool m_sortByHasBeenSet;
613 
614  NotebookInstanceSortOrder m_sortOrder;
615  bool m_sortOrderHasBeenSet;
616 
617  Aws::String m_nameContains;
618  bool m_nameContainsHasBeenSet;
619 
620  Aws::Utils::DateTime m_creationTimeBefore;
621  bool m_creationTimeBeforeHasBeenSet;
622 
623  Aws::Utils::DateTime m_creationTimeAfter;
624  bool m_creationTimeAfterHasBeenSet;
625 
626  Aws::Utils::DateTime m_lastModifiedTimeBefore;
627  bool m_lastModifiedTimeBeforeHasBeenSet;
628 
629  Aws::Utils::DateTime m_lastModifiedTimeAfter;
630  bool m_lastModifiedTimeAfterHasBeenSet;
631 
632  NotebookInstanceStatus m_statusEquals;
633  bool m_statusEqualsHasBeenSet;
634 
635  Aws::String m_notebookInstanceLifecycleConfigNameContains;
636  bool m_notebookInstanceLifecycleConfigNameContainsHasBeenSet;
637 
638  Aws::String m_defaultCodeRepositoryContains;
639  bool m_defaultCodeRepositoryContainsHasBeenSet;
640 
641  Aws::String m_additionalCodeRepositoryEquals;
642  bool m_additionalCodeRepositoryEqualsHasBeenSet;
643  };
644 
645 } // namespace Model
646 } // namespace SageMaker
647 } // namespace Aws
ListNotebookInstancesRequest & WithNextToken(Aws::String &&value)
#define AWS_SAGEMAKER_API
ListNotebookInstancesRequest & WithNotebookInstanceLifecycleConfigNameContains(const Aws::String &value)
ListNotebookInstancesRequest & WithAdditionalCodeRepositoryEquals(Aws::String &&value)
ListNotebookInstancesRequest & WithNextToken(const char *value)
ListNotebookInstancesRequest & WithDefaultCodeRepositoryContains(const char *value)
void SetStatusEquals(const NotebookInstanceStatus &value)
ListNotebookInstancesRequest & WithDefaultCodeRepositoryContains(Aws::String &&value)
ListNotebookInstancesRequest & WithSortBy(NotebookInstanceSortKey &&value)
ListNotebookInstancesRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListNotebookInstancesRequest & WithDefaultCodeRepositoryContains(const Aws::String &value)
ListNotebookInstancesRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListNotebookInstancesRequest & WithNameContains(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ListNotebookInstancesRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListNotebookInstancesRequest & WithAdditionalCodeRepositoryEquals(const char *value)
ListNotebookInstancesRequest & WithStatusEquals(NotebookInstanceStatus &&value)
ListNotebookInstancesRequest & WithNameContains(const Aws::String &value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListNotebookInstancesRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
ListNotebookInstancesRequest & WithAdditionalCodeRepositoryEquals(const Aws::String &value)
ListNotebookInstancesRequest & WithNameContains(const char *value)
void SetSortBy(const NotebookInstanceSortKey &value)
ListNotebookInstancesRequest & WithSortOrder(const NotebookInstanceSortOrder &value)
ListNotebookInstancesRequest & WithNextToken(const Aws::String &value)
ListNotebookInstancesRequest & WithStatusEquals(const NotebookInstanceStatus &value)
const NotebookInstanceSortOrder & GetSortOrder() const
ListNotebookInstancesRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetSortOrder(const NotebookInstanceSortOrder &value)
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListNotebookInstancesRequest & WithNotebookInstanceLifecycleConfigNameContains(const char *value)
ListNotebookInstancesRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListNotebookInstancesRequest & WithSortBy(const NotebookInstanceSortKey &value)
ListNotebookInstancesRequest & WithNotebookInstanceLifecycleConfigNameContains(Aws::String &&value)
ListNotebookInstancesRequest & WithMaxResults(int value)
ListNotebookInstancesRequest & WithSortOrder(NotebookInstanceSortOrder &&value)
ListNotebookInstancesRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListNotebookInstancesRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
void SetNotebookInstanceLifecycleConfigNameContains(const Aws::String &value)