86 lines
3.0 KiB
C++
86 lines
3.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/sagemaker/SageMaker_EXPORTS.h>
|
|
#include <aws/sagemaker/SageMakerRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace SageMaker
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_SAGEMAKER_API DescribeNotebookInstanceRequest : public SageMakerRequest
|
|
{
|
|
public:
|
|
DescribeNotebookInstanceRequest();
|
|
|
|
// Service request name is the Operation name which will send this request out,
|
|
// each operation should has unique request name, so that we can get operation's name from this request.
|
|
// Note: this is not true for response, multiple operations may have the same response name,
|
|
// so we can not get operation's name from response.
|
|
inline virtual const char* GetServiceRequestName() const override { return "DescribeNotebookInstance"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>The name of the notebook instance that you want information about.</p>
|
|
*/
|
|
inline const Aws::String& GetNotebookInstanceName() const{ return m_notebookInstanceName; }
|
|
|
|
/**
|
|
* <p>The name of the notebook instance that you want information about.</p>
|
|
*/
|
|
inline bool NotebookInstanceNameHasBeenSet() const { return m_notebookInstanceNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the notebook instance that you want information about.</p>
|
|
*/
|
|
inline void SetNotebookInstanceName(const Aws::String& value) { m_notebookInstanceNameHasBeenSet = true; m_notebookInstanceName = value; }
|
|
|
|
/**
|
|
* <p>The name of the notebook instance that you want information about.</p>
|
|
*/
|
|
inline void SetNotebookInstanceName(Aws::String&& value) { m_notebookInstanceNameHasBeenSet = true; m_notebookInstanceName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the notebook instance that you want information about.</p>
|
|
*/
|
|
inline void SetNotebookInstanceName(const char* value) { m_notebookInstanceNameHasBeenSet = true; m_notebookInstanceName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the notebook instance that you want information about.</p>
|
|
*/
|
|
inline DescribeNotebookInstanceRequest& WithNotebookInstanceName(const Aws::String& value) { SetNotebookInstanceName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the notebook instance that you want information about.</p>
|
|
*/
|
|
inline DescribeNotebookInstanceRequest& WithNotebookInstanceName(Aws::String&& value) { SetNotebookInstanceName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the notebook instance that you want information about.</p>
|
|
*/
|
|
inline DescribeNotebookInstanceRequest& WithNotebookInstanceName(const char* value) { SetNotebookInstanceName(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_notebookInstanceName;
|
|
bool m_notebookInstanceNameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SageMaker
|
|
} // namespace Aws
|