AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NotebookInstanceSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/NotebookInstanceStatus.h>
10#include <aws/sagemaker/model/InstanceType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SAGEMAKER_API NotebookInstanceSummary();
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetNotebookInstanceName() const{ return m_notebookInstanceName; }
50 inline bool NotebookInstanceNameHasBeenSet() const { return m_notebookInstanceNameHasBeenSet; }
51 inline void SetNotebookInstanceName(const Aws::String& value) { m_notebookInstanceNameHasBeenSet = true; m_notebookInstanceName = value; }
52 inline void SetNotebookInstanceName(Aws::String&& value) { m_notebookInstanceNameHasBeenSet = true; m_notebookInstanceName = std::move(value); }
53 inline void SetNotebookInstanceName(const char* value) { m_notebookInstanceNameHasBeenSet = true; m_notebookInstanceName.assign(value); }
55 inline NotebookInstanceSummary& WithNotebookInstanceName(Aws::String&& value) { SetNotebookInstanceName(std::move(value)); return *this;}
56 inline NotebookInstanceSummary& WithNotebookInstanceName(const char* value) { SetNotebookInstanceName(value); return *this;}
58
60
63 inline const Aws::String& GetNotebookInstanceArn() const{ return m_notebookInstanceArn; }
64 inline bool NotebookInstanceArnHasBeenSet() const { return m_notebookInstanceArnHasBeenSet; }
65 inline void SetNotebookInstanceArn(const Aws::String& value) { m_notebookInstanceArnHasBeenSet = true; m_notebookInstanceArn = value; }
66 inline void SetNotebookInstanceArn(Aws::String&& value) { m_notebookInstanceArnHasBeenSet = true; m_notebookInstanceArn = std::move(value); }
67 inline void SetNotebookInstanceArn(const char* value) { m_notebookInstanceArnHasBeenSet = true; m_notebookInstanceArn.assign(value); }
69 inline NotebookInstanceSummary& WithNotebookInstanceArn(Aws::String&& value) { SetNotebookInstanceArn(std::move(value)); return *this;}
70 inline NotebookInstanceSummary& WithNotebookInstanceArn(const char* value) { SetNotebookInstanceArn(value); return *this;}
72
74
77 inline const NotebookInstanceStatus& GetNotebookInstanceStatus() const{ return m_notebookInstanceStatus; }
78 inline bool NotebookInstanceStatusHasBeenSet() const { return m_notebookInstanceStatusHasBeenSet; }
79 inline void SetNotebookInstanceStatus(const NotebookInstanceStatus& value) { m_notebookInstanceStatusHasBeenSet = true; m_notebookInstanceStatus = value; }
80 inline void SetNotebookInstanceStatus(NotebookInstanceStatus&& value) { m_notebookInstanceStatusHasBeenSet = true; m_notebookInstanceStatus = std::move(value); }
84
86
90 inline const Aws::String& GetUrl() const{ return m_url; }
91 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
92 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
93 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
94 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
95 inline NotebookInstanceSummary& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
96 inline NotebookInstanceSummary& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
97 inline NotebookInstanceSummary& WithUrl(const char* value) { SetUrl(value); return *this;}
99
101
104 inline const InstanceType& GetInstanceType() const{ return m_instanceType; }
105 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
106 inline void SetInstanceType(const InstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
107 inline void SetInstanceType(InstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
108 inline NotebookInstanceSummary& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;}
109 inline NotebookInstanceSummary& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
117 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
118 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
119 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
121 inline NotebookInstanceSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
129 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
130 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
131 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
135
137
144 inline const Aws::String& GetNotebookInstanceLifecycleConfigName() const{ return m_notebookInstanceLifecycleConfigName; }
145 inline bool NotebookInstanceLifecycleConfigNameHasBeenSet() const { return m_notebookInstanceLifecycleConfigNameHasBeenSet; }
146 inline void SetNotebookInstanceLifecycleConfigName(const Aws::String& value) { m_notebookInstanceLifecycleConfigNameHasBeenSet = true; m_notebookInstanceLifecycleConfigName = value; }
147 inline void SetNotebookInstanceLifecycleConfigName(Aws::String&& value) { m_notebookInstanceLifecycleConfigNameHasBeenSet = true; m_notebookInstanceLifecycleConfigName = std::move(value); }
148 inline void SetNotebookInstanceLifecycleConfigName(const char* value) { m_notebookInstanceLifecycleConfigNameHasBeenSet = true; m_notebookInstanceLifecycleConfigName.assign(value); }
153
155
166 inline const Aws::String& GetDefaultCodeRepository() const{ return m_defaultCodeRepository; }
167 inline bool DefaultCodeRepositoryHasBeenSet() const { return m_defaultCodeRepositoryHasBeenSet; }
168 inline void SetDefaultCodeRepository(const Aws::String& value) { m_defaultCodeRepositoryHasBeenSet = true; m_defaultCodeRepository = value; }
169 inline void SetDefaultCodeRepository(Aws::String&& value) { m_defaultCodeRepositoryHasBeenSet = true; m_defaultCodeRepository = std::move(value); }
170 inline void SetDefaultCodeRepository(const char* value) { m_defaultCodeRepositoryHasBeenSet = true; m_defaultCodeRepository.assign(value); }
173 inline NotebookInstanceSummary& WithDefaultCodeRepository(const char* value) { SetDefaultCodeRepository(value); return *this;}
175
177
188 inline const Aws::Vector<Aws::String>& GetAdditionalCodeRepositories() const{ return m_additionalCodeRepositories; }
189 inline bool AdditionalCodeRepositoriesHasBeenSet() const { return m_additionalCodeRepositoriesHasBeenSet; }
190 inline void SetAdditionalCodeRepositories(const Aws::Vector<Aws::String>& value) { m_additionalCodeRepositoriesHasBeenSet = true; m_additionalCodeRepositories = value; }
191 inline void SetAdditionalCodeRepositories(Aws::Vector<Aws::String>&& value) { m_additionalCodeRepositoriesHasBeenSet = true; m_additionalCodeRepositories = std::move(value); }
194 inline NotebookInstanceSummary& AddAdditionalCodeRepositories(const Aws::String& value) { m_additionalCodeRepositoriesHasBeenSet = true; m_additionalCodeRepositories.push_back(value); return *this; }
195 inline NotebookInstanceSummary& AddAdditionalCodeRepositories(Aws::String&& value) { m_additionalCodeRepositoriesHasBeenSet = true; m_additionalCodeRepositories.push_back(std::move(value)); return *this; }
196 inline NotebookInstanceSummary& AddAdditionalCodeRepositories(const char* value) { m_additionalCodeRepositoriesHasBeenSet = true; m_additionalCodeRepositories.push_back(value); return *this; }
198 private:
199
200 Aws::String m_notebookInstanceName;
201 bool m_notebookInstanceNameHasBeenSet = false;
202
203 Aws::String m_notebookInstanceArn;
204 bool m_notebookInstanceArnHasBeenSet = false;
205
206 NotebookInstanceStatus m_notebookInstanceStatus;
207 bool m_notebookInstanceStatusHasBeenSet = false;
208
209 Aws::String m_url;
210 bool m_urlHasBeenSet = false;
211
212 InstanceType m_instanceType;
213 bool m_instanceTypeHasBeenSet = false;
214
215 Aws::Utils::DateTime m_creationTime;
216 bool m_creationTimeHasBeenSet = false;
217
218 Aws::Utils::DateTime m_lastModifiedTime;
219 bool m_lastModifiedTimeHasBeenSet = false;
220
221 Aws::String m_notebookInstanceLifecycleConfigName;
222 bool m_notebookInstanceLifecycleConfigNameHasBeenSet = false;
223
224 Aws::String m_defaultCodeRepository;
225 bool m_defaultCodeRepositoryHasBeenSet = false;
226
227 Aws::Vector<Aws::String> m_additionalCodeRepositories;
228 bool m_additionalCodeRepositoriesHasBeenSet = false;
229 };
230
231} // namespace Model
232} // namespace SageMaker
233} // namespace Aws
NotebookInstanceSummary & WithNotebookInstanceName(const Aws::String &value)
NotebookInstanceSummary & WithNotebookInstanceArn(const Aws::String &value)
NotebookInstanceSummary & WithCreationTime(Aws::Utils::DateTime &&value)
NotebookInstanceSummary & WithNotebookInstanceArn(const char *value)
NotebookInstanceSummary & WithInstanceType(const InstanceType &value)
void SetAdditionalCodeRepositories(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetCreationTime() const
NotebookInstanceSummary & WithAdditionalCodeRepositories(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetAdditionalCodeRepositories() const
NotebookInstanceSummary & WithNotebookInstanceStatus(NotebookInstanceStatus &&value)
void SetNotebookInstanceStatus(NotebookInstanceStatus &&value)
NotebookInstanceSummary & WithNotebookInstanceLifecycleConfigName(const char *value)
NotebookInstanceSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
NotebookInstanceSummary & AddAdditionalCodeRepositories(const char *value)
NotebookInstanceSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetNotebookInstanceLifecycleConfigName(const Aws::String &value)
const NotebookInstanceStatus & GetNotebookInstanceStatus() const
NotebookInstanceSummary & WithUrl(const char *value)
void SetAdditionalCodeRepositories(Aws::Vector< Aws::String > &&value)
NotebookInstanceSummary & WithUrl(Aws::String &&value)
NotebookInstanceSummary & WithInstanceType(InstanceType &&value)
AWS_SAGEMAKER_API NotebookInstanceSummary(Aws::Utils::Json::JsonView jsonValue)
NotebookInstanceSummary & WithNotebookInstanceName(Aws::String &&value)
NotebookInstanceSummary & WithDefaultCodeRepository(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
NotebookInstanceSummary & WithDefaultCodeRepository(Aws::String &&value)
void SetNotebookInstanceStatus(const NotebookInstanceStatus &value)
NotebookInstanceSummary & WithNotebookInstanceName(const char *value)
NotebookInstanceSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API NotebookInstanceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
NotebookInstanceSummary & WithNotebookInstanceLifecycleConfigName(Aws::String &&value)
NotebookInstanceSummary & WithDefaultCodeRepository(const char *value)
NotebookInstanceSummary & WithAdditionalCodeRepositories(const Aws::Vector< Aws::String > &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
NotebookInstanceSummary & WithNotebookInstanceStatus(const NotebookInstanceStatus &value)
NotebookInstanceSummary & WithUrl(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
NotebookInstanceSummary & WithNotebookInstanceLifecycleConfigName(const Aws::String &value)
NotebookInstanceSummary & AddAdditionalCodeRepositories(Aws::String &&value)
NotebookInstanceSummary & WithNotebookInstanceArn(Aws::String &&value)
const Aws::String & GetNotebookInstanceLifecycleConfigName() const
NotebookInstanceSummary & AddAdditionalCodeRepositories(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue