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>
50 template<
typename NotebookInstanceNameT = Aws::String>
51 void SetNotebookInstanceName(NotebookInstanceNameT&& value) { m_notebookInstanceNameHasBeenSet =
true; m_notebookInstanceName = std::forward<NotebookInstanceNameT>(value); }
52 template<
typename NotebookInstanceNameT = Aws::String>
73 template<
typename SubnetIdT = Aws::String>
74 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
75 template<
typename SubnetIdT = Aws::String>
86 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
87 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
88 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
90 template<
typename SecurityGroupIdsT = Aws::String>
109 template<
typename RoleArnT = Aws::String>
110 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
111 template<
typename RoleArnT = Aws::String>
127 template<
typename KmsKeyIdT = Aws::String>
128 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
129 template<
typename KmsKeyIdT = Aws::String>
143 template<
typename TagsT = Aws::Vector<Tag>>
144 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
145 template<
typename TagsT = Aws::Vector<Tag>>
147 template<
typename TagsT = Tag>
160 template<
typename LifecycleConfigNameT = Aws::String>
161 void SetLifecycleConfigName(LifecycleConfigNameT&& value) { m_lifecycleConfigNameHasBeenSet =
true; m_lifecycleConfigName = std::forward<LifecycleConfigNameT>(value); }
162 template<
typename LifecycleConfigNameT = Aws::String>
191 inline void SetVolumeSizeInGB(
int value) { m_volumeSizeInGBHasBeenSet =
true; m_volumeSizeInGB = value; }
203 template<
typename AcceleratorTypesT = Aws::Vector<NotebookInstanceAcceleratorType>>
204 void SetAcceleratorTypes(AcceleratorTypesT&& value) { m_acceleratorTypesHasBeenSet =
true; m_acceleratorTypes = std::forward<AcceleratorTypesT>(value); }
205 template<
typename AcceleratorTypesT = Aws::Vector<NotebookInstanceAcceleratorType>>
224 template<
typename DefaultCodeRepositoryT = Aws::String>
225 void SetDefaultCodeRepository(DefaultCodeRepositoryT&& value) { m_defaultCodeRepositoryHasBeenSet =
true; m_defaultCodeRepository = std::forward<DefaultCodeRepositoryT>(value); }
226 template<
typename DefaultCodeRepositoryT = Aws::String>
244 template<
typename AdditionalCodeRepositoriesT = Aws::Vector<Aws::String>>
245 void SetAdditionalCodeRepositories(AdditionalCodeRepositoriesT&& value) { m_additionalCodeRepositoriesHasBeenSet =
true; m_additionalCodeRepositories = std::forward<AdditionalCodeRepositoriesT>(value); }
246 template<
typename AdditionalCodeRepositoriesT = Aws::Vector<Aws::String>>
248 template<
typename AdditionalCodeRepositoriesT = Aws::String>
273 template<
typename PlatformIdentifierT = Aws::String>
274 void SetPlatformIdentifier(PlatformIdentifierT&& value) { m_platformIdentifierHasBeenSet =
true; m_platformIdentifier = std::forward<PlatformIdentifierT>(value); }
275 template<
typename PlatformIdentifierT = Aws::String>
285 template<
typename InstanceMetadataServiceConfigurationT = InstanceMetadataServiceConfiguration>
286 void SetInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfigurationT&& value) { m_instanceMetadataServiceConfigurationHasBeenSet =
true; m_instanceMetadataServiceConfiguration = std::forward<InstanceMetadataServiceConfigurationT>(value); }
287 template<
typename InstanceMetadataServiceConfigurationT = InstanceMetadataServiceConfiguration>
293 bool m_notebookInstanceNameHasBeenSet =
false;
296 bool m_instanceTypeHasBeenSet =
false;
299 bool m_subnetIdHasBeenSet =
false;
302 bool m_securityGroupIdsHasBeenSet =
false;
305 bool m_roleArnHasBeenSet =
false;
308 bool m_kmsKeyIdHasBeenSet =
false;
311 bool m_tagsHasBeenSet =
false;
314 bool m_lifecycleConfigNameHasBeenSet =
false;
317 bool m_directInternetAccessHasBeenSet =
false;
319 int m_volumeSizeInGB{0};
320 bool m_volumeSizeInGBHasBeenSet =
false;
323 bool m_acceleratorTypesHasBeenSet =
false;
326 bool m_defaultCodeRepositoryHasBeenSet =
false;
329 bool m_additionalCodeRepositoriesHasBeenSet =
false;
332 bool m_rootAccessHasBeenSet =
false;
335 bool m_platformIdentifierHasBeenSet =
false;
337 InstanceMetadataServiceConfiguration m_instanceMetadataServiceConfiguration;
338 bool m_instanceMetadataServiceConfigurationHasBeenSet =
false;
void SetAdditionalCodeRepositories(AdditionalCodeRepositoriesT &&value)
bool AcceleratorTypesHasBeenSet() const
CreateNotebookInstanceRequest & WithPlatformIdentifier(PlatformIdentifierT &&value)
const Aws::Vector< NotebookInstanceAcceleratorType > & GetAcceleratorTypes() const
bool KmsKeyIdHasBeenSet() const
void SetPlatformIdentifier(PlatformIdentifierT &&value)
InstanceType GetInstanceType() const
bool InstanceTypeHasBeenSet() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateNotebookInstanceRequest & WithDefaultCodeRepository(DefaultCodeRepositoryT &&value)
const Aws::String & GetDefaultCodeRepository() const
bool InstanceMetadataServiceConfigurationHasBeenSet() const
bool AdditionalCodeRepositoriesHasBeenSet() const
bool DefaultCodeRepositoryHasBeenSet() const
CreateNotebookInstanceRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
bool DirectInternetAccessHasBeenSet() const
void SetAcceleratorTypes(AcceleratorTypesT &&value)
const Aws::String & GetKmsKeyId() const
CreateNotebookInstanceRequest & WithTags(TagsT &&value)
CreateNotebookInstanceRequest & WithAdditionalCodeRepositories(AdditionalCodeRepositoriesT &&value)
bool PlatformIdentifierHasBeenSet() const
void SetDefaultCodeRepository(DefaultCodeRepositoryT &&value)
const Aws::String & GetSubnetId() const
CreateNotebookInstanceRequest & WithLifecycleConfigName(LifecycleConfigNameT &&value)
bool SubnetIdHasBeenSet() const
CreateNotebookInstanceRequest & WithRootAccess(RootAccess value)
CreateNotebookInstanceRequest & WithDirectInternetAccess(DirectInternetAccess value)
CreateNotebookInstanceRequest & WithAcceleratorTypes(AcceleratorTypesT &&value)
bool NotebookInstanceNameHasBeenSet() const
void SetNotebookInstanceName(NotebookInstanceNameT &&value)
CreateNotebookInstanceRequest & AddAcceleratorTypes(NotebookInstanceAcceleratorType value)
int GetVolumeSizeInGB() const
void SetInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
const InstanceMetadataServiceConfiguration & GetInstanceMetadataServiceConfiguration() const
CreateNotebookInstanceRequest & AddTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetKmsKeyId(KmsKeyIdT &&value)
bool RoleArnHasBeenSet() const
bool VolumeSizeInGBHasBeenSet() const
const Aws::String & GetNotebookInstanceName() const
CreateNotebookInstanceRequest & WithNotebookInstanceName(NotebookInstanceNameT &&value)
bool SecurityGroupIdsHasBeenSet() const
CreateNotebookInstanceRequest & WithSubnetId(SubnetIdT &&value)
CreateNotebookInstanceRequest & WithInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfigurationT &&value)
void SetRootAccess(RootAccess value)
const Aws::String & GetLifecycleConfigName() const
void SetLifecycleConfigName(LifecycleConfigNameT &&value)
bool LifecycleConfigNameHasBeenSet() const
CreateNotebookInstanceRequest & WithVolumeSizeInGB(int value)
CreateNotebookInstanceRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
void SetSubnetId(SubnetIdT &&value)
const Aws::String & GetRoleArn() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::String & GetPlatformIdentifier() const
const Aws::Vector< Aws::String > & GetAdditionalCodeRepositories() const
CreateNotebookInstanceRequest & WithRoleArn(RoleArnT &&value)
bool RootAccessHasBeenSet() const
void SetInstanceType(InstanceType value)
void SetVolumeSizeInGB(int value)
CreateNotebookInstanceRequest & AddAdditionalCodeRepositories(AdditionalCodeRepositoriesT &&value)
void SetRoleArn(RoleArnT &&value)
CreateNotebookInstanceRequest & WithInstanceType(InstanceType value)
RootAccess GetRootAccess() const
void SetDirectInternetAccess(DirectInternetAccess value)
DirectInternetAccess GetDirectInternetAccess() const
CreateNotebookInstanceRequest & WithKmsKeyId(KmsKeyIdT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
AWS_SAGEMAKER_API CreateNotebookInstanceRequest()=default
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