7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/DirectInternetAccess.h>
13#include <aws/sagemaker/model/IPAddressType.h>
14#include <aws/sagemaker/model/InstanceMetadataServiceConfiguration.h>
15#include <aws/sagemaker/model/InstanceType.h>
16#include <aws/sagemaker/model/NotebookInstanceAcceleratorType.h>
17#include <aws/sagemaker/model/NotebookInstanceStatus.h>
18#include <aws/sagemaker/model/RootAccess.h>
23template <
typename RESULT_TYPE>
24class AmazonWebServiceResult;
44 template <
typename NotebookInstanceArnT = Aws::String>
46 m_notebookInstanceArnHasBeenSet =
true;
47 m_notebookInstanceArn = std::forward<NotebookInstanceArnT>(value);
49 template <
typename NotebookInstanceArnT = Aws::String>
61 template <
typename NotebookInstanceNameT = Aws::String>
63 m_notebookInstanceNameHasBeenSet =
true;
64 m_notebookInstanceName = std::forward<NotebookInstanceNameT>(value);
66 template <
typename NotebookInstanceNameT = Aws::String>
79 m_notebookInstanceStatusHasBeenSet =
true;
80 m_notebookInstanceStatus = value;
93 template <
typename FailureReasonT = Aws::String>
95 m_failureReasonHasBeenSet =
true;
96 m_failureReason = std::forward<FailureReasonT>(value);
98 template <
typename FailureReasonT = Aws::String>
111 template <
typename UrlT = Aws::String>
113 m_urlHasBeenSet =
true;
114 m_url = std::forward<UrlT>(value);
116 template <
typename UrlT = Aws::String>
118 SetUrl(std::forward<UrlT>(value));
129 m_instanceTypeHasBeenSet =
true;
130 m_instanceType = value;
146 m_ipAddressTypeHasBeenSet =
true;
147 m_ipAddressType = value;
160 template <
typename SubnetIdT = Aws::String>
162 m_subnetIdHasBeenSet =
true;
163 m_subnetId = std::forward<SubnetIdT>(value);
165 template <
typename SubnetIdT = Aws::String>
177 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
179 m_securityGroupsHasBeenSet =
true;
180 m_securityGroups = std::forward<SecurityGroupsT>(value);
182 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
187 template <
typename SecurityGroupsT = Aws::String>
189 m_securityGroupsHasBeenSet =
true;
190 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
201 template <
typename RoleArnT = Aws::String>
203 m_roleArnHasBeenSet =
true;
204 m_roleArn = std::forward<RoleArnT>(value);
206 template <
typename RoleArnT = Aws::String>
219 template <
typename KmsKeyIdT = Aws::String>
221 m_kmsKeyIdHasBeenSet =
true;
222 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
224 template <
typename KmsKeyIdT = Aws::String>
237 template <
typename NetworkInterfaceIdT = Aws::String>
239 m_networkInterfaceIdHasBeenSet =
true;
240 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
242 template <
typename NetworkInterfaceIdT = Aws::String>
255 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
257 m_lastModifiedTimeHasBeenSet =
true;
258 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
260 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
273 template <
typename CreationTimeT = Aws::Utils::DateTime>
275 m_creationTimeHasBeenSet =
true;
276 m_creationTime = std::forward<CreationTimeT>(value);
278 template <
typename CreationTimeT = Aws::Utils::DateTime>
293 template <
typename NotebookInstanceLifecycleConfigNameT = Aws::String>
295 m_notebookInstanceLifecycleConfigNameHasBeenSet =
true;
296 m_notebookInstanceLifecycleConfigName = std::forward<NotebookInstanceLifecycleConfigNameT>(value);
298 template <
typename NotebookInstanceLifecycleConfigNameT = Aws::String>
316 m_directInternetAccessHasBeenSet =
true;
317 m_directInternetAccess = value;
332 m_volumeSizeInGBHasBeenSet =
true;
333 m_volumeSizeInGB = value;
348 template <
typename AcceleratorTypesT = Aws::Vector<NotebookInstanceAcceleratorType>>
350 m_acceleratorTypesHasBeenSet =
true;
351 m_acceleratorTypes = std::forward<AcceleratorTypesT>(value);
353 template <
typename AcceleratorTypesT = Aws::Vector<NotebookInstanceAcceleratorType>>
359 m_acceleratorTypesHasBeenSet =
true;
360 m_acceleratorTypes.push_back(value);
378 template <
typename DefaultCodeRepositoryT = Aws::String>
380 m_defaultCodeRepositoryHasBeenSet =
true;
381 m_defaultCodeRepository = std::forward<DefaultCodeRepositoryT>(value);
383 template <
typename DefaultCodeRepositoryT = Aws::String>
403 template <
typename AdditionalCodeRepositoriesT = Aws::Vector<Aws::String>>
405 m_additionalCodeRepositoriesHasBeenSet =
true;
406 m_additionalCodeRepositories = std::forward<AdditionalCodeRepositoriesT>(value);
408 template <
typename AdditionalCodeRepositoriesT = Aws::Vector<Aws::String>>
413 template <
typename AdditionalCodeRepositoriesT = Aws::String>
415 m_additionalCodeRepositoriesHasBeenSet =
true;
416 m_additionalCodeRepositories.emplace_back(std::forward<AdditionalCodeRepositoriesT>(value));
431 m_rootAccessHasBeenSet =
true;
432 m_rootAccess = value;
445 template <
typename PlatformIdentifierT = Aws::String>
447 m_platformIdentifierHasBeenSet =
true;
448 m_platformIdentifier = std::forward<PlatformIdentifierT>(value);
450 template <
typename PlatformIdentifierT = Aws::String>
462 return m_instanceMetadataServiceConfiguration;
464 template <
typename InstanceMetadataServiceConfigurationT = InstanceMetadataServiceConfiguration>
466 m_instanceMetadataServiceConfigurationHasBeenSet =
true;
467 m_instanceMetadataServiceConfiguration = std::forward<InstanceMetadataServiceConfigurationT>(value);
469 template <
typename InstanceMetadataServiceConfigurationT = InstanceMetadataServiceConfiguration>
479 template <
typename RequestIdT = Aws::String>
481 m_requestIdHasBeenSet =
true;
482 m_requestId = std::forward<RequestIdT>(value);
484 template <
typename RequestIdT = Aws::String>
525 int m_volumeSizeInGB{0};
537 InstanceMetadataServiceConfiguration m_instanceMetadataServiceConfiguration;
541 bool m_notebookInstanceArnHasBeenSet =
false;
542 bool m_notebookInstanceNameHasBeenSet =
false;
543 bool m_notebookInstanceStatusHasBeenSet =
false;
544 bool m_failureReasonHasBeenSet =
false;
545 bool m_urlHasBeenSet =
false;
546 bool m_instanceTypeHasBeenSet =
false;
547 bool m_ipAddressTypeHasBeenSet =
false;
548 bool m_subnetIdHasBeenSet =
false;
549 bool m_securityGroupsHasBeenSet =
false;
550 bool m_roleArnHasBeenSet =
false;
551 bool m_kmsKeyIdHasBeenSet =
false;
552 bool m_networkInterfaceIdHasBeenSet =
false;
553 bool m_lastModifiedTimeHasBeenSet =
false;
554 bool m_creationTimeHasBeenSet =
false;
555 bool m_notebookInstanceLifecycleConfigNameHasBeenSet =
false;
556 bool m_directInternetAccessHasBeenSet =
false;
557 bool m_volumeSizeInGBHasBeenSet =
false;
558 bool m_acceleratorTypesHasBeenSet =
false;
559 bool m_defaultCodeRepositoryHasBeenSet =
false;
560 bool m_additionalCodeRepositoriesHasBeenSet =
false;
561 bool m_rootAccessHasBeenSet =
false;
562 bool m_platformIdentifierHasBeenSet =
false;
563 bool m_instanceMetadataServiceConfigurationHasBeenSet =
false;
564 bool m_requestIdHasBeenSet =
false;
void SetNotebookInstanceStatus(NotebookInstanceStatus value)
DescribeNotebookInstanceResult & WithNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT &&value)
DescribeNotebookInstanceResult & WithAdditionalCodeRepositories(AdditionalCodeRepositoriesT &&value)
void SetNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT &&value)
DescribeNotebookInstanceResult & WithKmsKeyId(KmsKeyIdT &&value)
DirectInternetAccess GetDirectInternetAccess() const
const Aws::String & GetUrl() const
DescribeNotebookInstanceResult & WithRequestId(RequestIdT &&value)
DescribeNotebookInstanceResult & WithSecurityGroups(SecurityGroupsT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
DescribeNotebookInstanceResult & WithSubnetId(SubnetIdT &&value)
DescribeNotebookInstanceResult & WithPlatformIdentifier(PlatformIdentifierT &&value)
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
const Aws::String & GetFailureReason() const
const Aws::String & GetDefaultCodeRepository() const
DescribeNotebookInstanceResult & WithDefaultCodeRepository(DefaultCodeRepositoryT &&value)
void SetDirectInternetAccess(DirectInternetAccess value)
DescribeNotebookInstanceResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeNotebookInstanceResult & WithRoleArn(RoleArnT &&value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetNetworkInterfaceId() const
void SetDefaultCodeRepository(DefaultCodeRepositoryT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
void SetInstanceType(InstanceType value)
DescribeNotebookInstanceResult & AddAdditionalCodeRepositories(AdditionalCodeRepositoriesT &&value)
DescribeNotebookInstanceResult & WithInstanceType(InstanceType value)
DescribeNotebookInstanceResult & WithNotebookInstanceArn(NotebookInstanceArnT &&value)
DescribeNotebookInstanceResult & WithIpAddressType(IPAddressType value)
void SetAdditionalCodeRepositories(AdditionalCodeRepositoriesT &&value)
const Aws::String & GetRoleArn() const
void SetVolumeSizeInGB(int value)
InstanceType GetInstanceType() const
DescribeNotebookInstanceResult & WithFailureReason(FailureReasonT &&value)
void SetCreationTime(CreationTimeT &&value)
DescribeNotebookInstanceResult & WithNotebookInstanceStatus(NotebookInstanceStatus value)
const Aws::String & GetSubnetId() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeNotebookInstanceResult & WithInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfigurationT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
AWS_SAGEMAKER_API DescribeNotebookInstanceResult()=default
void SetInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfigurationT &&value)
void SetFailureReason(FailureReasonT &&value)
DescribeNotebookInstanceResult & WithNotebookInstanceName(NotebookInstanceNameT &&value)
const Aws::String & GetNotebookInstanceName() const
DescribeNotebookInstanceResult & AddAcceleratorTypes(NotebookInstanceAcceleratorType value)
int GetVolumeSizeInGB() const
void SetNotebookInstanceName(NotebookInstanceNameT &&value)
const Aws::Vector< Aws::String > & GetAdditionalCodeRepositories() const
DescribeNotebookInstanceResult & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
void SetUrl(UrlT &&value)
void SetRootAccess(RootAccess value)
DescribeNotebookInstanceResult & WithRootAccess(RootAccess value)
const Aws::String & GetRequestId() const
void SetIpAddressType(IPAddressType value)
DescribeNotebookInstanceResult & WithVolumeSizeInGB(int value)
DescribeNotebookInstanceResult & WithAcceleratorTypes(AcceleratorTypesT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeNotebookInstanceResult & WithDirectInternetAccess(DirectInternetAccess value)
void SetRequestId(RequestIdT &&value)
void SetPlatformIdentifier(PlatformIdentifierT &&value)
AWS_SAGEMAKER_API DescribeNotebookInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAcceleratorTypes(AcceleratorTypesT &&value)
const Aws::String & GetPlatformIdentifier() const
const InstanceMetadataServiceConfiguration & GetInstanceMetadataServiceConfiguration() const
DescribeNotebookInstanceResult & AddSecurityGroups(SecurityGroupsT &&value)
const Aws::Vector< NotebookInstanceAcceleratorType > & GetAcceleratorTypes() const
void SetRoleArn(RoleArnT &&value)
IPAddressType GetIpAddressType() const
NotebookInstanceStatus GetNotebookInstanceStatus() const
void SetNotebookInstanceArn(NotebookInstanceArnT &&value)
const Aws::String & GetNotebookInstanceArn() const
RootAccess GetRootAccess() const
DescribeNotebookInstanceResult & WithUrl(UrlT &&value)
void SetSubnetId(SubnetIdT &&value)
AWS_SAGEMAKER_API DescribeNotebookInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeNotebookInstanceResult & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetNotebookInstanceLifecycleConfigName() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
NotebookInstanceAcceleratorType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue