/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class CreateNotebookInstanceResult { public: AWS_SAGEMAKER_API CreateNotebookInstanceResult(); AWS_SAGEMAKER_API CreateNotebookInstanceResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API CreateNotebookInstanceResult& 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 CreateNotebookInstanceResult& WithNotebookInstanceArn(const Aws::String& value) { SetNotebookInstanceArn(value); return *this;} /** *

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

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

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

*/ inline CreateNotebookInstanceResult& WithNotebookInstanceArn(const char* value) { SetNotebookInstanceArn(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 CreateNotebookInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateNotebookInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateNotebookInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_notebookInstanceArn; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws