/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class DescribeNotebookInstanceResult { public: AWS_SAGEMAKER_API DescribeNotebookInstanceResult(); AWS_SAGEMAKER_API DescribeNotebookInstanceResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API DescribeNotebookInstanceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the notebook instance.

*/ inline const Aws::String& GetNotebookInstanceArn() const{ return m_notebookInstanceArn; } /** *

The Amazon Resource Name (ARN) of the notebook instance.

*/ inline void SetNotebookInstanceArn(const Aws::String& value) { m_notebookInstanceArn = value; } /** *

The Amazon Resource Name (ARN) of the notebook instance.

*/ inline void SetNotebookInstanceArn(Aws::String&& value) { m_notebookInstanceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the notebook instance.

*/ inline void SetNotebookInstanceArn(const char* value) { m_notebookInstanceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the notebook instance.

*/ inline DescribeNotebookInstanceResult& WithNotebookInstanceArn(const Aws::String& value) { SetNotebookInstanceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the notebook instance.

*/ inline DescribeNotebookInstanceResult& WithNotebookInstanceArn(Aws::String&& value) { SetNotebookInstanceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the notebook instance.

*/ inline DescribeNotebookInstanceResult& WithNotebookInstanceArn(const char* value) { SetNotebookInstanceArn(value); return *this;} /** *

The name of the SageMaker notebook instance.

*/ inline const Aws::String& GetNotebookInstanceName() const{ return m_notebookInstanceName; } /** *

The name of the SageMaker notebook instance.

*/ inline void SetNotebookInstanceName(const Aws::String& value) { m_notebookInstanceName = value; } /** *

The name of the SageMaker notebook instance.

*/ inline void SetNotebookInstanceName(Aws::String&& value) { m_notebookInstanceName = std::move(value); } /** *

The name of the SageMaker notebook instance.

*/ inline void SetNotebookInstanceName(const char* value) { m_notebookInstanceName.assign(value); } /** *

The name of the SageMaker notebook instance.

*/ inline DescribeNotebookInstanceResult& WithNotebookInstanceName(const Aws::String& value) { SetNotebookInstanceName(value); return *this;} /** *

The name of the SageMaker notebook instance.

*/ inline DescribeNotebookInstanceResult& WithNotebookInstanceName(Aws::String&& value) { SetNotebookInstanceName(std::move(value)); return *this;} /** *

The name of the SageMaker notebook instance.

*/ inline DescribeNotebookInstanceResult& WithNotebookInstanceName(const char* value) { SetNotebookInstanceName(value); return *this;} /** *

The status of the notebook instance.

*/ inline const NotebookInstanceStatus& GetNotebookInstanceStatus() const{ return m_notebookInstanceStatus; } /** *

The status of the notebook instance.

*/ inline void SetNotebookInstanceStatus(const NotebookInstanceStatus& value) { m_notebookInstanceStatus = value; } /** *

The status of the notebook instance.

*/ inline void SetNotebookInstanceStatus(NotebookInstanceStatus&& value) { m_notebookInstanceStatus = std::move(value); } /** *

The status of the notebook instance.

*/ inline DescribeNotebookInstanceResult& WithNotebookInstanceStatus(const NotebookInstanceStatus& value) { SetNotebookInstanceStatus(value); return *this;} /** *

The status of the notebook instance.

*/ inline DescribeNotebookInstanceResult& WithNotebookInstanceStatus(NotebookInstanceStatus&& value) { SetNotebookInstanceStatus(std::move(value)); return *this;} /** *

If status is Failed, the reason it failed.

*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *

If status is Failed, the reason it failed.

*/ inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; } /** *

If status is Failed, the reason it failed.

*/ inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); } /** *

If status is Failed, the reason it failed.

*/ inline void SetFailureReason(const char* value) { m_failureReason.assign(value); } /** *

If status is Failed, the reason it failed.

*/ inline DescribeNotebookInstanceResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

If status is Failed, the reason it failed.

*/ inline DescribeNotebookInstanceResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *

If status is Failed, the reason it failed.

*/ inline DescribeNotebookInstanceResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *

The URL that you use to connect to the Jupyter notebook that is running in * your notebook instance.

*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *

The URL that you use to connect to the Jupyter notebook that is running in * your notebook instance.

*/ inline void SetUrl(const Aws::String& value) { m_url = value; } /** *

The URL that you use to connect to the Jupyter notebook that is running in * your notebook instance.

*/ inline void SetUrl(Aws::String&& value) { m_url = std::move(value); } /** *

The URL that you use to connect to the Jupyter notebook that is running in * your notebook instance.

*/ inline void SetUrl(const char* value) { m_url.assign(value); } /** *

The URL that you use to connect to the Jupyter notebook that is running in * your notebook instance.

*/ inline DescribeNotebookInstanceResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *

The URL that you use to connect to the Jupyter notebook that is running in * your notebook instance.

*/ inline DescribeNotebookInstanceResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *

The URL that you use to connect to the Jupyter notebook that is running in * your notebook instance.

*/ inline DescribeNotebookInstanceResult& WithUrl(const char* value) { SetUrl(value); return *this;} /** *

The type of ML compute instance running on the notebook instance.

*/ inline const InstanceType& GetInstanceType() const{ return m_instanceType; } /** *

The type of ML compute instance running on the notebook instance.

*/ inline void SetInstanceType(const InstanceType& value) { m_instanceType = value; } /** *

The type of ML compute instance running on the notebook instance.

*/ inline void SetInstanceType(InstanceType&& value) { m_instanceType = std::move(value); } /** *

The type of ML compute instance running on the notebook instance.

*/ inline DescribeNotebookInstanceResult& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;} /** *

The type of ML compute instance running on the notebook instance.

*/ inline DescribeNotebookInstanceResult& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;} /** *

The ID of the VPC subnet.

*/ inline const Aws::String& GetSubnetId() const{ return m_subnetId; } /** *

The ID of the VPC subnet.

*/ inline void SetSubnetId(const Aws::String& value) { m_subnetId = value; } /** *

The ID of the VPC subnet.

*/ inline void SetSubnetId(Aws::String&& value) { m_subnetId = std::move(value); } /** *

The ID of the VPC subnet.

*/ inline void SetSubnetId(const char* value) { m_subnetId.assign(value); } /** *

The ID of the VPC subnet.

*/ inline DescribeNotebookInstanceResult& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;} /** *

The ID of the VPC subnet.

*/ inline DescribeNotebookInstanceResult& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;} /** *

The ID of the VPC subnet.

*/ inline DescribeNotebookInstanceResult& WithSubnetId(const char* value) { SetSubnetId(value); return *this;} /** *

The IDs of the VPC security groups.

*/ inline const Aws::Vector& GetSecurityGroups() const{ return m_securityGroups; } /** *

The IDs of the VPC security groups.

*/ inline void SetSecurityGroups(const Aws::Vector& value) { m_securityGroups = value; } /** *

The IDs of the VPC security groups.

*/ inline void SetSecurityGroups(Aws::Vector&& value) { m_securityGroups = std::move(value); } /** *

The IDs of the VPC security groups.

*/ inline DescribeNotebookInstanceResult& WithSecurityGroups(const Aws::Vector& value) { SetSecurityGroups(value); return *this;} /** *

The IDs of the VPC security groups.

*/ inline DescribeNotebookInstanceResult& WithSecurityGroups(Aws::Vector&& value) { SetSecurityGroups(std::move(value)); return *this;} /** *

The IDs of the VPC security groups.

*/ inline DescribeNotebookInstanceResult& AddSecurityGroups(const Aws::String& value) { m_securityGroups.push_back(value); return *this; } /** *

The IDs of the VPC security groups.

*/ inline DescribeNotebookInstanceResult& AddSecurityGroups(Aws::String&& value) { m_securityGroups.push_back(std::move(value)); return *this; } /** *

The IDs of the VPC security groups.

*/ inline DescribeNotebookInstanceResult& AddSecurityGroups(const char* value) { m_securityGroups.push_back(value); return *this; } /** *

The Amazon Resource Name (ARN) of the IAM role associated with the instance. *

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of the IAM role associated with the instance. *

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } /** *

The Amazon Resource Name (ARN) of the IAM role associated with the instance. *

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the IAM role associated with the instance. *

*/ inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the IAM role associated with the instance. *

*/ inline DescribeNotebookInstanceResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role associated with the instance. *

*/ inline DescribeNotebookInstanceResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role associated with the instance. *

*/ inline DescribeNotebookInstanceResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

The Amazon Web Services KMS key ID SageMaker uses to encrypt data when * storing it on the ML storage volume attached to the instance.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

The Amazon Web Services KMS key ID SageMaker uses to encrypt data when * storing it on the ML storage volume attached to the instance.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; } /** *

The Amazon Web Services KMS key ID SageMaker uses to encrypt data when * storing it on the ML storage volume attached to the instance.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); } /** *

The Amazon Web Services KMS key ID SageMaker uses to encrypt data when * storing it on the ML storage volume attached to the instance.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); } /** *

The Amazon Web Services KMS key ID SageMaker uses to encrypt data when * storing it on the ML storage volume attached to the instance.

*/ inline DescribeNotebookInstanceResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

The Amazon Web Services KMS key ID SageMaker uses to encrypt data when * storing it on the ML storage volume attached to the instance.

*/ inline DescribeNotebookInstanceResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

The Amazon Web Services KMS key ID SageMaker uses to encrypt data when * storing it on the ML storage volume attached to the instance.

*/ inline DescribeNotebookInstanceResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *

The network interface IDs that SageMaker created at the time of creating the * instance.

