AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsSageMakerNotebookInstanceDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SECURITYHUB_API AwsSageMakerNotebookInstanceDetails() = default;
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Vector<Aws::String>& GetAcceleratorTypes() const { return m_acceleratorTypes; }
50 inline bool AcceleratorTypesHasBeenSet() const { return m_acceleratorTypesHasBeenSet; }
51 template<typename AcceleratorTypesT = Aws::Vector<Aws::String>>
52 void SetAcceleratorTypes(AcceleratorTypesT&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = std::forward<AcceleratorTypesT>(value); }
53 template<typename AcceleratorTypesT = Aws::Vector<Aws::String>>
54 AwsSageMakerNotebookInstanceDetails& WithAcceleratorTypes(AcceleratorTypesT&& value) { SetAcceleratorTypes(std::forward<AcceleratorTypesT>(value)); return *this;}
55 template<typename AcceleratorTypesT = Aws::String>
56 AwsSageMakerNotebookInstanceDetails& AddAcceleratorTypes(AcceleratorTypesT&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.emplace_back(std::forward<AcceleratorTypesT>(value)); return *this; }
58
60
72 inline const Aws::Vector<Aws::String>& GetAdditionalCodeRepositories() const { return m_additionalCodeRepositories; }
73 inline bool AdditionalCodeRepositoriesHasBeenSet() const { return m_additionalCodeRepositoriesHasBeenSet; }
74 template<typename AdditionalCodeRepositoriesT = Aws::Vector<Aws::String>>
75 void SetAdditionalCodeRepositories(AdditionalCodeRepositoriesT&& value) { m_additionalCodeRepositoriesHasBeenSet = true; m_additionalCodeRepositories = std::forward<AdditionalCodeRepositoriesT>(value); }
76 template<typename AdditionalCodeRepositoriesT = Aws::Vector<Aws::String>>
77 AwsSageMakerNotebookInstanceDetails& WithAdditionalCodeRepositories(AdditionalCodeRepositoriesT&& value) { SetAdditionalCodeRepositories(std::forward<AdditionalCodeRepositoriesT>(value)); return *this;}
78 template<typename AdditionalCodeRepositoriesT = Aws::String>
79 AwsSageMakerNotebookInstanceDetails& AddAdditionalCodeRepositories(AdditionalCodeRepositoriesT&& value) { m_additionalCodeRepositoriesHasBeenSet = true; m_additionalCodeRepositories.emplace_back(std::forward<AdditionalCodeRepositoriesT>(value)); return *this; }
81
83
94 inline const Aws::String& GetDefaultCodeRepository() const { return m_defaultCodeRepository; }
95 inline bool DefaultCodeRepositoryHasBeenSet() const { return m_defaultCodeRepositoryHasBeenSet; }
96 template<typename DefaultCodeRepositoryT = Aws::String>
97 void SetDefaultCodeRepository(DefaultCodeRepositoryT&& value) { m_defaultCodeRepositoryHasBeenSet = true; m_defaultCodeRepository = std::forward<DefaultCodeRepositoryT>(value); }
98 template<typename DefaultCodeRepositoryT = Aws::String>
99 AwsSageMakerNotebookInstanceDetails& WithDefaultCodeRepository(DefaultCodeRepositoryT&& value) { SetDefaultCodeRepository(std::forward<DefaultCodeRepositoryT>(value)); return *this;}
101
103
110 inline const Aws::String& GetDirectInternetAccess() const { return m_directInternetAccess; }
111 inline bool DirectInternetAccessHasBeenSet() const { return m_directInternetAccessHasBeenSet; }
112 template<typename DirectInternetAccessT = Aws::String>
113 void SetDirectInternetAccess(DirectInternetAccessT&& value) { m_directInternetAccessHasBeenSet = true; m_directInternetAccess = std::forward<DirectInternetAccessT>(value); }
114 template<typename DirectInternetAccessT = Aws::String>
115 AwsSageMakerNotebookInstanceDetails& WithDirectInternetAccess(DirectInternetAccessT&& value) { SetDirectInternetAccess(std::forward<DirectInternetAccessT>(value)); return *this;}
117
119
122 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
123 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
124 template<typename FailureReasonT = Aws::String>
125 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
126 template<typename FailureReasonT = Aws::String>
127 AwsSageMakerNotebookInstanceDetails& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
129
131
134 inline const AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails& GetInstanceMetadataServiceConfiguration() const { return m_instanceMetadataServiceConfiguration; }
135 inline bool InstanceMetadataServiceConfigurationHasBeenSet() const { return m_instanceMetadataServiceConfigurationHasBeenSet; }
136 template<typename InstanceMetadataServiceConfigurationT = AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails>
137 void SetInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfigurationT&& value) { m_instanceMetadataServiceConfigurationHasBeenSet = true; m_instanceMetadataServiceConfiguration = std::forward<InstanceMetadataServiceConfigurationT>(value); }
138 template<typename InstanceMetadataServiceConfigurationT = AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails>
139 AwsSageMakerNotebookInstanceDetails& WithInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfigurationT&& value) { SetInstanceMetadataServiceConfiguration(std::forward<InstanceMetadataServiceConfigurationT>(value)); return *this;}
141
143
147 inline const Aws::String& GetInstanceType() const { return m_instanceType; }
148 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
149 template<typename InstanceTypeT = Aws::String>
150 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::forward<InstanceTypeT>(value); }
151 template<typename InstanceTypeT = Aws::String>
152 AwsSageMakerNotebookInstanceDetails& WithInstanceType(InstanceTypeT&& value) { SetInstanceType(std::forward<InstanceTypeT>(value)); return *this;}
154
156
165 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
166 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
167 template<typename KmsKeyIdT = Aws::String>
168 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
169 template<typename KmsKeyIdT = Aws::String>
170 AwsSageMakerNotebookInstanceDetails& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
172
174
178 inline const Aws::String& GetNetworkInterfaceId() const { return m_networkInterfaceId; }
179 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
180 template<typename NetworkInterfaceIdT = Aws::String>
181 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value); }
182 template<typename NetworkInterfaceIdT = Aws::String>
183 AwsSageMakerNotebookInstanceDetails& WithNetworkInterfaceId(NetworkInterfaceIdT&& value) { SetNetworkInterfaceId(std::forward<NetworkInterfaceIdT>(value)); return *this;}
185
187
190 inline const Aws::String& GetNotebookInstanceArn() const { return m_notebookInstanceArn; }
191 inline bool NotebookInstanceArnHasBeenSet() const { return m_notebookInstanceArnHasBeenSet; }
192 template<typename NotebookInstanceArnT = Aws::String>
193 void SetNotebookInstanceArn(NotebookInstanceArnT&& value) { m_notebookInstanceArnHasBeenSet = true; m_notebookInstanceArn = std::forward<NotebookInstanceArnT>(value); }
194 template<typename NotebookInstanceArnT = Aws::String>
195 AwsSageMakerNotebookInstanceDetails& WithNotebookInstanceArn(NotebookInstanceArnT&& value) { SetNotebookInstanceArn(std::forward<NotebookInstanceArnT>(value)); return *this;}
197
199
202 inline const Aws::String& GetNotebookInstanceLifecycleConfigName() const { return m_notebookInstanceLifecycleConfigName; }
203 inline bool NotebookInstanceLifecycleConfigNameHasBeenSet() const { return m_notebookInstanceLifecycleConfigNameHasBeenSet; }
204 template<typename NotebookInstanceLifecycleConfigNameT = Aws::String>
205 void SetNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT&& value) { m_notebookInstanceLifecycleConfigNameHasBeenSet = true; m_notebookInstanceLifecycleConfigName = std::forward<NotebookInstanceLifecycleConfigNameT>(value); }
206 template<typename NotebookInstanceLifecycleConfigNameT = Aws::String>
207 AwsSageMakerNotebookInstanceDetails& WithNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT&& value) { SetNotebookInstanceLifecycleConfigName(std::forward<NotebookInstanceLifecycleConfigNameT>(value)); return *this;}
209
211
214 inline const Aws::String& GetNotebookInstanceName() const { return m_notebookInstanceName; }
215 inline bool NotebookInstanceNameHasBeenSet() const { return m_notebookInstanceNameHasBeenSet; }
216 template<typename NotebookInstanceNameT = Aws::String>
217 void SetNotebookInstanceName(NotebookInstanceNameT&& value) { m_notebookInstanceNameHasBeenSet = true; m_notebookInstanceName = std::forward<NotebookInstanceNameT>(value); }
218 template<typename NotebookInstanceNameT = Aws::String>
219 AwsSageMakerNotebookInstanceDetails& WithNotebookInstanceName(NotebookInstanceNameT&& value) { SetNotebookInstanceName(std::forward<NotebookInstanceNameT>(value)); return *this;}
221
223
226 inline const Aws::String& GetNotebookInstanceStatus() const { return m_notebookInstanceStatus; }
227 inline bool NotebookInstanceStatusHasBeenSet() const { return m_notebookInstanceStatusHasBeenSet; }
228 template<typename NotebookInstanceStatusT = Aws::String>
229 void SetNotebookInstanceStatus(NotebookInstanceStatusT&& value) { m_notebookInstanceStatusHasBeenSet = true; m_notebookInstanceStatus = std::forward<NotebookInstanceStatusT>(value); }
230 template<typename NotebookInstanceStatusT = Aws::String>
231 AwsSageMakerNotebookInstanceDetails& WithNotebookInstanceStatus(NotebookInstanceStatusT&& value) { SetNotebookInstanceStatus(std::forward<NotebookInstanceStatusT>(value)); return *this;}
233
235
238 inline const Aws::String& GetPlatformIdentifier() const { return m_platformIdentifier; }
239 inline bool PlatformIdentifierHasBeenSet() const { return m_platformIdentifierHasBeenSet; }
240 template<typename PlatformIdentifierT = Aws::String>
241 void SetPlatformIdentifier(PlatformIdentifierT&& value) { m_platformIdentifierHasBeenSet = true; m_platformIdentifier = std::forward<PlatformIdentifierT>(value); }
242 template<typename PlatformIdentifierT = Aws::String>
243 AwsSageMakerNotebookInstanceDetails& WithPlatformIdentifier(PlatformIdentifierT&& value) { SetPlatformIdentifier(std::forward<PlatformIdentifierT>(value)); return *this;}
245
247
251 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
252 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
253 template<typename RoleArnT = Aws::String>
254 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
255 template<typename RoleArnT = Aws::String>
256 AwsSageMakerNotebookInstanceDetails& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
258
260
264 inline const Aws::String& GetRootAccess() const { return m_rootAccess; }
265 inline bool RootAccessHasBeenSet() const { return m_rootAccessHasBeenSet; }
266 template<typename RootAccessT = Aws::String>
267 void SetRootAccess(RootAccessT&& value) { m_rootAccessHasBeenSet = true; m_rootAccess = std::forward<RootAccessT>(value); }
268 template<typename RootAccessT = Aws::String>
269 AwsSageMakerNotebookInstanceDetails& WithRootAccess(RootAccessT&& value) { SetRootAccess(std::forward<RootAccessT>(value)); return *this;}
271
273
276 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const { return m_securityGroups; }
277 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
278 template<typename SecurityGroupsT = Aws::Vector<Aws::String>>
279 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
280 template<typename SecurityGroupsT = Aws::Vector<Aws::String>>
281 AwsSageMakerNotebookInstanceDetails& WithSecurityGroups(SecurityGroupsT&& value) { SetSecurityGroups(std::forward<SecurityGroupsT>(value)); return *this;}
282 template<typename SecurityGroupsT = Aws::String>
283 AwsSageMakerNotebookInstanceDetails& AddSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value)); return *this; }
285
287
291 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
292 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
293 template<typename SubnetIdT = Aws::String>
294 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::forward<SubnetIdT>(value); }
295 template<typename SubnetIdT = Aws::String>
296 AwsSageMakerNotebookInstanceDetails& WithSubnetId(SubnetIdT&& value) { SetSubnetId(std::forward<SubnetIdT>(value)); return *this;}
298
300
304 inline const Aws::String& GetUrl() const { return m_url; }
305 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
306 template<typename UrlT = Aws::String>
307 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
308 template<typename UrlT = Aws::String>
309 AwsSageMakerNotebookInstanceDetails& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
311
313
317 inline int GetVolumeSizeInGB() const { return m_volumeSizeInGB; }
318 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
319 inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
322 private:
323
324 Aws::Vector<Aws::String> m_acceleratorTypes;
325 bool m_acceleratorTypesHasBeenSet = false;
326
327 Aws::Vector<Aws::String> m_additionalCodeRepositories;
328 bool m_additionalCodeRepositoriesHasBeenSet = false;
329
330 Aws::String m_defaultCodeRepository;
331 bool m_defaultCodeRepositoryHasBeenSet = false;
332
333 Aws::String m_directInternetAccess;
334 bool m_directInternetAccessHasBeenSet = false;
335
336 Aws::String m_failureReason;
337 bool m_failureReasonHasBeenSet = false;
338
339 AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails m_instanceMetadataServiceConfiguration;
340 bool m_instanceMetadataServiceConfigurationHasBeenSet = false;
341
342 Aws::String m_instanceType;
343 bool m_instanceTypeHasBeenSet = false;
344
345 Aws::String m_kmsKeyId;
346 bool m_kmsKeyIdHasBeenSet = false;
347
348 Aws::String m_networkInterfaceId;
349 bool m_networkInterfaceIdHasBeenSet = false;
350
351 Aws::String m_notebookInstanceArn;
352 bool m_notebookInstanceArnHasBeenSet = false;
353
354 Aws::String m_notebookInstanceLifecycleConfigName;
355 bool m_notebookInstanceLifecycleConfigNameHasBeenSet = false;
356
357 Aws::String m_notebookInstanceName;
358 bool m_notebookInstanceNameHasBeenSet = false;
359
360 Aws::String m_notebookInstanceStatus;
361 bool m_notebookInstanceStatusHasBeenSet = false;
362
363 Aws::String m_platformIdentifier;
364 bool m_platformIdentifierHasBeenSet = false;
365
366 Aws::String m_roleArn;
367 bool m_roleArnHasBeenSet = false;
368
369 Aws::String m_rootAccess;
370 bool m_rootAccessHasBeenSet = false;
371
372 Aws::Vector<Aws::String> m_securityGroups;
373 bool m_securityGroupsHasBeenSet = false;
374
375 Aws::String m_subnetId;
376 bool m_subnetIdHasBeenSet = false;
377
378 Aws::String m_url;
379 bool m_urlHasBeenSet = false;
380
381 int m_volumeSizeInGB{0};
382 bool m_volumeSizeInGBHasBeenSet = false;
383 };
384
385} // namespace Model
386} // namespace SecurityHub
387} // namespace Aws
AwsSageMakerNotebookInstanceDetails & WithNotebookInstanceName(NotebookInstanceNameT &&value)
void SetInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfigurationT &&value)
AwsSageMakerNotebookInstanceDetails & WithInstanceMetadataServiceConfiguration(InstanceMetadataServiceConfigurationT &&value)
AwsSageMakerNotebookInstanceDetails & AddAdditionalCodeRepositories(AdditionalCodeRepositoriesT &&value)
AwsSageMakerNotebookInstanceDetails & WithAdditionalCodeRepositories(AdditionalCodeRepositoriesT &&value)
AwsSageMakerNotebookInstanceDetails & WithRoleArn(RoleArnT &&value)
AwsSageMakerNotebookInstanceDetails & WithKmsKeyId(KmsKeyIdT &&value)
AWS_SECURITYHUB_API AwsSageMakerNotebookInstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsSageMakerNotebookInstanceDetails & WithAcceleratorTypes(AcceleratorTypesT &&value)
AwsSageMakerNotebookInstanceDetails & WithDefaultCodeRepository(DefaultCodeRepositoryT &&value)
AwsSageMakerNotebookInstanceDetails & WithFailureReason(FailureReasonT &&value)
AwsSageMakerNotebookInstanceDetails & WithPlatformIdentifier(PlatformIdentifierT &&value)
const AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails & GetInstanceMetadataServiceConfiguration() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsSageMakerNotebookInstanceDetails & WithSubnetId(SubnetIdT &&value)
AwsSageMakerNotebookInstanceDetails & AddAcceleratorTypes(AcceleratorTypesT &&value)
AWS_SECURITYHUB_API AwsSageMakerNotebookInstanceDetails(Aws::Utils::Json::JsonView jsonValue)
AwsSageMakerNotebookInstanceDetails & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
AWS_SECURITYHUB_API AwsSageMakerNotebookInstanceDetails()=default
AwsSageMakerNotebookInstanceDetails & WithDirectInternetAccess(DirectInternetAccessT &&value)
AwsSageMakerNotebookInstanceDetails & WithInstanceType(InstanceTypeT &&value)
void SetNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT &&value)
AwsSageMakerNotebookInstanceDetails & AddSecurityGroups(SecurityGroupsT &&value)
AwsSageMakerNotebookInstanceDetails & WithNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT &&value)
AwsSageMakerNotebookInstanceDetails & WithRootAccess(RootAccessT &&value)
AwsSageMakerNotebookInstanceDetails & WithNotebookInstanceStatus(NotebookInstanceStatusT &&value)
AwsSageMakerNotebookInstanceDetails & WithNotebookInstanceArn(NotebookInstanceArnT &&value)
AwsSageMakerNotebookInstanceDetails & WithSecurityGroups(SecurityGroupsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue