7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/InstanceType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/RootAccess.h>
13#include <aws/sagemaker/model/InstanceMetadataServiceConfiguration.h>
14#include <aws/sagemaker/model/NotebookInstanceAcceleratorType.h>
50 inline void SetNotebookInstanceName(
const char* value) { m_notebookInstanceNameHasBeenSet =
true; m_notebookInstanceName.assign(value); }
80 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
97 inline void SetLifecycleConfigName(
const char* value) { m_lifecycleConfigNameHasBeenSet =
true; m_lifecycleConfigName.assign(value); }
127 inline void SetVolumeSizeInGB(
int value) { m_volumeSizeInGBHasBeenSet =
true; m_volumeSizeInGB = value; }
147 inline void SetDefaultCodeRepository(
const char* value) { m_defaultCodeRepositoryHasBeenSet =
true; m_defaultCodeRepository.assign(value); }
260 bool m_notebookInstanceNameHasBeenSet =
false;
263 bool m_instanceTypeHasBeenSet =
false;
266 bool m_roleArnHasBeenSet =
false;
269 bool m_lifecycleConfigNameHasBeenSet =
false;
271 bool m_disassociateLifecycleConfig;
272 bool m_disassociateLifecycleConfigHasBeenSet =
false;
274 int m_volumeSizeInGB;
275 bool m_volumeSizeInGBHasBeenSet =
false;
278 bool m_defaultCodeRepositoryHasBeenSet =
false;
281 bool m_additionalCodeRepositoriesHasBeenSet =
false;
284 bool m_acceleratorTypesHasBeenSet =
false;
286 bool m_disassociateAcceleratorTypes;
287 bool m_disassociateAcceleratorTypesHasBeenSet =
false;
289 bool m_disassociateDefaultCodeRepository;
290 bool m_disassociateDefaultCodeRepositoryHasBeenSet =
false;
292 bool m_disassociateAdditionalCodeRepositories;
293 bool m_disassociateAdditionalCodeRepositoriesHasBeenSet =
false;
296 bool m_rootAccessHasBeenSet =
false;
299 bool m_instanceMetadataServiceConfigurationHasBeenSet =
false;
void SetDisassociateAdditionalCodeRepositories(bool value)
UpdateNotebookInstanceRequest & WithAdditionalCodeRepositories(const Aws::Vector< Aws::String > &value)
UpdateNotebookInstanceRequest & AddAdditionalCodeRepositories(const Aws::String &value)
UpdateNotebookInstanceRequest & AddAdditionalCodeRepositories(Aws::String &&value)
void SetNotebookInstanceName(const Aws::String &value)
void SetAdditionalCodeRepositories(Aws::Vector< Aws::String > &&value)
UpdateNotebookInstanceRequest & AddAdditionalCodeRepositories(const char *value)
bool LifecycleConfigNameHasBeenSet() const
bool InstanceTypeHasBeenSet() const
void SetLifecycleConfigName(const char *value)
UpdateNotebookInstanceRequest & WithLifecycleConfigName(Aws::String &&value)
bool AdditionalCodeRepositoriesHasBeenSet() const
UpdateNotebookInstanceRequest & WithDisassociateAcceleratorTypes(bool value)
void SetRootAccess(const RootAccess &value)
void SetDisassociateAcceleratorTypes(bool value)
void SetRoleArn(Aws::String &&value)
bool InstanceMetadataServiceConfigurationHasBeenSet() const
void SetRootAccess(RootAccess &&value)
bool GetDisassociateDefaultCodeRepository() const
UpdateNotebookInstanceRequest & WithRoleArn(const Aws::String &value)
bool RoleArnHasBeenSet() const
void SetAcceleratorTypes(Aws::Vector< NotebookInstanceAcceleratorType > &&value)
AWS_SAGEMAKER_API UpdateNotebookInstanceRequest()
void SetAdditionalCodeRepositories(const Aws::Vector< Aws::String > &value)
UpdateNotebookInstanceRequest & WithInstanceMetadataServiceConfiguration(const InstanceMetadataServiceConfiguration &value)
void SetRoleArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAdditionalCodeRepositories() const
UpdateNotebookInstanceRequest & WithDisassociateAdditionalCodeRepositories(bool value)
void SetInstanceType(const InstanceType &value)
void SetDefaultCodeRepository(Aws::String &&value)
UpdateNotebookInstanceRequest & WithRootAccess(const RootAccess &value)
UpdateNotebookInstanceRequest & WithInstanceType(InstanceType &&value)
UpdateNotebookInstanceRequest & WithDefaultCodeRepository(Aws::String &&value)
UpdateNotebookInstanceRequest & WithAdditionalCodeRepositories(Aws::Vector< Aws::String > &&value)
void SetLifecycleConfigName(Aws::String &&value)
UpdateNotebookInstanceRequest & WithDefaultCodeRepository(const char *value)
void SetVolumeSizeInGB(int value)
UpdateNotebookInstanceRequest & WithNotebookInstanceName(const char *value)
bool DisassociateAdditionalCodeRepositoriesHasBeenSet() const
bool DisassociateDefaultCodeRepositoryHasBeenSet() const
bool GetDisassociateAdditionalCodeRepositories() const
UpdateNotebookInstanceRequest & WithRoleArn(Aws::String &&value)
UpdateNotebookInstanceRequest & AddAcceleratorTypes(const NotebookInstanceAcceleratorType &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool DisassociateAcceleratorTypesHasBeenSet() const
void SetDisassociateLifecycleConfig(bool value)
const RootAccess & GetRootAccess() const
const Aws::String & GetLifecycleConfigName() const
void SetInstanceMetadataServiceConfiguration(const InstanceMetadataServiceConfiguration &value)
void SetRoleArn(const char *value)
const InstanceType & GetInstanceType() const
UpdateNotebookInstanceRequest & WithAcceleratorTypes(Aws::Vector< NotebookInstanceAcceleratorType > &&value)
void SetAcceleratorTypes(const Aws::Vector< NotebookInstanceAcceleratorType > &value)
UpdateNotebookInstanceRequest & WithRootAccess(RootAccess &&value)
void SetInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfiguration &&value)
bool DefaultCodeRepositoryHasBeenSet() const
const Aws::Vector< NotebookInstanceAcceleratorType > & GetAcceleratorTypes() const
UpdateNotebookInstanceRequest & WithVolumeSizeInGB(int value)
void SetNotebookInstanceName(const char *value)
UpdateNotebookInstanceRequest & WithDisassociateLifecycleConfig(bool value)
UpdateNotebookInstanceRequest & WithInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfiguration &&value)
void SetDefaultCodeRepository(const char *value)
UpdateNotebookInstanceRequest & WithDefaultCodeRepository(const Aws::String &value)
bool NotebookInstanceNameHasBeenSet() const
bool GetDisassociateLifecycleConfig() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetNotebookInstanceName(Aws::String &&value)
UpdateNotebookInstanceRequest & WithAcceleratorTypes(const Aws::Vector< NotebookInstanceAcceleratorType > &value)
bool GetDisassociateAcceleratorTypes() const
UpdateNotebookInstanceRequest & WithLifecycleConfigName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateNotebookInstanceRequest & WithNotebookInstanceName(Aws::String &&value)
void SetDisassociateDefaultCodeRepository(bool value)
const Aws::String & GetRoleArn() const
bool VolumeSizeInGBHasBeenSet() const
const Aws::String & GetNotebookInstanceName() const
UpdateNotebookInstanceRequest & WithLifecycleConfigName(const char *value)
UpdateNotebookInstanceRequest & WithRoleArn(const char *value)
void SetLifecycleConfigName(const Aws::String &value)
UpdateNotebookInstanceRequest & AddAcceleratorTypes(NotebookInstanceAcceleratorType &&value)
UpdateNotebookInstanceRequest & WithDisassociateDefaultCodeRepository(bool value)
int GetVolumeSizeInGB() const
UpdateNotebookInstanceRequest & WithInstanceType(const InstanceType &value)
UpdateNotebookInstanceRequest & WithNotebookInstanceName(const Aws::String &value)
bool DisassociateLifecycleConfigHasBeenSet() const
const Aws::String & GetDefaultCodeRepository() const
bool RootAccessHasBeenSet() const
const InstanceMetadataServiceConfiguration & GetInstanceMetadataServiceConfiguration() const
void SetInstanceType(InstanceType &&value)
bool AcceleratorTypesHasBeenSet() const
void SetDefaultCodeRepository(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
NotebookInstanceAcceleratorType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector