7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/DirectInternetAccess.h>
12#include <aws/sagemaker/model/IPAddressType.h>
13#include <aws/sagemaker/model/InstanceMetadataServiceConfiguration.h>
14#include <aws/sagemaker/model/InstanceType.h>
15#include <aws/sagemaker/model/NotebookInstanceAcceleratorType.h>
16#include <aws/sagemaker/model/RootAccess.h>
17#include <aws/sagemaker/model/Tag.h>
47 template <
typename NotebookInstanceNameT = Aws::String>
49 m_notebookInstanceNameHasBeenSet =
true;
50 m_notebookInstanceName = std::forward<NotebookInstanceNameT>(value);
52 template <
typename NotebookInstanceNameT = Aws::String>
66 m_instanceTypeHasBeenSet =
true;
67 m_instanceType = value;
82 template <
typename SubnetIdT = Aws::String>
84 m_subnetIdHasBeenSet =
true;
85 m_subnetId = std::forward<SubnetIdT>(value);
87 template <
typename SubnetIdT = Aws::String>
101 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
103 m_securityGroupIdsHasBeenSet =
true;
104 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
106 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
111 template <
typename SecurityGroupIdsT = Aws::String>
113 m_securityGroupIdsHasBeenSet =
true;
114 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
129 m_ipAddressTypeHasBeenSet =
true;
130 m_ipAddressType = value;
153 template <
typename RoleArnT = Aws::String>
155 m_roleArnHasBeenSet =
true;
156 m_roleArn = std::forward<RoleArnT>(value);
158 template <
typename RoleArnT = Aws::String>
177 template <
typename KmsKeyIdT = Aws::String>
179 m_kmsKeyIdHasBeenSet =
true;
180 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
182 template <
typename KmsKeyIdT = Aws::String>
199 template <
typename TagsT = Aws::Vector<Tag>>
201 m_tagsHasBeenSet =
true;
202 m_tags = std::forward<TagsT>(value);
204 template <
typename TagsT = Aws::Vector<Tag>>
206 SetTags(std::forward<TagsT>(value));
209 template <
typename TagsT = Tag>
211 m_tagsHasBeenSet =
true;
212 m_tags.emplace_back(std::forward<TagsT>(value));
226 template <
typename LifecycleConfigNameT = Aws::String>
228 m_lifecycleConfigNameHasBeenSet =
true;
229 m_lifecycleConfigName = std::forward<LifecycleConfigNameT>(value);
231 template <
typename LifecycleConfigNameT = Aws::String>
253 m_directInternetAccessHasBeenSet =
true;
254 m_directInternetAccess = value;
270 m_volumeSizeInGBHasBeenSet =
true;
271 m_volumeSizeInGB = value;
287 template <
typename AcceleratorTypesT = Aws::Vector<NotebookInstanceAcceleratorType>>
289 m_acceleratorTypesHasBeenSet =
true;
290 m_acceleratorTypes = std::forward<AcceleratorTypesT>(value);
292 template <
typename AcceleratorTypesT = Aws::Vector<NotebookInstanceAcceleratorType>>
298 m_acceleratorTypesHasBeenSet =
true;
299 m_acceleratorTypes.push_back(value);
318 template <
typename DefaultCodeRepositoryT = Aws::String>
320 m_defaultCodeRepositoryHasBeenSet =
true;
321 m_defaultCodeRepository = std::forward<DefaultCodeRepositoryT>(value);
323 template <
typename DefaultCodeRepositoryT = Aws::String>
344 template <
typename AdditionalCodeRepositoriesT = Aws::Vector<Aws::String>>
346 m_additionalCodeRepositoriesHasBeenSet =
true;
347 m_additionalCodeRepositories = std::forward<AdditionalCodeRepositoriesT>(value);
349 template <
typename AdditionalCodeRepositoriesT = Aws::Vector<Aws::String>>
354 template <
typename AdditionalCodeRepositoriesT = Aws::String>
356 m_additionalCodeRepositoriesHasBeenSet =
true;
357 m_additionalCodeRepositories.emplace_back(std::forward<AdditionalCodeRepositoriesT>(value));
374 m_rootAccessHasBeenSet =
true;
375 m_rootAccess = value;
390 template <
typename PlatformIdentifierT = Aws::String>
392 m_platformIdentifierHasBeenSet =
true;
393 m_platformIdentifier = std::forward<PlatformIdentifierT>(value);
395 template <
typename PlatformIdentifierT = Aws::String>
407 return m_instanceMetadataServiceConfiguration;
410 template <
typename InstanceMetadataServiceConfigurationT = InstanceMetadataServiceConfiguration>
412 m_instanceMetadataServiceConfigurationHasBeenSet =
true;
413 m_instanceMetadataServiceConfiguration = std::forward<InstanceMetadataServiceConfigurationT>(value);
415 template <
typename InstanceMetadataServiceConfigurationT = InstanceMetadataServiceConfiguration>
442 int m_volumeSizeInGB{0};
454 InstanceMetadataServiceConfiguration m_instanceMetadataServiceConfiguration;
455 bool m_notebookInstanceNameHasBeenSet =
false;
456 bool m_instanceTypeHasBeenSet =
false;
457 bool m_subnetIdHasBeenSet =
false;
458 bool m_securityGroupIdsHasBeenSet =
false;
459 bool m_ipAddressTypeHasBeenSet =
false;
460 bool m_roleArnHasBeenSet =
false;
461 bool m_kmsKeyIdHasBeenSet =
false;
462 bool m_tagsHasBeenSet =
false;
463 bool m_lifecycleConfigNameHasBeenSet =
false;
464 bool m_directInternetAccessHasBeenSet =
false;
465 bool m_volumeSizeInGBHasBeenSet =
false;
466 bool m_acceleratorTypesHasBeenSet =
false;
467 bool m_defaultCodeRepositoryHasBeenSet =
false;
468 bool m_additionalCodeRepositoriesHasBeenSet =
false;
469 bool m_rootAccessHasBeenSet =
false;
470 bool m_platformIdentifierHasBeenSet =
false;
471 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