*/ inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; } /** *

The network interface IDs that SageMaker created at the time of creating the * instance.

*/ inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceId = value; } /** *

The network interface IDs that SageMaker created at the time of creating the * instance.

*/ inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceId = std::move(value); } /** *

The network interface IDs that SageMaker created at the time of creating the * instance.

*/ inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceId.assign(value); } /** *

The network interface IDs that SageMaker created at the time of creating the * instance.

*/ inline DescribeNotebookInstanceResult& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;} /** *

The network interface IDs that SageMaker created at the time of creating the * instance.

*/ inline DescribeNotebookInstanceResult& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;} /** *

The network interface IDs that SageMaker created at the time of creating the * instance.

*/ inline DescribeNotebookInstanceResult& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;} /** *

A timestamp. Use this parameter to retrieve the time when the notebook * instance was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

A timestamp. Use this parameter to retrieve the time when the notebook * instance was last modified.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; } /** *

A timestamp. Use this parameter to retrieve the time when the notebook * instance was last modified.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); } /** *

A timestamp. Use this parameter to retrieve the time when the notebook * instance was last modified.

*/ inline DescribeNotebookInstanceResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

A timestamp. Use this parameter to retrieve the time when the notebook * instance was last modified.

*/ inline DescribeNotebookInstanceResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

A timestamp. Use this parameter to return the time when the notebook instance * was created

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

A timestamp. Use this parameter to return the time when the notebook instance * was created

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

A timestamp. Use this parameter to return the time when the notebook instance * was created

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

A timestamp. Use this parameter to return the time when the notebook instance * was created

*/ inline DescribeNotebookInstanceResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

A timestamp. Use this parameter to return the time when the notebook instance * was created

*/ inline DescribeNotebookInstanceResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

Returns the name of a notebook instance lifecycle configuration.

For * information about notebook instance lifestyle configurations, see Step * 2.1: (Optional) Customize a Notebook Instance

*/ inline const Aws::String& GetNotebookInstanceLifecycleConfigName() const{ return m_notebookInstanceLifecycleConfigName; } /** *

Returns the name of a notebook instance lifecycle configuration.

For * information about notebook instance lifestyle configurations, see Step * 2.1: (Optional) Customize a Notebook Instance

*/ inline void SetNotebookInstanceLifecycleConfigName(const Aws::String& value) { m_notebookInstanceLifecycleConfigName = value; } /** *

Returns the name of a notebook instance lifecycle configuration.

For * information about notebook instance lifestyle configurations, see Step * 2.1: (Optional) Customize a Notebook Instance

*/ inline void SetNotebookInstanceLifecycleConfigName(Aws::String&& value) { m_notebookInstanceLifecycleConfigName = std::move(value); } /** *

Returns the name of a notebook instance lifecycle configuration.

For * information about notebook instance lifestyle configurations, see Step * 2.1: (Optional) Customize a Notebook Instance

*/ inline void SetNotebookInstanceLifecycleConfigName(const char* value) { m_notebookInstanceLifecycleConfigName.assign(value); } /** *

Returns the name of a notebook instance lifecycle configuration.

For * information about notebook instance lifestyle configurations, see Step * 2.1: (Optional) Customize a Notebook Instance

*/ inline DescribeNotebookInstanceResult& WithNotebookInstanceLifecycleConfigName(const Aws::String& value) { SetNotebookInstanceLifecycleConfigName(value); return *this;} /** *

Returns the name of a notebook instance lifecycle configuration.

For * information about notebook instance lifestyle configurations, see Step * 2.1: (Optional) Customize a Notebook Instance

*/ inline DescribeNotebookInstanceResult& WithNotebookInstanceLifecycleConfigName(Aws::String&& value) { SetNotebookInstanceLifecycleConfigName(std::move(value)); return *this;} /** *

Returns the name of a notebook instance lifecycle configuration.

For * information about notebook instance lifestyle configurations, see Step * 2.1: (Optional) Customize a Notebook Instance

*/ inline DescribeNotebookInstanceResult& WithNotebookInstanceLifecycleConfigName(const char* value) { SetNotebookInstanceLifecycleConfigName(value); return *this;} /** *

Describes whether SageMaker provides internet access to the notebook * instance. If this value is set to Disabled, the notebook instance does * not have internet access, and cannot connect to SageMaker training and endpoint * services.

For more information, see Notebook * Instances Are Internet-Enabled by Default.

*/ inline const DirectInternetAccess& GetDirectInternetAccess() const{ return m_directInternetAccess; } /** *

Describes whether SageMaker provides internet access to the notebook * instance. If this value is set to Disabled, the notebook instance does * not have internet access, and cannot connect to SageMaker training and endpoint * services.

For more information, see Notebook * Instances Are Internet-Enabled by Default.

*/ inline void SetDirectInternetAccess(const DirectInternetAccess& value) { m_directInternetAccess = value; } /** *

Describes whether SageMaker provides internet access to the notebook * instance. If this value is set to Disabled, the notebook instance does * not have internet access, and cannot connect to SageMaker training and endpoint * services.

For more information, see Notebook * Instances Are Internet-Enabled by Default.

*/ inline void SetDirectInternetAccess(DirectInternetAccess&& value) { m_directInternetAccess = std::move(value); } /** *

Describes whether SageMaker provides internet access to the notebook * instance. If this value is set to Disabled, the notebook instance does * not have internet access, and cannot connect to SageMaker training and endpoint * services.

For more information, see Notebook * Instances Are Internet-Enabled by Default.

*/ inline DescribeNotebookInstanceResult& WithDirectInternetAccess(const DirectInternetAccess& value) { SetDirectInternetAccess(value); return *this;} /** *

Describes whether SageMaker provides internet access to the notebook * instance. If this value is set to Disabled, the notebook instance does * not have internet access, and cannot connect to SageMaker training and endpoint * services.

For more information, see Notebook * Instances Are Internet-Enabled by Default.

*/ inline DescribeNotebookInstanceResult& WithDirectInternetAccess(DirectInternetAccess&& value) { SetDirectInternetAccess(std::move(value)); return *this;} /** *

The size, in GB, of the ML storage volume attached to the notebook * instance.

*/ inline int GetVolumeSizeInGB() const{ return m_volumeSizeInGB; } /** *

The size, in GB, of the ML storage volume attached to the notebook * instance.

*/ inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGB = value; } /** *

The size, in GB, of the ML storage volume attached to the notebook * instance.

*/ inline DescribeNotebookInstanceResult& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;} /** *

A list of the Elastic Inference (EI) instance types associated with this * notebook instance. Currently only one EI instance type can be associated with a * notebook instance. For more information, see Using Elastic * Inference in Amazon SageMaker.

*/ inline const Aws::Vector& GetAcceleratorTypes() const{ return m_acceleratorTypes; } /** *

A list of the Elastic Inference (EI) instance types associated with this * notebook instance. Currently only one EI instance type can be associated with a * notebook instance. For more information, see Using Elastic * Inference in Amazon SageMaker.

*/ inline void SetAcceleratorTypes(const Aws::Vector& value) { m_acceleratorTypes = value; } /** *

A list of the Elastic Inference (EI) instance types associated with this * notebook instance. Currently only one EI instance type can be associated with a * notebook instance. For more information, see Using Elastic * Inference in Amazon SageMaker.

*/ inline void SetAcceleratorTypes(Aws::Vector&& value) { m_acceleratorTypes = std::move(value); } /** *

A list of the Elastic Inference (EI) instance types associated with this * notebook instance. Currently only one EI instance type can be associated with a * notebook instance. For more information, see Using Elastic * Inference in Amazon SageMaker.

*/ inline DescribeNotebookInstanceResult& WithAcceleratorTypes(const Aws::Vector& value) { SetAcceleratorTypes(value); return *this;} /** *

A list of the Elastic Inference (EI) instance types associated with this * notebook instance. Currently only one EI instance type can be associated with a * notebook instance. For more information, see Using Elastic * Inference in Amazon SageMaker.

*/ inline DescribeNotebookInstanceResult& WithAcceleratorTypes(Aws::Vector&& value) { SetAcceleratorTypes(std::move(value)); return *this;} /** *

A list of the Elastic Inference (EI) instance types associated with this * notebook instance. Currently only one EI instance type can be associated with a * notebook instance. For more information, see Using Elastic * Inference in Amazon SageMaker.

*/ inline DescribeNotebookInstanceResult& AddAcceleratorTypes(const NotebookInstanceAcceleratorType& value) { m_acceleratorTypes.push_back(value); return *this; } /** *

A list of the Elastic Inference (EI) instance types associated with this * notebook instance. Currently only one EI instance type can be associated with a * notebook instance. For more information, see Using Elastic * Inference in Amazon SageMaker.

*/ inline DescribeNotebookInstanceResult& AddAcceleratorTypes(NotebookInstanceAcceleratorType&& value) { m_acceleratorTypes.push_back(std::move(value)); return *this; } /** *

The Git repository associated with the notebook instance as its default code * repository. This can be either the name of a Git repository stored as a resource * in your account, or the URL of a Git repository in Amazon * Web Services CodeCommit or in any other Git repository. When you open a * notebook instance, it opens in the directory that contains this repository. For * more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline const Aws::String& GetDefaultCodeRepository() const{ return m_defaultCodeRepository; } /** *

The Git repository associated with the notebook instance as its default code * repository. This can be either the name of a Git repository stored as a resource * in your account, or the URL of a Git repository in Amazon * Web Services CodeCommit or in any other Git repository. When you open a * notebook instance, it opens in the directory that contains this repository. For * more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline void SetDefaultCodeRepository(const Aws::String& value) { m_defaultCodeRepository = value; } /** *

The Git repository associated with the notebook instance as its default code * repository. This can be either the name of a Git repository stored as a resource * in your account, or the URL of a Git repository in Amazon * Web Services CodeCommit or in any other Git repository. When you open a * notebook instance, it opens in the directory that contains this repository. For * more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline void SetDefaultCodeRepository(Aws::String&& value) { m_defaultCodeRepository = std::move(value); } /** *

The Git repository associated with the notebook instance as its default code * repository. This can be either the name of a Git repository stored as a resource * in your account, or the URL of a Git repository in Amazon * Web Services CodeCommit or in any other Git repository. When you open a * notebook instance, it opens in the directory that contains this repository. For * more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline void SetDefaultCodeRepository(const char* value) { m_defaultCodeRepository.assign(value); } /** *

The Git repository associated with the notebook instance as its default code * repository. This can be either the name of a Git repository stored as a resource * in your account, or the URL of a Git repository in Amazon * Web Services CodeCommit or in any other Git repository. When you open a * notebook instance, it opens in the directory that contains this repository. For * more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline DescribeNotebookInstanceResult& WithDefaultCodeRepository(const Aws::String& value) { SetDefaultCodeRepository(value); return *this;} /** *

The Git repository associated with the notebook instance as its default code * repository. This can be either the name of a Git repository stored as a resource * in your account, or the URL of a Git repository in Amazon * Web Services CodeCommit or in any other Git repository. When you open a * notebook instance, it opens in the directory that contains this repository. For * more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline DescribeNotebookInstanceResult& WithDefaultCodeRepository(Aws::String&& value) { SetDefaultCodeRepository(std::move(value)); return *this;} /** *

The Git repository associated with the notebook instance as its default code * repository. This can be either the name of a Git repository stored as a resource * in your account, or the URL of a Git repository in Amazon * Web Services CodeCommit or in any other Git repository. When you open a * notebook instance, it opens in the directory that contains this repository. For * more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline DescribeNotebookInstanceResult& WithDefaultCodeRepository(const char* value) { SetDefaultCodeRepository(value); return *this;} /** *

An array of up to three Git repositories associated with the notebook * instance. These can be either the names of Git repositories stored as resources * in your account, or the URL of Git repositories in Amazon * Web Services CodeCommit or in any other Git repository. These repositories * are cloned at the same level as the default repository of your notebook * instance. For more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline const Aws::Vector& GetAdditionalCodeRepositories() const{ return m_additionalCodeRepositories; } /** *

An array of up to three Git repositories associated with the notebook * instance. These can be either the names of Git repositories stored as resources * in your account, or the URL of Git repositories in Amazon * Web Services CodeCommit or in any other Git repository. These repositories * are cloned at the same level as the default repository of your notebook * instance. For more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline void SetAdditionalCodeRepositories(const Aws::Vector& value) { m_additionalCodeRepositories = value; } /** *

An array of up to three Git repositories associated with the notebook * instance. These can be either the names of Git repositories stored as resources * in your account, or the URL of Git repositories in Amazon * Web Services CodeCommit or in any other Git repository. These repositories * are cloned at the same level as the default repository of your notebook * instance. For more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline void SetAdditionalCodeRepositories(Aws::Vector&& value) { m_additionalCodeRepositories = std::move(value); } /** *

An array of up to three Git repositories associated with the notebook * instance. These can be either the names of Git repositories stored as resources * in your account, or the URL of Git repositories in Amazon * Web Services CodeCommit or in any other Git repository. These repositories * are cloned at the same level as the default repository of your notebook * instance. For more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline DescribeNotebookInstanceResult& WithAdditionalCodeRepositories(const Aws::Vector& value) { SetAdditionalCodeRepositories(value); return *this;} /** *

An array of up to three Git repositories associated with the notebook * instance. These can be either the names of Git repositories stored as resources * in your account, or the URL of Git repositories in Amazon * Web Services CodeCommit or in any other Git repository. These repositories * are cloned at the same level as the default repository of your notebook * instance. For more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline DescribeNotebookInstanceResult& WithAdditionalCodeRepositories(Aws::Vector&& value) { SetAdditionalCodeRepositories(std::move(value)); return *this;} /** *

An array of up to three Git repositories associated with the notebook * instance. These can be either the names of Git repositories stored as resources * in your account, or the URL of Git repositories in Amazon * Web Services CodeCommit or in any other Git repository. These repositories * are cloned at the same level as the default repository of your notebook * instance. For more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline DescribeNotebookInstanceResult& AddAdditionalCodeRepositories(const Aws::String& value) { m_additionalCodeRepositories.push_back(value); return *this; } /** *

An array of up to three Git repositories associated with the notebook * instance. These can be either the names of Git repositories stored as resources * in your account, or the URL of Git repositories in Amazon * Web Services CodeCommit or in any other Git repository. These repositories * are cloned at the same level as the default repository of your notebook * instance. For more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline DescribeNotebookInstanceResult& AddAdditionalCodeRepositories(Aws::String&& value) { m_additionalCodeRepositories.push_back(std::move(value)); return *this; } /** *

An array of up to three Git repositories associated with the notebook * instance. These can be either the names of Git repositories stored as resources * in your account, or the URL of Git repositories in Amazon * Web Services CodeCommit or in any other Git repository. These repositories * are cloned at the same level as the default repository of your notebook * instance. For more information, see Associating * Git Repositories with SageMaker Notebook Instances.

*/ inline DescribeNotebookInstanceResult& AddAdditionalCodeRepositories(const char* value) { m_additionalCodeRepositories.push_back(value); return *this; } /** *

Whether root access is enabled or disabled for users of the notebook * instance.

Lifecycle configurations need root access to be able to * set up a notebook instance. Because of this, lifecycle configurations associated * with a notebook instance always run with root access even if you disable root * access for users.

*/ inline const RootAccess& GetRootAccess() const{ return m_rootAccess; } /** *

Whether root access is enabled or disabled for users of the notebook * instance.

Lifecycle configurations need root access to be able to * set up a notebook instance. Because of this, lifecycle configurations associated * with a notebook instance always run with root access even if you disable root * access for users.

*/ inline void SetRootAccess(const RootAccess& value) { m_rootAccess = value; } /** *

Whether root access is enabled or disabled for users of the notebook * instance.

Lifecycle configurations need root access to be able to * set up a notebook instance. Because of this, lifecycle configurations associated * with a notebook instance always run with root access even if you disable root * access for users.

*/ inline void SetRootAccess(RootAccess&& value) { m_rootAccess = std::move(value); } /** *

Whether root access is enabled or disabled for users of the notebook * instance.

Lifecycle configurations need root access to be able to * set up a notebook instance. Because of this, lifecycle configurations associated * with a notebook instance always run with root access even if you disable root * access for users.

*/ inline DescribeNotebookInstanceResult& WithRootAccess(const RootAccess& value) { SetRootAccess(value); return *this;} /** *

Whether root access is enabled or disabled for users of the notebook * instance.

Lifecycle configurations need root access to be able to * set up a notebook instance. Because of this, lifecycle configurations associated * with a notebook instance always run with root access even if you disable root * access for users.

*/ inline DescribeNotebookInstanceResult& WithRootAccess(RootAccess&& value) { SetRootAccess(std::move(value)); return *this;} /** *

The platform identifier of the notebook instance runtime environment.

*/ inline const Aws::String& GetPlatformIdentifier() const{ return m_platformIdentifier; } /** *

The platform identifier of the notebook instance runtime environment.

*/ inline void SetPlatformIdentifier(const Aws::String& value) { m_platformIdentifier = value; } /** *

The platform identifier of the notebook instance runtime environment.

*/ inline void SetPlatformIdentifier(Aws::String&& value) { m_platformIdentifier = std::move(value); } /** *

The platform identifier of the notebook instance runtime environment.

*/ inline void SetPlatformIdentifier(const char* value) { m_platformIdentifier.assign(value); } /** *

The platform identifier of the notebook instance runtime environment.

*/ inline DescribeNotebookInstanceResult& WithPlatformIdentifier(const Aws::String& value) { SetPlatformIdentifier(value); return *this;} /** *

The platform identifier of the notebook instance runtime environment.

*/ inline DescribeNotebookInstanceResult& WithPlatformIdentifier(Aws::String&& value) { SetPlatformIdentifier(std::move(value)); return *this;} /** *

The platform identifier of the notebook instance runtime environment.

*/ inline DescribeNotebookInstanceResult& WithPlatformIdentifier(const char* value) { SetPlatformIdentifier(value); return *this;} /** *

Information on the IMDS configuration of the notebook instance

*/ inline const InstanceMetadataServiceConfiguration& GetInstanceMetadataServiceConfiguration() const{ return m_instanceMetadataServiceConfiguration; } /** *

Information on the IMDS configuration of the notebook instance

*/ inline void SetInstanceMetadataServiceConfiguration(const InstanceMetadataServiceConfiguration& value) { m_instanceMetadataServiceConfiguration = value; } /** *

Information on the IMDS configuration of the notebook instance

*/ inline void SetInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfiguration&& value) { m_instanceMetadataServiceConfiguration = std::move(value); } /** *

Information on the IMDS configuration of the notebook instance

*/ inline DescribeNotebookInstanceResult& WithInstanceMetadataServiceConfiguration(const InstanceMetadataServiceConfiguration& value) { SetInstanceMetadataServiceConfiguration(value); return *this;} /** *

Information on the IMDS configuration of the notebook instance

*/ inline DescribeNotebookInstanceResult& WithInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfiguration&& value) { SetInstanceMetadataServiceConfiguration(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeNotebookInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeNotebookInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeNotebookInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_notebookInstanceArn; Aws::String m_notebookInstanceName; NotebookInstanceStatus m_notebookInstanceStatus; Aws::String m_failureReason; Aws::String m_url; InstanceType m_instanceType; Aws::String m_subnetId; Aws::Vector m_securityGroups; Aws::String m_roleArn; Aws::String m_kmsKeyId; Aws::String m_networkInterfaceId; Aws::Utils::DateTime m_lastModifiedTime; Aws::Utils::DateTime m_creationTime; Aws::String m_notebookInstanceLifecycleConfigName; DirectInternetAccess m_directInternetAccess; int m_volumeSizeInGB; Aws::Vector m_acceleratorTypes; Aws::String m_defaultCodeRepository; Aws::Vector m_additionalCodeRepositories; RootAccess m_rootAccess; Aws::String m_platformIdentifier; InstanceMetadataServiceConfiguration m_instanceMetadataServiceConfiguration; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws