7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/ClusterCapacityType.h>
12#include <aws/sagemaker/model/ClusterInstancePlacement.h>
13#include <aws/sagemaker/model/ClusterInstanceStatusDetails.h>
14#include <aws/sagemaker/model/ClusterInstanceStorageConfig.h>
15#include <aws/sagemaker/model/ClusterInstanceType.h>
16#include <aws/sagemaker/model/ClusterKubernetesConfigNodeDetails.h>
17#include <aws/sagemaker/model/ClusterLifeCycleConfig.h>
18#include <aws/sagemaker/model/UltraServerInfo.h>
19#include <aws/sagemaker/model/VpcConfig.h>
52 template <
typename InstanceGroupNameT = Aws::String>
54 m_instanceGroupNameHasBeenSet =
true;
55 m_instanceGroupName = std::forward<InstanceGroupNameT>(value);
57 template <
typename InstanceGroupNameT = Aws::String>
70 template <
typename InstanceIdT = Aws::String>
72 m_instanceIdHasBeenSet =
true;
73 m_instanceId = std::forward<InstanceIdT>(value);
75 template <
typename InstanceIdT = Aws::String>
90 template <
typename NodeLogicalIdT = Aws::String>
92 m_nodeLogicalIdHasBeenSet =
true;
93 m_nodeLogicalId = std::forward<NodeLogicalIdT>(value);
95 template <
typename NodeLogicalIdT = Aws::String>
108 template <
typename InstanceStatusT = ClusterInstanceStatusDetails>
110 m_instanceStatusHasBeenSet =
true;
111 m_instanceStatus = std::forward<InstanceStatusT>(value);
113 template <
typename InstanceStatusT = ClusterInstanceStatusDetails>
127 m_instanceTypeHasBeenSet =
true;
128 m_instanceType = value;
142 template <
typename LaunchTimeT = Aws::Utils::DateTime>
144 m_launchTimeHasBeenSet =
true;
145 m_launchTime = std::forward<LaunchTimeT>(value);
147 template <
typename LaunchTimeT = Aws::Utils::DateTime>
160 template <
typename LastSoftwareUpdateTimeT = Aws::Utils::DateTime>
162 m_lastSoftwareUpdateTimeHasBeenSet =
true;
163 m_lastSoftwareUpdateTime = std::forward<LastSoftwareUpdateTimeT>(value);
165 template <
typename LastSoftwareUpdateTimeT = Aws::Utils::DateTime>
178 template <
typename LifeCycleConfigT = ClusterLifeCycleConfig>
180 m_lifeCycleConfigHasBeenSet =
true;
181 m_lifeCycleConfig = std::forward<LifeCycleConfigT>(value);
183 template <
typename LifeCycleConfigT = ClusterLifeCycleConfig>
198 template <
typename Overr
ideVpcConfigT = VpcConfig>
200 m_overrideVpcConfigHasBeenSet =
true;
201 m_overrideVpcConfig = std::forward<OverrideVpcConfigT>(value);
203 template <
typename Overr
ideVpcConfigT = VpcConfig>
218 m_threadsPerCoreHasBeenSet =
true;
219 m_threadsPerCore = value;
234 template <
typename InstanceStorageConfigsT = Aws::Vector<ClusterInstanceStorageConfig>>
236 m_instanceStorageConfigsHasBeenSet =
true;
237 m_instanceStorageConfigs = std::forward<InstanceStorageConfigsT>(value);
239 template <
typename InstanceStorageConfigsT = Aws::Vector<ClusterInstanceStorageConfig>>
244 template <
typename InstanceStorageConfigsT = ClusterInstanceStorageConfig>
246 m_instanceStorageConfigsHasBeenSet =
true;
247 m_instanceStorageConfigs.emplace_back(std::forward<InstanceStorageConfigsT>(value));
258 template <
typename PrivatePrimaryIpT = Aws::String>
260 m_privatePrimaryIpHasBeenSet =
true;
261 m_privatePrimaryIp = std::forward<PrivatePrimaryIpT>(value);
263 template <
typename PrivatePrimaryIpT = Aws::String>
279 template <
typename PrivatePrimaryIpv6T = Aws::String>
281 m_privatePrimaryIpv6HasBeenSet =
true;
282 m_privatePrimaryIpv6 = std::forward<PrivatePrimaryIpv6T>(value);
284 template <
typename PrivatePrimaryIpv6T = Aws::String>
297 template <
typename PrivateDnsHostnameT = Aws::String>
299 m_privateDnsHostnameHasBeenSet =
true;
300 m_privateDnsHostname = std::forward<PrivateDnsHostnameT>(value);
302 template <
typename PrivateDnsHostnameT = Aws::String>
315 template <
typename PlacementT = ClusterInstancePlacement>
317 m_placementHasBeenSet =
true;
318 m_placement = std::forward<PlacementT>(value);
320 template <
typename PlacementT = ClusterInstancePlacement>
333 template <
typename CurrentImageIdT = Aws::String>
335 m_currentImageIdHasBeenSet =
true;
336 m_currentImageId = std::forward<CurrentImageIdT>(value);
338 template <
typename CurrentImageIdT = Aws::String>
351 template <
typename DesiredImageIdT = Aws::String>
353 m_desiredImageIdHasBeenSet =
true;
354 m_desiredImageId = std::forward<DesiredImageIdT>(value);
356 template <
typename DesiredImageIdT = Aws::String>
369 template <
typename UltraServerInfoT = UltraServerInfo>
371 m_ultraServerInfoHasBeenSet =
true;
372 m_ultraServerInfo = std::forward<UltraServerInfoT>(value);
374 template <
typename UltraServerInfoT = UltraServerInfo>
389 template <
typename KubernetesConfigT = ClusterKubernetesConfigNodeDetails>
391 m_kubernetesConfigHasBeenSet =
true;
392 m_kubernetesConfig = std::forward<KubernetesConfigT>(value);
394 template <
typename KubernetesConfigT = ClusterKubernetesConfigNodeDetails>
411 m_capacityTypeHasBeenSet =
true;
412 m_capacityType = value;
434 ClusterLifeCycleConfig m_lifeCycleConfig;
436 VpcConfig m_overrideVpcConfig;
438 int m_threadsPerCore{0};
448 ClusterInstancePlacement m_placement;
454 UltraServerInfo m_ultraServerInfo;
456 ClusterKubernetesConfigNodeDetails m_kubernetesConfig;
459 bool m_instanceGroupNameHasBeenSet =
false;
460 bool m_instanceIdHasBeenSet =
false;
461 bool m_nodeLogicalIdHasBeenSet =
false;
462 bool m_instanceStatusHasBeenSet =
false;
463 bool m_instanceTypeHasBeenSet =
false;
464 bool m_launchTimeHasBeenSet =
false;
465 bool m_lastSoftwareUpdateTimeHasBeenSet =
false;
466 bool m_lifeCycleConfigHasBeenSet =
false;
467 bool m_overrideVpcConfigHasBeenSet =
false;
468 bool m_threadsPerCoreHasBeenSet =
false;
469 bool m_instanceStorageConfigsHasBeenSet =
false;
470 bool m_privatePrimaryIpHasBeenSet =
false;
471 bool m_privatePrimaryIpv6HasBeenSet =
false;
472 bool m_privateDnsHostnameHasBeenSet =
false;
473 bool m_placementHasBeenSet =
false;
474 bool m_currentImageIdHasBeenSet =
false;
475 bool m_desiredImageIdHasBeenSet =
false;
476 bool m_ultraServerInfoHasBeenSet =
false;
477 bool m_kubernetesConfigHasBeenSet =
false;
478 bool m_capacityTypeHasBeenSet =
false;
void SetLastSoftwareUpdateTime(LastSoftwareUpdateTimeT &&value)
const Aws::String & GetInstanceGroupName() const
ClusterNodeDetails & WithThreadsPerCore(int value)
bool LifeCycleConfigHasBeenSet() const
void SetCurrentImageId(CurrentImageIdT &&value)
bool UltraServerInfoHasBeenSet() const
const ClusterInstancePlacement & GetPlacement() const
ClusterNodeDetails & WithNodeLogicalId(NodeLogicalIdT &&value)
void SetPrivateDnsHostname(PrivateDnsHostnameT &&value)
ClusterNodeDetails & WithPrivatePrimaryIpv6(PrivatePrimaryIpv6T &&value)
ClusterNodeDetails & WithDesiredImageId(DesiredImageIdT &&value)
void SetCapacityType(ClusterCapacityType value)
const ClusterKubernetesConfigNodeDetails & GetKubernetesConfig() const
ClusterNodeDetails & WithCapacityType(ClusterCapacityType value)
void SetUltraServerInfo(UltraServerInfoT &&value)
const Aws::String & GetNodeLogicalId() const
void SetLifeCycleConfig(LifeCycleConfigT &&value)
ClusterInstanceType GetInstanceType() const
bool OverrideVpcConfigHasBeenSet() const
ClusterNodeDetails & WithInstanceType(ClusterInstanceType value)
ClusterNodeDetails & WithPrivateDnsHostname(PrivateDnsHostnameT &&value)
const ClusterLifeCycleConfig & GetLifeCycleConfig() const
bool PrivateDnsHostnameHasBeenSet() const
bool InstanceStorageConfigsHasBeenSet() const
void SetInstanceId(InstanceIdT &&value)
ClusterNodeDetails & WithLifeCycleConfig(LifeCycleConfigT &&value)
bool PrivatePrimaryIpv6HasBeenSet() const
const Aws::String & GetPrivatePrimaryIpv6() const
ClusterNodeDetails & WithLaunchTime(LaunchTimeT &&value)
ClusterNodeDetails & WithOverrideVpcConfig(OverrideVpcConfigT &&value)
bool KubernetesConfigHasBeenSet() const
bool CapacityTypeHasBeenSet() const
void SetThreadsPerCore(int value)
bool LaunchTimeHasBeenSet() const
const VpcConfig & GetOverrideVpcConfig() const
void SetKubernetesConfig(KubernetesConfigT &&value)
bool CurrentImageIdHasBeenSet() const
bool ThreadsPerCoreHasBeenSet() const
const Aws::Vector< ClusterInstanceStorageConfig > & GetInstanceStorageConfigs() const
const Aws::String & GetDesiredImageId() const
void SetPrivatePrimaryIp(PrivatePrimaryIpT &&value)
ClusterCapacityType GetCapacityType() const
const Aws::String & GetInstanceId() const
const Aws::String & GetPrivatePrimaryIp() const
bool InstanceStatusHasBeenSet() const
bool PrivatePrimaryIpHasBeenSet() const
ClusterNodeDetails & WithInstanceGroupName(InstanceGroupNameT &&value)
void SetInstanceStatus(InstanceStatusT &&value)
void SetInstanceGroupName(InstanceGroupNameT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool InstanceTypeHasBeenSet() const
void SetLaunchTime(LaunchTimeT &&value)
ClusterNodeDetails & AddInstanceStorageConfigs(InstanceStorageConfigsT &&value)
int GetThreadsPerCore() const
void SetPrivatePrimaryIpv6(PrivatePrimaryIpv6T &&value)
bool InstanceIdHasBeenSet() const
bool DesiredImageIdHasBeenSet() const
ClusterNodeDetails & WithLastSoftwareUpdateTime(LastSoftwareUpdateTimeT &&value)
ClusterNodeDetails & WithPlacement(PlacementT &&value)
const Aws::Utils::DateTime & GetLaunchTime() const
void SetOverrideVpcConfig(OverrideVpcConfigT &&value)
ClusterNodeDetails & WithInstanceStorageConfigs(InstanceStorageConfigsT &&value)
bool InstanceGroupNameHasBeenSet() const
void SetNodeLogicalId(NodeLogicalIdT &&value)
AWS_SAGEMAKER_API ClusterNodeDetails()=default
ClusterNodeDetails & WithKubernetesConfig(KubernetesConfigT &&value)
void SetInstanceStorageConfigs(InstanceStorageConfigsT &&value)
bool PlacementHasBeenSet() const
AWS_SAGEMAKER_API ClusterNodeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ClusterNodeDetails(Aws::Utils::Json::JsonView jsonValue)
void SetDesiredImageId(DesiredImageIdT &&value)
ClusterNodeDetails & WithCurrentImageId(CurrentImageIdT &&value)
ClusterNodeDetails & WithInstanceId(InstanceIdT &&value)
const Aws::Utils::DateTime & GetLastSoftwareUpdateTime() const
ClusterNodeDetails & WithPrivatePrimaryIp(PrivatePrimaryIpT &&value)
ClusterNodeDetails & WithUltraServerInfo(UltraServerInfoT &&value)
const Aws::String & GetPrivateDnsHostname() const
bool NodeLogicalIdHasBeenSet() const
void SetPlacement(PlacementT &&value)
bool LastSoftwareUpdateTimeHasBeenSet() const
void SetInstanceType(ClusterInstanceType value)
const Aws::String & GetCurrentImageId() const
ClusterNodeDetails & WithInstanceStatus(InstanceStatusT &&value)
const ClusterInstanceStatusDetails & GetInstanceStatus() const
const UltraServerInfo & GetUltraServerInfo() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue