/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

Provides details about an Amazon SageMaker notebook instance.

See * Also:

AWS * API Reference

*/ class AwsSageMakerNotebookInstanceDetails { public: AWS_SECURITYHUB_API AwsSageMakerNotebookInstanceDetails(); AWS_SECURITYHUB_API AwsSageMakerNotebookInstanceDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsSageMakerNotebookInstanceDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A list of Amazon Elastic Inference instance types to associate with the * notebook instance. Currently, only one instance type can be associated with a * notebook instance.

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

A list of Amazon Elastic Inference instance types to associate with the * notebook instance. Currently, only one instance type can be associated with a * notebook instance.

*/ inline bool AcceleratorTypesHasBeenSet() const { return m_acceleratorTypesHasBeenSet; } /** *

A list of Amazon Elastic Inference instance types to associate with the * notebook instance. Currently, only one instance type can be associated with a * notebook instance.

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

A list of Amazon Elastic Inference instance types to associate with the * notebook instance. Currently, only one instance type can be associated with a * notebook instance.

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

A list of Amazon Elastic Inference instance types to associate with the * notebook instance. Currently, only one instance type can be associated with a * notebook instance.

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

A list of Amazon Elastic Inference instance types to associate with the * notebook instance. Currently, only one instance type can be associated with a * notebook instance.

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

A list of Amazon Elastic Inference instance types to associate with the * notebook instance. Currently, only one instance type can be associated with a * notebook instance.

*/ inline AwsSageMakerNotebookInstanceDetails& AddAcceleratorTypes(const Aws::String& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(value); return *this; } /** *

A list of Amazon Elastic Inference instance types to associate with the * notebook instance. Currently, only one instance type can be associated with a * notebook instance.

*/ inline AwsSageMakerNotebookInstanceDetails& AddAcceleratorTypes(Aws::String&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(std::move(value)); return *this; } /** *

A list of Amazon Elastic Inference instance types to associate with the * notebook instance. Currently, only one instance type can be associated with a * notebook instance.

*/ inline AwsSageMakerNotebookInstanceDetails& AddAcceleratorTypes(const char* value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.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 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 in the Amazon * SageMaker Developer Guide.

*/ 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 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 in the Amazon * SageMaker Developer Guide.

*/ inline bool AdditionalCodeRepositoriesHasBeenSet() const { return m_additionalCodeRepositoriesHasBeenSet; } /** *

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 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 in the Amazon * SageMaker Developer Guide.

*/ inline void SetAdditionalCodeRepositories(const Aws::Vector& value) { m_additionalCodeRepositoriesHasBeenSet = true; 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 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 in the Amazon * SageMaker Developer Guide.

*/ inline void SetAdditionalCodeRepositories(Aws::Vector&& value) { m_additionalCodeRepositoriesHasBeenSet = true; 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 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 in the Amazon * SageMaker Developer Guide.

*/ inline AwsSageMakerNotebookInstanceDetails& 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 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 in the Amazon * SageMaker Developer Guide.

*/ inline AwsSageMakerNotebookInstanceDetails& 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 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 in the Amazon * SageMaker Developer Guide.

*/ inline AwsSageMakerNotebookInstanceDetails& AddAdditionalCodeRepositories(const Aws::String& value) { m_additionalCodeRepositoriesHasBeenSet = true; 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 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 in the Amazon * SageMaker Developer Guide.

*/ inline AwsSageMakerNotebookInstanceDetails& AddAdditionalCodeRepositories(Aws::String&& value) { m_additionalCodeRepositoriesHasBeenSet = true; 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 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 in the Amazon * SageMaker Developer Guide.

*/ inline AwsSageMakerNotebookInstanceDetails& AddAdditionalCodeRepositories(const char* value) { m_additionalCodeRepositoriesHasBeenSet = true; m_additionalCodeRepositories.push_back(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 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 in the Amazon * SageMaker Developer Guide.

*/ 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 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 in the Amazon * SageMaker Developer Guide.

*/ inline bool DefaultCodeRepositoryHasBeenSet() const { return m_defaultCodeRepositoryHasBeenSet; } /** *

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 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 in the Amazon * SageMaker Developer Guide.

*/ inline void SetDefaultCodeRepository(const Aws::String& value) { m_defaultCodeRepositoryHasBeenSet = true; 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 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 in the Amazon * SageMaker Developer Guide.

*/ inline void SetDefaultCodeRepository(Aws::String&& value) { m_defaultCodeRepositoryHasBeenSet = true; 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 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 in the Amazon * SageMaker Developer Guide.

*/ inline void SetDefaultCodeRepository(const char* value) { m_defaultCodeRepositoryHasBeenSet = true; 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 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 in the Amazon * SageMaker Developer Guide.

*/ inline AwsSageMakerNotebookInstanceDetails& 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 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 in the Amazon * SageMaker Developer Guide.

*/ inline AwsSageMakerNotebookInstanceDetails& 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 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 in the Amazon * SageMaker Developer Guide.

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

Sets whether SageMaker provides internet access to the notebook instance. If * you set this to Disabled, this notebook instance is able to access * resources only in your VPC, and is not be able to connect to SageMaker training * and endpoint services unless you configure a Network Address Translation (NAT) * Gateway in your VPC.

*/ inline const Aws::String& GetDirectInternetAccess() const{ return m_directInternetAccess; } /** *

Sets whether SageMaker provides internet access to the notebook instance. If * you set this to Disabled, this notebook instance is able to access * resources only in your VPC, and is not be able to connect to SageMaker training * and endpoint services unless you configure a Network Address Translation (NAT) * Gateway in your VPC.

*/ inline bool DirectInternetAccessHasBeenSet() const { return m_directInternetAccessHasBeenSet; } /** *

Sets whether SageMaker provides internet access to the notebook instance. If * you set this to Disabled, this notebook instance is able to access * resources only in your VPC, and is not be able to connect to SageMaker training * and endpoint services unless you configure a Network Address Translation (NAT) * Gateway in your VPC.

*/ inline void SetDirectInternetAccess(const Aws::String& value) { m_directInternetAccessHasBeenSet = true; m_directInternetAccess = value; } /** *

Sets whether SageMaker provides internet access to the notebook instance. If * you set this to Disabled, this notebook instance is able to access * resources only in your VPC, and is not be able to connect to SageMaker training * and endpoint services unless you configure a Network Address Translation (NAT) * Gateway in your VPC.

*/ inline void SetDirectInternetAccess(Aws::String&& value) { m_directInternetAccessHasBeenSet = true; m_directInternetAccess = std::move(value); } /** *

Sets whether SageMaker provides internet access to the notebook instance. If * you set this to Disabled, this notebook instance is able to access * resources only in your VPC, and is not be able to connect to SageMaker training * and endpoint services unless you configure a Network Address Translation (NAT) * Gateway in your VPC.

*/ inline void SetDirectInternetAccess(const char* value) { m_directInternetAccessHasBeenSet = true; m_directInternetAccess.assign(value); } /** *

Sets whether SageMaker provides internet access to the notebook instance. If * you set this to Disabled, this notebook instance is able to access * resources only in your VPC, and is not be able to connect to SageMaker training * and endpoint services unless you configure a Network Address Translation (NAT) * Gateway in your VPC.

*/ inline AwsSageMakerNotebookInstanceDetails& WithDirectInternetAccess(const Aws::String& value) { SetDirectInternetAccess(value); return *this;} /** *

Sets whether SageMaker provides internet access to the notebook instance. If * you set this to Disabled, this notebook instance is able to access * resources only in your VPC, and is not be able to connect to SageMaker training * and endpoint services unless you configure a Network Address Translation (NAT) * Gateway in your VPC.

*/ inline AwsSageMakerNotebookInstanceDetails& WithDirectInternetAccess(Aws::String&& value) { SetDirectInternetAccess(std::move(value)); return *this;} /** *

Sets whether SageMaker provides internet access to the notebook instance. If * you set this to Disabled, this notebook instance is able to access * resources only in your VPC, and is not be able to connect to SageMaker training * and endpoint services unless you configure a Network Address Translation (NAT) * Gateway in your VPC.

*/ inline AwsSageMakerNotebookInstanceDetails& WithDirectInternetAccess(const char* value) { SetDirectInternetAccess(value); return *this;} /** *

If status of the instance is Failed, the reason it failed.

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

If status of the instance is Failed, the reason it failed.

*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *

If status of the instance is Failed, the reason it failed.

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

If status of the instance is Failed, the reason it failed.

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

If status of the instance is Failed, the reason it failed.

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

If status of the instance is Failed, the reason it failed.

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

If status of the instance is Failed, the reason it failed.

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

If status of the instance is Failed, the reason it failed.

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

Information on the IMDS configuration of the notebook instance.

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

Information on the IMDS configuration of the notebook instance.

*/ inline bool InstanceMetadataServiceConfigurationHasBeenSet() const { return m_instanceMetadataServiceConfigurationHasBeenSet; } /** *

Information on the IMDS configuration of the notebook instance.

*/ inline void SetInstanceMetadataServiceConfiguration(const AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails& value) { m_instanceMetadataServiceConfigurationHasBeenSet = true; m_instanceMetadataServiceConfiguration = value; } /** *

Information on the IMDS configuration of the notebook instance.

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

Information on the IMDS configuration of the notebook instance.

*/ inline AwsSageMakerNotebookInstanceDetails& WithInstanceMetadataServiceConfiguration(const AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails& value) { SetInstanceMetadataServiceConfiguration(value); return *this;} /** *

Information on the IMDS configuration of the notebook instance.

*/ inline AwsSageMakerNotebookInstanceDetails& WithInstanceMetadataServiceConfiguration(AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails&& value) { SetInstanceMetadataServiceConfiguration(std::move(value)); return *this;} /** *

The type of machine learning (ML) compute instance to launch for the * notebook instance.

*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *

The type of machine learning (ML) compute instance to launch for the * notebook instance.

*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *

The type of machine learning (ML) compute instance to launch for the * notebook instance.

*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *

The type of machine learning (ML) compute instance to launch for the * notebook instance.

*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *

The type of machine learning (ML) compute instance to launch for the * notebook instance.

*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *

The type of machine learning (ML) compute instance to launch for the * notebook instance.

*/ inline AwsSageMakerNotebookInstanceDetails& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *

The type of machine learning (ML) compute instance to launch for the * notebook instance.

*/ inline AwsSageMakerNotebookInstanceDetails& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *

The type of machine learning (ML) compute instance to launch for the * notebook instance.

*/ inline AwsSageMakerNotebookInstanceDetails& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *

The Amazon Resource Name (ARN) of an Key Management Service (KMS) key that * SageMaker uses to encrypt data on the storage volume attached to your notebook * instance. The KMS key you provide must be enabled. For information, see Enabling * and disabling keys in the Key Management Service Developer Guide. *

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

The Amazon Resource Name (ARN) of an Key Management Service (KMS) key that * SageMaker uses to encrypt data on the storage volume attached to your notebook * instance. The KMS key you provide must be enabled. For information, see Enabling * and disabling keys in the Key Management Service Developer Guide. *

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *

The Amazon Resource Name (ARN) of an Key Management Service (KMS) key that * SageMaker uses to encrypt data on the storage volume attached to your notebook * instance. The KMS key you provide must be enabled. For information, see Enabling * and disabling keys in the Key Management Service Developer Guide. *

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

The Amazon Resource Name (ARN) of an Key Management Service (KMS) key that * SageMaker uses to encrypt data on the storage volume attached to your notebook * instance. The KMS key you provide must be enabled. For information, see Enabling * and disabling keys in the Key Management Service Developer Guide. *

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

The Amazon Resource Name (ARN) of an Key Management Service (KMS) key that * SageMaker uses to encrypt data on the storage volume attached to your notebook * instance. The KMS key you provide must be enabled. For information, see Enabling * and disabling keys in the Key Management Service Developer Guide. *

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

The Amazon Resource Name (ARN) of an Key Management Service (KMS) key that * SageMaker uses to encrypt data on the storage volume attached to your notebook * instance. The KMS key you provide must be enabled. For information, see Enabling * and disabling keys in the Key Management Service Developer Guide. *

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

The Amazon Resource Name (ARN) of an Key Management Service (KMS) key that * SageMaker uses to encrypt data on the storage volume attached to your notebook * instance. The KMS key you provide must be enabled. For information, see Enabling * and disabling keys in the Key Management Service Developer Guide. *

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

The Amazon Resource Name (ARN) of an Key Management Service (KMS) key that * SageMaker uses to encrypt data on the storage volume attached to your notebook * instance. The KMS key you provide must be enabled. For information, see Enabling * and disabling keys in the Key Management Service Developer Guide. *

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

The network interface ID that SageMaker created when the instance was * created.

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

The network interface ID that SageMaker created when the instance was * created.

*/ inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; } /** *

The network interface ID that SageMaker created when the instance was * created.

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

The network interface ID that SageMaker created when the instance was * created.

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

The network interface ID that SageMaker created when the instance was * created.

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

The network interface ID that SageMaker created when the instance was * created.

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

The network interface ID that SageMaker created when the instance was * created.

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

The network interface ID that SageMaker created when the instance was * created.

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

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 bool NotebookInstanceArnHasBeenSet() const { return m_notebookInstanceArnHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

The name of a notebook instance lifecycle configuration.

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

The name of a notebook instance lifecycle configuration.

*/ inline bool NotebookInstanceLifecycleConfigNameHasBeenSet() const { return m_notebookInstanceLifecycleConfigNameHasBeenSet; } /** *

The name of a notebook instance lifecycle configuration.

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

The name of a notebook instance lifecycle configuration.

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

The name of a notebook instance lifecycle configuration.

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

The name of a notebook instance lifecycle configuration.

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

The name of a notebook instance lifecycle configuration.

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

The name of a notebook instance lifecycle configuration.

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

The name of the new notebook instance.

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

The name of the new notebook instance.

*/ inline bool NotebookInstanceNameHasBeenSet() const { return m_notebookInstanceNameHasBeenSet; } /** *

The name of the new notebook instance.

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

The name of the new notebook instance.

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

The name of the new notebook instance.

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

The name of the new notebook instance.

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

The name of the new notebook instance.

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

The name of the new notebook instance.

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

The status of the notebook instance.

*/ inline const Aws::String& GetNotebookInstanceStatus() const{ return m_notebookInstanceStatus; } /** *

The status of the notebook instance.

*/ inline bool NotebookInstanceStatusHasBeenSet() const { return m_notebookInstanceStatusHasBeenSet; } /** *

The status of the notebook instance.

*/ inline void SetNotebookInstanceStatus(const Aws::String& value) { m_notebookInstanceStatusHasBeenSet = true; m_notebookInstanceStatus = value; } /** *

The status of the notebook instance.

*/ inline void SetNotebookInstanceStatus(Aws::String&& value) { m_notebookInstanceStatusHasBeenSet = true; m_notebookInstanceStatus = std::move(value); } /** *

The status of the notebook instance.

*/ inline void SetNotebookInstanceStatus(const char* value) { m_notebookInstanceStatusHasBeenSet = true; m_notebookInstanceStatus.assign(value); } /** *

The status of the notebook instance.

*/ inline AwsSageMakerNotebookInstanceDetails& WithNotebookInstanceStatus(const Aws::String& value) { SetNotebookInstanceStatus(value); return *this;} /** *

The status of the notebook instance.

*/ inline AwsSageMakerNotebookInstanceDetails& WithNotebookInstanceStatus(Aws::String&& value) { SetNotebookInstanceStatus(std::move(value)); return *this;} /** *

The status of the notebook instance.

*/ inline AwsSageMakerNotebookInstanceDetails& WithNotebookInstanceStatus(const char* value) { SetNotebookInstanceStatus(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 bool PlatformIdentifierHasBeenSet() const { return m_platformIdentifierHasBeenSet; } /** *

The platform identifier of the notebook instance runtime environment.

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

The platform identifier of the notebook instance runtime environment.

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

The platform identifier of the notebook instance runtime environment.

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

The platform identifier of the notebook instance runtime environment.

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

The platform identifier of the notebook instance runtime environment.

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

The platform identifier of the notebook instance runtime environment.

*/ inline AwsSageMakerNotebookInstanceDetails& WithPlatformIdentifier(const char* value) { SetPlatformIdentifier(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 bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

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

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

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

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; 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_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

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

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

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

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

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

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

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

*/ inline const Aws::String& GetRootAccess() const{ return m_rootAccess; } /** *

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

*/ inline bool RootAccessHasBeenSet() const { return m_rootAccessHasBeenSet; } /** *

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

*/ inline void SetRootAccess(const Aws::String& value) { m_rootAccessHasBeenSet = true; m_rootAccess = value; } /** *

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

*/ inline void SetRootAccess(Aws::String&& value) { m_rootAccessHasBeenSet = true; m_rootAccess = std::move(value); } /** *

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

*/ inline void SetRootAccess(const char* value) { m_rootAccessHasBeenSet = true; m_rootAccess.assign(value); } /** *

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

*/ inline AwsSageMakerNotebookInstanceDetails& WithRootAccess(const Aws::String& value) { SetRootAccess(value); return *this;} /** *

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

*/ inline AwsSageMakerNotebookInstanceDetails& WithRootAccess(Aws::String&& value) { SetRootAccess(std::move(value)); return *this;} /** *

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

*/ inline AwsSageMakerNotebookInstanceDetails& WithRootAccess(const char* value) { SetRootAccess(value); return *this;} /** *

The VPC security group IDs.

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

The VPC security group IDs.

*/ inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } /** *

The VPC security group IDs.

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

The VPC security group IDs.

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

The VPC security group IDs.

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

The VPC security group IDs.

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

The VPC security group IDs.

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

The VPC security group IDs.

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

The VPC security group IDs.

*/ inline AwsSageMakerNotebookInstanceDetails& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *

The ID of the VPC subnet to which you have a connectivity from your ML * compute instance.

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

The ID of the VPC subnet to which you have a connectivity from your ML * compute instance.

*/ inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; } /** *

The ID of the VPC subnet to which you have a connectivity from your ML * compute instance.

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

The ID of the VPC subnet to which you have a connectivity from your ML * compute instance.

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

The ID of the VPC subnet to which you have a connectivity from your ML * compute instance.

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

The ID of the VPC subnet to which you have a connectivity from your ML * compute instance.

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

The ID of the VPC subnet to which you have a connectivity from your ML * compute instance.

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

The ID of the VPC subnet to which you have a connectivity from your ML * compute instance.

*/ inline AwsSageMakerNotebookInstanceDetails& WithSubnetId(const char* value) { SetSubnetId(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 bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *

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_urlHasBeenSet = true; 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_urlHasBeenSet = true; 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_urlHasBeenSet = true; m_url.assign(value); } /** *

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

*/ inline AwsSageMakerNotebookInstanceDetails& 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 AwsSageMakerNotebookInstanceDetails& 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 AwsSageMakerNotebookInstanceDetails& WithUrl(const char* value) { SetUrl(value); return *this;} /** *

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

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

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

*/ inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; } /** *

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

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

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

*/ inline AwsSageMakerNotebookInstanceDetails& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;} private: Aws::Vector m_acceleratorTypes; bool m_acceleratorTypesHasBeenSet = false; Aws::Vector m_additionalCodeRepositories; bool m_additionalCodeRepositoriesHasBeenSet = false; Aws::String m_defaultCodeRepository; bool m_defaultCodeRepositoryHasBeenSet = false; Aws::String m_directInternetAccess; bool m_directInternetAccessHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails m_instanceMetadataServiceConfiguration; bool m_instanceMetadataServiceConfigurationHasBeenSet = false; Aws::String m_instanceType; bool m_instanceTypeHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; Aws::String m_networkInterfaceId; bool m_networkInterfaceIdHasBeenSet = false; Aws::String m_notebookInstanceArn; bool m_notebookInstanceArnHasBeenSet = false; Aws::String m_notebookInstanceLifecycleConfigName; bool m_notebookInstanceLifecycleConfigNameHasBeenSet = false; Aws::String m_notebookInstanceName; bool m_notebookInstanceNameHasBeenSet = false; Aws::String m_notebookInstanceStatus; bool m_notebookInstanceStatusHasBeenSet = false; Aws::String m_platformIdentifier; bool m_platformIdentifierHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::String m_rootAccess; bool m_rootAccessHasBeenSet = false; Aws::Vector m_securityGroups; bool m_securityGroupsHasBeenSet = false; Aws::String m_subnetId; bool m_subnetIdHasBeenSet = false; Aws::String m_url; bool m_urlHasBeenSet = false; int m_volumeSizeInGB; bool m_volumeSizeInGBHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws