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/DirectInternetAccess.h>
13#include <aws/sagemaker/model/RootAccess.h>
14#include <aws/sagemaker/model/InstanceMetadataServiceConfiguration.h>
15#include <aws/sagemaker/model/Tag.h>
16#include <aws/sagemaker/model/NotebookInstanceAcceleratorType.h>
52 inline void SetNotebookInstanceName(
const char* value) { m_notebookInstanceNameHasBeenSet =
true; m_notebookInstanceName.assign(value); }
79 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
117 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
137 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
172 inline void SetLifecycleConfigName(
const char* value) { m_lifecycleConfigNameHasBeenSet =
true; m_lifecycleConfigName.assign(value); }
205 inline void SetVolumeSizeInGB(
int value) { m_volumeSizeInGBHasBeenSet =
true; m_volumeSizeInGB = value; }
241 inline void SetDefaultCodeRepository(
const char* value) { m_defaultCodeRepositoryHasBeenSet =
true; m_defaultCodeRepository.assign(value); }
295 inline void SetPlatformIdentifier(
const char* value) { m_platformIdentifierHasBeenSet =
true; m_platformIdentifier.assign(value); }
315 bool m_notebookInstanceNameHasBeenSet =
false;
318 bool m_instanceTypeHasBeenSet =
false;
321 bool m_subnetIdHasBeenSet =
false;
324 bool m_securityGroupIdsHasBeenSet =
false;
327 bool m_roleArnHasBeenSet =
false;
330 bool m_kmsKeyIdHasBeenSet =
false;
333 bool m_tagsHasBeenSet =
false;
336 bool m_lifecycleConfigNameHasBeenSet =
false;
339 bool m_directInternetAccessHasBeenSet =
false;
341 int m_volumeSizeInGB;
342 bool m_volumeSizeInGBHasBeenSet =
false;
345 bool m_acceleratorTypesHasBeenSet =
false;
348 bool m_defaultCodeRepositoryHasBeenSet =
false;
351 bool m_additionalCodeRepositoriesHasBeenSet =
false;
354 bool m_rootAccessHasBeenSet =
false;
357 bool m_platformIdentifierHasBeenSet =
false;
360 bool m_instanceMetadataServiceConfigurationHasBeenSet =
false;
CreateNotebookInstanceRequest & WithSubnetId(const Aws::String &value)
bool AcceleratorTypesHasBeenSet() const
CreateNotebookInstanceRequest & WithRootAccess(RootAccess &&value)
CreateNotebookInstanceRequest & WithSubnetId(Aws::String &&value)
void SetAcceleratorTypes(Aws::Vector< NotebookInstanceAcceleratorType > &&value)
const Aws::Vector< NotebookInstanceAcceleratorType > & GetAcceleratorTypes() const
void SetInstanceType(InstanceType &&value)
void SetSubnetId(Aws::String &&value)
void SetInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfiguration &&value)
CreateNotebookInstanceRequest & WithSubnetId(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
const RootAccess & GetRootAccess() const
bool KmsKeyIdHasBeenSet() const
CreateNotebookInstanceRequest & WithKmsKeyId(Aws::String &&value)
bool InstanceTypeHasBeenSet() const
void SetDefaultCodeRepository(const char *value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateNotebookInstanceRequest & WithTags(Aws::Vector< Tag > &&value)
CreateNotebookInstanceRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetDefaultCodeRepository() const
CreateNotebookInstanceRequest & WithAcceleratorTypes(const Aws::Vector< NotebookInstanceAcceleratorType > &value)
bool InstanceMetadataServiceConfigurationHasBeenSet() const
bool AdditionalCodeRepositoriesHasBeenSet() const
bool DefaultCodeRepositoryHasBeenSet() const
CreateNotebookInstanceRequest & AddAdditionalCodeRepositories(const char *value)
CreateNotebookInstanceRequest & WithDefaultCodeRepository(const Aws::String &value)
const InstanceType & GetInstanceType() const
CreateNotebookInstanceRequest & WithInstanceType(const InstanceType &value)
bool DirectInternetAccessHasBeenSet() const
void SetPlatformIdentifier(const Aws::String &value)
void SetRootAccess(RootAccess &&value)
CreateNotebookInstanceRequest & WithRoleArn(const char *value)
CreateNotebookInstanceRequest & AddAcceleratorTypes(const NotebookInstanceAcceleratorType &value)
const Aws::String & GetKmsKeyId() const
void SetDirectInternetAccess(DirectInternetAccess &&value)
void SetKmsKeyId(const Aws::String &value)
CreateNotebookInstanceRequest & AddSecurityGroupIds(const char *value)
bool PlatformIdentifierHasBeenSet() const
const Aws::String & GetSubnetId() const
void SetRoleArn(Aws::String &&value)
CreateNotebookInstanceRequest & WithDefaultCodeRepository(Aws::String &&value)
bool SubnetIdHasBeenSet() const
void SetRootAccess(const RootAccess &value)
void SetPlatformIdentifier(const char *value)
CreateNotebookInstanceRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
AWS_SAGEMAKER_API CreateNotebookInstanceRequest()
CreateNotebookInstanceRequest & WithPlatformIdentifier(const Aws::String &value)
CreateNotebookInstanceRequest & WithInstanceType(InstanceType &&value)
CreateNotebookInstanceRequest & WithAdditionalCodeRepositories(const Aws::Vector< Aws::String > &value)
void SetInstanceMetadataServiceConfiguration(const InstanceMetadataServiceConfiguration &value)
void SetDefaultCodeRepository(const Aws::String &value)
void SetLifecycleConfigName(const char *value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetPlatformIdentifier(Aws::String &&value)
CreateNotebookInstanceRequest & AddTags(const Tag &value)
bool NotebookInstanceNameHasBeenSet() const
void SetRoleArn(const char *value)
int GetVolumeSizeInGB() const
void SetKmsKeyId(const char *value)
virtual const char * GetServiceRequestName() const override
const InstanceMetadataServiceConfiguration & GetInstanceMetadataServiceConfiguration() const
void SetInstanceType(const InstanceType &value)
void SetRoleArn(const Aws::String &value)
CreateNotebookInstanceRequest & WithKmsKeyId(const Aws::String &value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetKmsKeyId(Aws::String &&value)
CreateNotebookInstanceRequest & WithPlatformIdentifier(const char *value)
void SetDefaultCodeRepository(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
CreateNotebookInstanceRequest & WithNotebookInstanceName(const char *value)
CreateNotebookInstanceRequest & WithInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfiguration &&value)
CreateNotebookInstanceRequest & WithKmsKeyId(const char *value)
bool RoleArnHasBeenSet() const
bool VolumeSizeInGBHasBeenSet() const
CreateNotebookInstanceRequest & WithLifecycleConfigName(Aws::String &&value)
const Aws::String & GetNotebookInstanceName() const
void SetDirectInternetAccess(const DirectInternetAccess &value)
CreateNotebookInstanceRequest & WithInstanceMetadataServiceConfiguration(const InstanceMetadataServiceConfiguration &value)
void SetSubnetId(const Aws::String &value)
CreateNotebookInstanceRequest & WithAdditionalCodeRepositories(Aws::Vector< Aws::String > &&value)
bool SecurityGroupIdsHasBeenSet() const
CreateNotebookInstanceRequest & WithAcceleratorTypes(Aws::Vector< NotebookInstanceAcceleratorType > &&value)
const Aws::String & GetLifecycleConfigName() const
CreateNotebookInstanceRequest & WithNotebookInstanceName(const Aws::String &value)
void SetAcceleratorTypes(const Aws::Vector< NotebookInstanceAcceleratorType > &value)
CreateNotebookInstanceRequest & AddSecurityGroupIds(const Aws::String &value)
void SetNotebookInstanceName(const char *value)
bool LifecycleConfigNameHasBeenSet() const
CreateNotebookInstanceRequest & AddAdditionalCodeRepositories(const Aws::String &value)
CreateNotebookInstanceRequest & AddTags(Tag &&value)
CreateNotebookInstanceRequest & WithVolumeSizeInGB(int value)
const Aws::String & GetRoleArn() const
void SetTags(const Aws::Vector< Tag > &value)
CreateNotebookInstanceRequest & AddSecurityGroupIds(Aws::String &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
bool TagsHasBeenSet() const
CreateNotebookInstanceRequest & WithRoleArn(Aws::String &&value)
CreateNotebookInstanceRequest & AddAcceleratorTypes(NotebookInstanceAcceleratorType &&value)
CreateNotebookInstanceRequest & WithLifecycleConfigName(const Aws::String &value)
const Aws::String & GetPlatformIdentifier() const
void SetNotebookInstanceName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAdditionalCodeRepositories() const
CreateNotebookInstanceRequest & WithDirectInternetAccess(DirectInternetAccess &&value)
CreateNotebookInstanceRequest & WithRootAccess(const RootAccess &value)
CreateNotebookInstanceRequest & WithDefaultCodeRepository(const char *value)
CreateNotebookInstanceRequest & WithNotebookInstanceName(Aws::String &&value)
bool RootAccessHasBeenSet() const
CreateNotebookInstanceRequest & WithDirectInternetAccess(const DirectInternetAccess &value)
void SetVolumeSizeInGB(int value)
void SetAdditionalCodeRepositories(const Aws::Vector< Aws::String > &value)
void SetSubnetId(const char *value)
CreateNotebookInstanceRequest & WithTags(const Aws::Vector< Tag > &value)
CreateNotebookInstanceRequest & AddAdditionalCodeRepositories(Aws::String &&value)
void SetLifecycleConfigName(Aws::String &&value)
void SetNotebookInstanceName(const Aws::String &value)
void SetAdditionalCodeRepositories(Aws::Vector< Aws::String > &&value)
const DirectInternetAccess & GetDirectInternetAccess() const
CreateNotebookInstanceRequest & WithPlatformIdentifier(Aws::String &&value)
CreateNotebookInstanceRequest & WithRoleArn(const Aws::String &value)
void SetLifecycleConfigName(const Aws::String &value)
CreateNotebookInstanceRequest & WithLifecycleConfigName(const char *value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
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