AWS SDK for C++  1.9.155
AWS SDK for C++
ListNotebookInstancesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace SageMaker
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
42  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
43 
49  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
50 
56  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
57 
63  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
64 
70  inline ListNotebookInstancesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
71 
77  inline ListNotebookInstancesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 
84  inline ListNotebookInstancesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 
86 
91  inline const Aws::Vector<NotebookInstanceSummary>& GetNotebookInstances() const{ return m_notebookInstances; }
92 
97  inline void SetNotebookInstances(const Aws::Vector<NotebookInstanceSummary>& value) { m_notebookInstances = value; }
98 
103  inline void SetNotebookInstances(Aws::Vector<NotebookInstanceSummary>&& value) { m_notebookInstances = std::move(value); }
104 
109  inline ListNotebookInstancesResult& WithNotebookInstances(const Aws::Vector<NotebookInstanceSummary>& value) { SetNotebookInstances(value); return *this;}
110 
115  inline ListNotebookInstancesResult& WithNotebookInstances(Aws::Vector<NotebookInstanceSummary>&& value) { SetNotebookInstances(std::move(value)); return *this;}
116 
121  inline ListNotebookInstancesResult& AddNotebookInstances(const NotebookInstanceSummary& value) { m_notebookInstances.push_back(value); return *this; }
122 
127  inline ListNotebookInstancesResult& AddNotebookInstances(NotebookInstanceSummary&& value) { m_notebookInstances.push_back(std::move(value)); return *this; }
128 
129  private:
130 
131  Aws::String m_nextToken;
132 
133  Aws::Vector<NotebookInstanceSummary> m_notebookInstances;
134  };
135 
136 } // namespace Model
137 } // namespace SageMaker
138 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListNotebookInstancesResult::ListNotebookInstancesResult
ListNotebookInstancesResult()
Aws::SageMaker::Model::ListNotebookInstancesResult::WithNextToken
ListNotebookInstancesResult & WithNextToken(Aws::String &&value)
Definition: ListNotebookInstancesResult.h:77
Aws::SageMaker::Model::NotebookInstanceSummary
Definition: NotebookInstanceSummary.h:37
Aws::SageMaker::Model::ListNotebookInstancesResult::WithNextToken
ListNotebookInstancesResult & WithNextToken(const char *value)
Definition: ListNotebookInstancesResult.h:84
Aws::SageMaker::Model::ListNotebookInstancesResult::WithNextToken
ListNotebookInstancesResult & WithNextToken(const Aws::String &value)
Definition: ListNotebookInstancesResult.h:70
Aws::SageMaker::Model::ListNotebookInstancesResult::WithNotebookInstances
ListNotebookInstancesResult & WithNotebookInstances(const Aws::Vector< NotebookInstanceSummary > &value)
Definition: ListNotebookInstancesResult.h:109
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::ListNotebookInstancesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListNotebookInstancesResult.h:49
AWSVector.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListNotebookInstancesResult::AddNotebookInstances
ListNotebookInstancesResult & AddNotebookInstances(const NotebookInstanceSummary &value)
Definition: ListNotebookInstancesResult.h:121
Aws::SageMaker::Model::ListNotebookInstancesResult::WithNotebookInstances
ListNotebookInstancesResult & WithNotebookInstances(Aws::Vector< NotebookInstanceSummary > &&value)
Definition: ListNotebookInstancesResult.h:115
Aws::SageMaker::Model::ListNotebookInstancesResult::operator=
ListNotebookInstancesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::SageMaker::Model::ListNotebookInstancesResult::SetNotebookInstances
void SetNotebookInstances(const Aws::Vector< NotebookInstanceSummary > &value)
Definition: ListNotebookInstancesResult.h:97
Aws::SageMaker::Model::ListNotebookInstancesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListNotebookInstancesResult.h:42
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListNotebookInstancesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListNotebookInstancesResult.h:63
Aws::SageMaker::Model::ListNotebookInstancesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListNotebookInstancesResult.h:56
Aws::SageMaker::Model::ListNotebookInstancesResult::SetNotebookInstances
void SetNotebookInstances(Aws::Vector< NotebookInstanceSummary > &&value)
Definition: ListNotebookInstancesResult.h:103
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListNotebookInstancesResult
Definition: ListNotebookInstancesResult.h:30
Aws::SageMaker::Model::ListNotebookInstancesResult::ListNotebookInstancesResult
ListNotebookInstancesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::ListNotebookInstancesResult::AddNotebookInstances
ListNotebookInstancesResult & AddNotebookInstances(NotebookInstanceSummary &&value)
Definition: ListNotebookInstancesResult.h:127
NotebookInstanceSummary.h
Aws::SageMaker::Model::ListNotebookInstancesResult::GetNotebookInstances
const Aws::Vector< NotebookInstanceSummary > & GetNotebookInstances() const
Definition: ListNotebookInstancesResult.h:91