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/IPAddressType.h>
13#include <aws/sagemaker/model/DirectInternetAccess.h>
14#include <aws/sagemaker/model/RootAccess.h>
15#include <aws/sagemaker/model/InstanceMetadataServiceConfiguration.h>
16#include <aws/sagemaker/model/Tag.h>
17#include <aws/sagemaker/model/NotebookInstanceAcceleratorType.h>
51 template<
typename NotebookInstanceNameT = Aws::String>
52 void SetNotebookInstanceName(NotebookInstanceNameT&& value) { m_notebookInstanceNameHasBeenSet =
true; m_notebookInstanceName = std::forward<NotebookInstanceNameT>(value); }
53 template<
typename NotebookInstanceNameT = Aws::String>
74 template<
typename SubnetIdT = Aws::String>
75 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
76 template<
typename SubnetIdT = Aws::String>
87 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
88 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
89 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
91 template<
typename SecurityGroupIdsT = Aws::String>
123 template<
typename RoleArnT = Aws::String>
124 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
125 template<
typename RoleArnT = Aws::String>
141 template<
typename KmsKeyIdT = Aws::String>
142 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
143 template<
typename KmsKeyIdT = Aws::String>
157 template<
typename TagsT = Aws::Vector<Tag>>
158 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
159 template<
typename TagsT = Aws::Vector<Tag>>
161 template<
typename TagsT = Tag>
174 template<
typename LifecycleConfigNameT = Aws::String>
175 void SetLifecycleConfigName(LifecycleConfigNameT&& value) { m_lifecycleConfigNameHasBeenSet =
true; m_lifecycleConfigName = std::forward<LifecycleConfigNameT>(value); }
176 template<
typename LifecycleConfigNameT = Aws::String>
205 inline void SetVolumeSizeInGB(
int value) { m_volumeSizeInGBHasBeenSet =
true; m_volumeSizeInGB = value; }
217 template<
typename AcceleratorTypesT = Aws::Vector<NotebookInstanceAcceleratorType>>
218 void SetAcceleratorTypes(AcceleratorTypesT&& value) { m_acceleratorTypesHasBeenSet =
true; m_acceleratorTypes = std::forward<AcceleratorTypesT>(value); }
219 template<
typename AcceleratorTypesT = Aws::Vector<NotebookInstanceAcceleratorType>>
238 template<
typename DefaultCodeRepositoryT = Aws::String>
239 void SetDefaultCodeRepository(DefaultCodeRepositoryT&& value) { m_defaultCodeRepositoryHasBeenSet =
true; m_defaultCodeRepository = std::forward<DefaultCodeRepositoryT>(value); }
240 template<
typename DefaultCodeRepositoryT = Aws::String>
258 template<
typename AdditionalCodeRepositoriesT = Aws::Vector<Aws::String>>
259 void SetAdditionalCodeRepositories(AdditionalCodeRepositoriesT&& value) { m_additionalCodeRepositoriesHasBeenSet =
true; m_additionalCodeRepositories = std::forward<AdditionalCodeRepositoriesT>(value); }
260 template<
typename AdditionalCodeRepositoriesT = Aws::Vector<Aws::String>>
262 template<
typename AdditionalCodeRepositoriesT = Aws::String>
287 template<
typename PlatformIdentifierT = Aws::String>
288 void SetPlatformIdentifier(PlatformIdentifierT&& value) { m_platformIdentifierHasBeenSet =
true; m_platformIdentifier = std::forward<PlatformIdentifierT>(value); }
289 template<
typename PlatformIdentifierT = Aws::String>
299 template<
typename InstanceMetadataServiceConfigurationT = InstanceMetadataServiceConfiguration>
300 void SetInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfigurationT&& value) { m_instanceMetadataServiceConfigurationHasBeenSet =
true; m_instanceMetadataServiceConfiguration = std::forward<InstanceMetadataServiceConfigurationT>(value); }
301 template<
typename InstanceMetadataServiceConfigurationT = InstanceMetadataServiceConfiguration>
307 bool m_notebookInstanceNameHasBeenSet =
false;
310 bool m_instanceTypeHasBeenSet =
false;
313 bool m_subnetIdHasBeenSet =
false;
316 bool m_securityGroupIdsHasBeenSet =
false;
319 bool m_ipAddressTypeHasBeenSet =
false;
322 bool m_roleArnHasBeenSet =
false;
325 bool m_kmsKeyIdHasBeenSet =
false;
328 bool m_tagsHasBeenSet =
false;
331 bool m_lifecycleConfigNameHasBeenSet =
false;
334 bool m_directInternetAccessHasBeenSet =
false;
336 int m_volumeSizeInGB{0};
337 bool m_volumeSizeInGBHasBeenSet =
false;
340 bool m_acceleratorTypesHasBeenSet =
false;
343 bool m_defaultCodeRepositoryHasBeenSet =
false;
346 bool m_additionalCodeRepositoriesHasBeenSet =
false;
349 bool m_rootAccessHasBeenSet =
false;
352 bool m_platformIdentifierHasBeenSet =
false;
354 InstanceMetadataServiceConfiguration m_instanceMetadataServiceConfiguration;
355 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
IPAddressType GetIpAddressType() 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 & WithIpAddressType(IPAddressType value)
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 SetIpAddressType(IPAddressType value)
void SetRoleArn(RoleArnT &&value)
CreateNotebookInstanceRequest & WithInstanceType(InstanceType value)
RootAccess GetRootAccess() const
bool IpAddressTypeHasBeenSet() 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