/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides summary information for an SageMaker notebook
* instance.See Also:
AWS
* API Reference
The name of the notebook instance that you want a summary for.
*/ inline const Aws::String& GetNotebookInstanceName() const{ return m_notebookInstanceName; } /** *The name of the notebook instance that you want a summary for.
*/ inline bool NotebookInstanceNameHasBeenSet() const { return m_notebookInstanceNameHasBeenSet; } /** *The name of the notebook instance that you want a summary for.
*/ inline void SetNotebookInstanceName(const Aws::String& value) { m_notebookInstanceNameHasBeenSet = true; m_notebookInstanceName = value; } /** *The name of the notebook instance that you want a summary for.
*/ inline void SetNotebookInstanceName(Aws::String&& value) { m_notebookInstanceNameHasBeenSet = true; m_notebookInstanceName = std::move(value); } /** *The name of the notebook instance that you want a summary for.
*/ inline void SetNotebookInstanceName(const char* value) { m_notebookInstanceNameHasBeenSet = true; m_notebookInstanceName.assign(value); } /** *The name of the notebook instance that you want a summary for.
*/ inline NotebookInstanceSummary& WithNotebookInstanceName(const Aws::String& value) { SetNotebookInstanceName(value); return *this;} /** *The name of the notebook instance that you want a summary for.
*/ inline NotebookInstanceSummary& WithNotebookInstanceName(Aws::String&& value) { SetNotebookInstanceName(std::move(value)); return *this;} /** *The name of the notebook instance that you want a summary for.
*/ inline NotebookInstanceSummary& WithNotebookInstanceName(const char* value) { SetNotebookInstanceName(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 NotebookInstanceSummary& WithNotebookInstanceArn(const Aws::String& value) { SetNotebookInstanceArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the notebook instance.
*/ inline NotebookInstanceSummary& WithNotebookInstanceArn(Aws::String&& value) { SetNotebookInstanceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the notebook instance.
*/ inline NotebookInstanceSummary& WithNotebookInstanceArn(const char* value) { SetNotebookInstanceArn(value); return *this;} /** *The status of the notebook instance.
*/ inline const NotebookInstanceStatus& 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 NotebookInstanceStatus& value) { m_notebookInstanceStatusHasBeenSet = true; m_notebookInstanceStatus = value; } /** *The status of the notebook instance.
*/ inline void SetNotebookInstanceStatus(NotebookInstanceStatus&& value) { m_notebookInstanceStatusHasBeenSet = true; m_notebookInstanceStatus = std::move(value); } /** *The status of the notebook instance.
*/ inline NotebookInstanceSummary& WithNotebookInstanceStatus(const NotebookInstanceStatus& value) { SetNotebookInstanceStatus(value); return *this;} /** *The status of the notebook instance.
*/ inline NotebookInstanceSummary& WithNotebookInstanceStatus(NotebookInstanceStatus&& value) { SetNotebookInstanceStatus(std::move(value)); return *this;} /** *The URL that you use to connect to the Jupyter notebook 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 running in your * notebook instance.
*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *The URL that you use to connect to the Jupyter notebook 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 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 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 running in your * notebook instance.
*/ inline NotebookInstanceSummary& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *The URL that you use to connect to the Jupyter notebook running in your * notebook instance.
*/ inline NotebookInstanceSummary& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *The URL that you use to connect to the Jupyter notebook running in your * notebook instance.
*/ inline NotebookInstanceSummary& WithUrl(const char* value) { SetUrl(value); return *this;} /** *The type of ML compute instance that the notebook instance is running on.
*/ inline const InstanceType& GetInstanceType() const{ return m_instanceType; } /** *The type of ML compute instance that the notebook instance is running on.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *The type of ML compute instance that the notebook instance is running on.
*/ inline void SetInstanceType(const InstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *The type of ML compute instance that the notebook instance is running on.
*/ inline void SetInstanceType(InstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *The type of ML compute instance that the notebook instance is running on.
*/ inline NotebookInstanceSummary& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;} /** *The type of ML compute instance that the notebook instance is running on.
*/ inline NotebookInstanceSummary& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;} /** *A timestamp that shows when the notebook instance was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *A timestamp that shows when the notebook instance was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *A timestamp that shows when the notebook instance was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *A timestamp that shows when the notebook instance was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *A timestamp that shows when the notebook instance was created.
*/ inline NotebookInstanceSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *A timestamp that shows when the notebook instance was created.
*/ inline NotebookInstanceSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *A timestamp that shows when the notebook instance was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *A timestamp that shows when the notebook instance was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *A timestamp that shows when the notebook instance was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *A timestamp that shows when the notebook instance was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *A timestamp that shows when the notebook instance was last modified.
*/ inline NotebookInstanceSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *A timestamp that shows when the notebook instance was last modified.
*/ inline NotebookInstanceSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The name of a notebook instance lifecycle configuration associated with this * notebook instance.
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; } /** *The name of a notebook instance lifecycle configuration associated with this * notebook instance.
For information about notebook instance lifestyle * configurations, see Step * 2.1: (Optional) Customize a Notebook Instance.
*/ inline bool NotebookInstanceLifecycleConfigNameHasBeenSet() const { return m_notebookInstanceLifecycleConfigNameHasBeenSet; } /** *The name of a notebook instance lifecycle configuration associated with this * notebook instance.
For information about notebook instance lifestyle * configurations, see Step * 2.1: (Optional) Customize a Notebook Instance.
*/ inline void SetNotebookInstanceLifecycleConfigName(const Aws::String& value) { m_notebookInstanceLifecycleConfigNameHasBeenSet = true; m_notebookInstanceLifecycleConfigName = value; } /** *The name of a notebook instance lifecycle configuration associated with this * notebook instance.
For information about notebook instance lifestyle * configurations, see Step * 2.1: (Optional) Customize a Notebook Instance.
*/ inline void SetNotebookInstanceLifecycleConfigName(Aws::String&& value) { m_notebookInstanceLifecycleConfigNameHasBeenSet = true; m_notebookInstanceLifecycleConfigName = std::move(value); } /** *The name of a notebook instance lifecycle configuration associated with this * notebook instance.
For information about notebook instance lifestyle * configurations, see Step * 2.1: (Optional) Customize a Notebook Instance.
*/ inline void SetNotebookInstanceLifecycleConfigName(const char* value) { m_notebookInstanceLifecycleConfigNameHasBeenSet = true; m_notebookInstanceLifecycleConfigName.assign(value); } /** *The name of a notebook instance lifecycle configuration associated with this * notebook instance.
For information about notebook instance lifestyle * configurations, see Step * 2.1: (Optional) Customize a Notebook Instance.
*/ inline NotebookInstanceSummary& WithNotebookInstanceLifecycleConfigName(const Aws::String& value) { SetNotebookInstanceLifecycleConfigName(value); return *this;} /** *The name of a notebook instance lifecycle configuration associated with this * notebook instance.
For information about notebook instance lifestyle * configurations, see Step * 2.1: (Optional) Customize a Notebook Instance.
*/ inline NotebookInstanceSummary& WithNotebookInstanceLifecycleConfigName(Aws::String&& value) { SetNotebookInstanceLifecycleConfigName(std::move(value)); return *this;} /** *The name of a notebook instance lifecycle configuration associated with this * notebook instance.
For information about notebook instance lifestyle * configurations, see Step * 2.1: (Optional) Customize a Notebook Instance.
*/ inline NotebookInstanceSummary& WithNotebookInstanceLifecycleConfigName(const char* value) { SetNotebookInstanceLifecycleConfigName(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 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 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_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 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_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 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_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 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 NotebookInstanceSummary& 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 NotebookInstanceSummary& 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 NotebookInstanceSummary& 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::VectorAn 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 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 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::VectorAn 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::VectorAn 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 NotebookInstanceSummary& WithAdditionalCodeRepositories(const Aws::VectorAn 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 NotebookInstanceSummary& WithAdditionalCodeRepositories(Aws::VectorAn 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 NotebookInstanceSummary& 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 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 NotebookInstanceSummary& 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 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 NotebookInstanceSummary& AddAdditionalCodeRepositories(const char* value) { m_additionalCodeRepositoriesHasBeenSet = true; m_additionalCodeRepositories.push_back(value); return *this; } private: Aws::String m_notebookInstanceName; bool m_notebookInstanceNameHasBeenSet = false; Aws::String m_notebookInstanceArn; bool m_notebookInstanceArnHasBeenSet = false; NotebookInstanceStatus m_notebookInstanceStatus; bool m_notebookInstanceStatusHasBeenSet = false; Aws::String m_url; bool m_urlHasBeenSet = false; InstanceType m_instanceType; bool m_instanceTypeHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; Aws::String m_notebookInstanceLifecycleConfigName; bool m_notebookInstanceLifecycleConfigNameHasBeenSet = false; Aws::String m_defaultCodeRepository; bool m_defaultCodeRepositoryHasBeenSet = false; Aws::Vector