AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeNotebookInstanceResult.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/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/sagemaker/model/DirectInternetAccess.h>
14#include <aws/sagemaker/model/RootAccess.h>
15#include <aws/sagemaker/model/InstanceMetadataServiceConfiguration.h>
16#include <aws/sagemaker/model/NotebookInstanceAcceleratorType.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace SageMaker
32{
33namespace Model
34{
36 {
37 public:
38 AWS_SAGEMAKER_API DescribeNotebookInstanceResult();
41
42
44
47 inline const Aws::String& GetNotebookInstanceArn() const{ return m_notebookInstanceArn; }
48 inline void SetNotebookInstanceArn(const Aws::String& value) { m_notebookInstanceArn = value; }
49 inline void SetNotebookInstanceArn(Aws::String&& value) { m_notebookInstanceArn = std::move(value); }
50 inline void SetNotebookInstanceArn(const char* value) { m_notebookInstanceArn.assign(value); }
53 inline DescribeNotebookInstanceResult& WithNotebookInstanceArn(const char* value) { SetNotebookInstanceArn(value); return *this;}
55
57
60 inline const Aws::String& GetNotebookInstanceName() const{ return m_notebookInstanceName; }
61 inline void SetNotebookInstanceName(const Aws::String& value) { m_notebookInstanceName = value; }
62 inline void SetNotebookInstanceName(Aws::String&& value) { m_notebookInstanceName = std::move(value); }
63 inline void SetNotebookInstanceName(const char* value) { m_notebookInstanceName.assign(value); }
66 inline DescribeNotebookInstanceResult& WithNotebookInstanceName(const char* value) { SetNotebookInstanceName(value); return *this;}
68
70
73 inline const NotebookInstanceStatus& GetNotebookInstanceStatus() const{ return m_notebookInstanceStatus; }
74 inline void SetNotebookInstanceStatus(const NotebookInstanceStatus& value) { m_notebookInstanceStatus = value; }
75 inline void SetNotebookInstanceStatus(NotebookInstanceStatus&& value) { m_notebookInstanceStatus = std::move(value); }
79
81
84 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
85 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
86 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
87 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
89 inline DescribeNotebookInstanceResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
90 inline DescribeNotebookInstanceResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
92
94
98 inline const Aws::String& GetUrl() const{ return m_url; }
99 inline void SetUrl(const Aws::String& value) { m_url = value; }
100 inline void SetUrl(Aws::String&& value) { m_url = std::move(value); }
101 inline void SetUrl(const char* value) { m_url.assign(value); }
102 inline DescribeNotebookInstanceResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
103 inline DescribeNotebookInstanceResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
104 inline DescribeNotebookInstanceResult& WithUrl(const char* value) { SetUrl(value); return *this;}
106
108
111 inline const InstanceType& GetInstanceType() const{ return m_instanceType; }
112 inline void SetInstanceType(const InstanceType& value) { m_instanceType = value; }
113 inline void SetInstanceType(InstanceType&& value) { m_instanceType = std::move(value); }
115 inline DescribeNotebookInstanceResult& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
117
119
122 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
123 inline void SetSubnetId(const Aws::String& value) { m_subnetId = value; }
124 inline void SetSubnetId(Aws::String&& value) { m_subnetId = std::move(value); }
125 inline void SetSubnetId(const char* value) { m_subnetId.assign(value); }
126 inline DescribeNotebookInstanceResult& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
127 inline DescribeNotebookInstanceResult& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
128 inline DescribeNotebookInstanceResult& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
130
132
135 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
136 inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroups = value; }
137 inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroups = std::move(value); }
140 inline DescribeNotebookInstanceResult& AddSecurityGroups(const Aws::String& value) { m_securityGroups.push_back(value); return *this; }
141 inline DescribeNotebookInstanceResult& AddSecurityGroups(Aws::String&& value) { m_securityGroups.push_back(std::move(value)); return *this; }
142 inline DescribeNotebookInstanceResult& AddSecurityGroups(const char* value) { m_securityGroups.push_back(value); return *this; }
144
146
150 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
151 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
152 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
153 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
154 inline DescribeNotebookInstanceResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
155 inline DescribeNotebookInstanceResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
156 inline DescribeNotebookInstanceResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
158
160
164 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
165 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
166 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
167 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
168 inline DescribeNotebookInstanceResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
169 inline DescribeNotebookInstanceResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
170 inline DescribeNotebookInstanceResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
172
174
178 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
179 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceId = value; }
180 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceId = std::move(value); }
181 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceId.assign(value); }
184 inline DescribeNotebookInstanceResult& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
186
188
192 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
193 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
194 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
198
200
204 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
205 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
206 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
208 inline DescribeNotebookInstanceResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
210
212
218 inline const Aws::String& GetNotebookInstanceLifecycleConfigName() const{ return m_notebookInstanceLifecycleConfigName; }
219 inline void SetNotebookInstanceLifecycleConfigName(const Aws::String& value) { m_notebookInstanceLifecycleConfigName = value; }
220 inline void SetNotebookInstanceLifecycleConfigName(Aws::String&& value) { m_notebookInstanceLifecycleConfigName = std::move(value); }
221 inline void SetNotebookInstanceLifecycleConfigName(const char* value) { m_notebookInstanceLifecycleConfigName.assign(value); }
226
228
236 inline const DirectInternetAccess& GetDirectInternetAccess() const{ return m_directInternetAccess; }
237 inline void SetDirectInternetAccess(const DirectInternetAccess& value) { m_directInternetAccess = value; }
238 inline void SetDirectInternetAccess(DirectInternetAccess&& value) { m_directInternetAccess = std::move(value); }
242
244
248 inline int GetVolumeSizeInGB() const{ return m_volumeSizeInGB; }
249 inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGB = value; }
250 inline DescribeNotebookInstanceResult& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
252
254
259 inline const Aws::Vector<NotebookInstanceAcceleratorType>& GetAcceleratorTypes() const{ return m_acceleratorTypes; }
260 inline void SetAcceleratorTypes(const Aws::Vector<NotebookInstanceAcceleratorType>& value) { m_acceleratorTypes = value; }
261 inline void SetAcceleratorTypes(Aws::Vector<NotebookInstanceAcceleratorType>&& value) { m_acceleratorTypes = std::move(value); }
264 inline DescribeNotebookInstanceResult& AddAcceleratorTypes(const NotebookInstanceAcceleratorType& value) { m_acceleratorTypes.push_back(value); return *this; }
265 inline DescribeNotebookInstanceResult& AddAcceleratorTypes(NotebookInstanceAcceleratorType&& value) { m_acceleratorTypes.push_back(std::move(value)); return *this; }
267
269
280 inline const Aws::String& GetDefaultCodeRepository() const{ return m_defaultCodeRepository; }
281 inline void SetDefaultCodeRepository(const Aws::String& value) { m_defaultCodeRepository = value; }
282 inline void SetDefaultCodeRepository(Aws::String&& value) { m_defaultCodeRepository = std::move(value); }
283 inline void SetDefaultCodeRepository(const char* value) { m_defaultCodeRepository.assign(value); }
288
290
301 inline const Aws::Vector<Aws::String>& GetAdditionalCodeRepositories() const{ return m_additionalCodeRepositories; }
302 inline void SetAdditionalCodeRepositories(const Aws::Vector<Aws::String>& value) { m_additionalCodeRepositories = value; }
303 inline void SetAdditionalCodeRepositories(Aws::Vector<Aws::String>&& value) { m_additionalCodeRepositories = std::move(value); }
306 inline DescribeNotebookInstanceResult& AddAdditionalCodeRepositories(const Aws::String& value) { m_additionalCodeRepositories.push_back(value); return *this; }
307 inline DescribeNotebookInstanceResult& AddAdditionalCodeRepositories(Aws::String&& value) { m_additionalCodeRepositories.push_back(std::move(value)); return *this; }
308 inline DescribeNotebookInstanceResult& AddAdditionalCodeRepositories(const char* value) { m_additionalCodeRepositories.push_back(value); return *this; }
310
312
319 inline const RootAccess& GetRootAccess() const{ return m_rootAccess; }
320 inline void SetRootAccess(const RootAccess& value) { m_rootAccess = value; }
321 inline void SetRootAccess(RootAccess&& value) { m_rootAccess = std::move(value); }
322 inline DescribeNotebookInstanceResult& WithRootAccess(const RootAccess& value) { SetRootAccess(value); return *this;}
323 inline DescribeNotebookInstanceResult& WithRootAccess(RootAccess&& value) { SetRootAccess(std::move(value)); return *this;}
325
327
330 inline const Aws::String& GetPlatformIdentifier() const{ return m_platformIdentifier; }
331 inline void SetPlatformIdentifier(const Aws::String& value) { m_platformIdentifier = value; }
332 inline void SetPlatformIdentifier(Aws::String&& value) { m_platformIdentifier = std::move(value); }
333 inline void SetPlatformIdentifier(const char* value) { m_platformIdentifier.assign(value); }
336 inline DescribeNotebookInstanceResult& WithPlatformIdentifier(const char* value) { SetPlatformIdentifier(value); return *this;}
338
340
343 inline const InstanceMetadataServiceConfiguration& GetInstanceMetadataServiceConfiguration() const{ return m_instanceMetadataServiceConfiguration; }
344 inline void SetInstanceMetadataServiceConfiguration(const InstanceMetadataServiceConfiguration& value) { m_instanceMetadataServiceConfiguration = value; }
345 inline void SetInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfiguration&& value) { m_instanceMetadataServiceConfiguration = std::move(value); }
349
351
352 inline const Aws::String& GetRequestId() const{ return m_requestId; }
353 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
354 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
355 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
356 inline DescribeNotebookInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
357 inline DescribeNotebookInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
358 inline DescribeNotebookInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
360 private:
361
362 Aws::String m_notebookInstanceArn;
363
364 Aws::String m_notebookInstanceName;
365
366 NotebookInstanceStatus m_notebookInstanceStatus;
367
368 Aws::String m_failureReason;
369
370 Aws::String m_url;
371
372 InstanceType m_instanceType;
373
374 Aws::String m_subnetId;
375
376 Aws::Vector<Aws::String> m_securityGroups;
377
378 Aws::String m_roleArn;
379
380 Aws::String m_kmsKeyId;
381
382 Aws::String m_networkInterfaceId;
383
384 Aws::Utils::DateTime m_lastModifiedTime;
385
386 Aws::Utils::DateTime m_creationTime;
387
388 Aws::String m_notebookInstanceLifecycleConfigName;
389
390 DirectInternetAccess m_directInternetAccess;
391
392 int m_volumeSizeInGB;
393
395
396 Aws::String m_defaultCodeRepository;
397
398 Aws::Vector<Aws::String> m_additionalCodeRepositories;
399
400 RootAccess m_rootAccess;
401
402 Aws::String m_platformIdentifier;
403
404 InstanceMetadataServiceConfiguration m_instanceMetadataServiceConfiguration;
405
406 Aws::String m_requestId;
407 };
408
409} // namespace Model
410} // namespace SageMaker
411} // namespace Aws
DescribeNotebookInstanceResult & WithNetworkInterfaceId(const char *value)
DescribeNotebookInstanceResult & WithNotebookInstanceArn(Aws::String &&value)
DescribeNotebookInstanceResult & WithAcceleratorTypes(Aws::Vector< NotebookInstanceAcceleratorType > &&value)
DescribeNotebookInstanceResult & WithRequestId(const Aws::String &value)
DescribeNotebookInstanceResult & WithRoleArn(Aws::String &&value)
DescribeNotebookInstanceResult & WithNotebookInstanceName(const char *value)
void SetInstanceMetadataServiceConfiguration(const InstanceMetadataServiceConfiguration &value)
DescribeNotebookInstanceResult & WithNotebookInstanceName(Aws::String &&value)
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
DescribeNotebookInstanceResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeNotebookInstanceResult & WithAcceleratorTypes(const Aws::Vector< NotebookInstanceAcceleratorType > &value)
DescribeNotebookInstanceResult & AddSecurityGroups(const Aws::String &value)
DescribeNotebookInstanceResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeNotebookInstanceResult & WithKmsKeyId(const Aws::String &value)
DescribeNotebookInstanceResult & WithNotebookInstanceStatus(NotebookInstanceStatus &&value)
DescribeNotebookInstanceResult & WithDirectInternetAccess(DirectInternetAccess &&value)
DescribeNotebookInstanceResult & WithSubnetId(const char *value)
DescribeNotebookInstanceResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeNotebookInstanceResult & AddSecurityGroups(const char *value)
DescribeNotebookInstanceResult & WithDirectInternetAccess(const DirectInternetAccess &value)
DescribeNotebookInstanceResult & WithNotebookInstanceArn(const Aws::String &value)
DescribeNotebookInstanceResult & WithSubnetId(const Aws::String &value)
DescribeNotebookInstanceResult & WithInstanceMetadataServiceConfiguration(const InstanceMetadataServiceConfiguration &value)
void SetAcceleratorTypes(Aws::Vector< NotebookInstanceAcceleratorType > &&value)
void SetNotebookInstanceStatus(const NotebookInstanceStatus &value)
DescribeNotebookInstanceResult & WithKmsKeyId(const char *value)
DescribeNotebookInstanceResult & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
DescribeNotebookInstanceResult & AddAdditionalCodeRepositories(const char *value)
DescribeNotebookInstanceResult & AddAcceleratorTypes(const NotebookInstanceAcceleratorType &value)
DescribeNotebookInstanceResult & WithRootAccess(RootAccess &&value)
void SetAdditionalCodeRepositories(const Aws::Vector< Aws::String > &value)
void SetAcceleratorTypes(const Aws::Vector< NotebookInstanceAcceleratorType > &value)
DescribeNotebookInstanceResult & WithRoleArn(const Aws::String &value)
DescribeNotebookInstanceResult & WithNetworkInterfaceId(Aws::String &&value)
DescribeNotebookInstanceResult & WithKmsKeyId(Aws::String &&value)
DescribeNotebookInstanceResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeNotebookInstanceResult & WithAdditionalCodeRepositories(Aws::Vector< Aws::String > &&value)
DescribeNotebookInstanceResult & WithPlatformIdentifier(const char *value)
DescribeNotebookInstanceResult & WithFailureReason(const Aws::String &value)
DescribeNotebookInstanceResult & AddAdditionalCodeRepositories(Aws::String &&value)
DescribeNotebookInstanceResult & WithNotebookInstanceStatus(const NotebookInstanceStatus &value)
DescribeNotebookInstanceResult & WithSubnetId(Aws::String &&value)
DescribeNotebookInstanceResult & WithRequestId(Aws::String &&value)
DescribeNotebookInstanceResult & WithRootAccess(const RootAccess &value)
void SetAdditionalCodeRepositories(Aws::Vector< Aws::String > &&value)
DescribeNotebookInstanceResult & WithRoleArn(const char *value)
DescribeNotebookInstanceResult & AddAcceleratorTypes(NotebookInstanceAcceleratorType &&value)
DescribeNotebookInstanceResult & WithNotebookInstanceName(const Aws::String &value)
DescribeNotebookInstanceResult & WithDefaultCodeRepository(Aws::String &&value)
DescribeNotebookInstanceResult & WithNetworkInterfaceId(const Aws::String &value)
DescribeNotebookInstanceResult & WithPlatformIdentifier(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAdditionalCodeRepositories() const
DescribeNotebookInstanceResult & WithNotebookInstanceLifecycleConfigName(Aws::String &&value)
DescribeNotebookInstanceResult & WithUrl(const Aws::String &value)
DescribeNotebookInstanceResult & WithUrl(Aws::String &&value)
DescribeNotebookInstanceResult & WithRequestId(const char *value)
DescribeNotebookInstanceResult & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
DescribeNotebookInstanceResult & WithInstanceType(InstanceType &&value)
DescribeNotebookInstanceResult & WithDefaultCodeRepository(const char *value)
DescribeNotebookInstanceResult & WithVolumeSizeInGB(int value)
void SetInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfiguration &&value)
DescribeNotebookInstanceResult & WithUrl(const char *value)
DescribeNotebookInstanceResult & WithPlatformIdentifier(const Aws::String &value)
DescribeNotebookInstanceResult & WithNotebookInstanceArn(const char *value)
DescribeNotebookInstanceResult & WithFailureReason(const char *value)
DescribeNotebookInstanceResult & WithInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfiguration &&value)
DescribeNotebookInstanceResult & WithNotebookInstanceLifecycleConfigName(const char *value)
DescribeNotebookInstanceResult & WithNotebookInstanceLifecycleConfigName(const Aws::String &value)
DescribeNotebookInstanceResult & WithInstanceType(const InstanceType &value)
AWS_SAGEMAKER_API DescribeNotebookInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeNotebookInstanceResult & AddAdditionalCodeRepositories(const Aws::String &value)
const InstanceMetadataServiceConfiguration & GetInstanceMetadataServiceConfiguration() const
const Aws::Vector< NotebookInstanceAcceleratorType > & GetAcceleratorTypes() const
DescribeNotebookInstanceResult & WithDefaultCodeRepository(const Aws::String &value)
DescribeNotebookInstanceResult & WithAdditionalCodeRepositories(const Aws::Vector< Aws::String > &value)
DescribeNotebookInstanceResult & AddSecurityGroups(Aws::String &&value)
DescribeNotebookInstanceResult & WithFailureReason(Aws::String &&value)
AWS_SAGEMAKER_API DescribeNotebookInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue