7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ClusterInstanceStatusDetails.h>
10#include <aws/sagemaker/model/ClusterInstanceType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/ClusterLifeCycleConfig.h>
13#include <aws/sagemaker/model/VpcConfig.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/ClusterInstancePlacement.h>
16#include <aws/sagemaker/model/UltraServerInfo.h>
17#include <aws/sagemaker/model/ClusterInstanceStorageConfig.h>
56 template<
typename InstanceGroupNameT = Aws::String>
57 void SetInstanceGroupName(InstanceGroupNameT&& value) { m_instanceGroupNameHasBeenSet =
true; m_instanceGroupName = std::forward<InstanceGroupNameT>(value); }
58 template<
typename InstanceGroupNameT = Aws::String>
68 template<
typename InstanceIdT = Aws::String>
69 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
70 template<
typename InstanceIdT = Aws::String>
82 template<
typename NodeLogicalIdT = Aws::String>
83 void SetNodeLogicalId(NodeLogicalIdT&& value) { m_nodeLogicalIdHasBeenSet =
true; m_nodeLogicalId = std::forward<NodeLogicalIdT>(value); }
84 template<
typename NodeLogicalIdT = Aws::String>
94 template<
typename InstanceStatusT = ClusterInstanceStatusDetails>
95 void SetInstanceStatus(InstanceStatusT&& value) { m_instanceStatusHasBeenSet =
true; m_instanceStatus = std::forward<InstanceStatusT>(value); }
96 template<
typename InstanceStatusT = ClusterInstanceStatusDetails>
116 template<
typename LaunchTimeT = Aws::Utils::DateTime>
117 void SetLaunchTime(LaunchTimeT&& value) { m_launchTimeHasBeenSet =
true; m_launchTime = std::forward<LaunchTimeT>(value); }
118 template<
typename LaunchTimeT = Aws::Utils::DateTime>
128 template<
typename LastSoftwareUpdateTimeT = Aws::Utils::DateTime>
129 void SetLastSoftwareUpdateTime(LastSoftwareUpdateTimeT&& value) { m_lastSoftwareUpdateTimeHasBeenSet =
true; m_lastSoftwareUpdateTime = std::forward<LastSoftwareUpdateTimeT>(value); }
130 template<
typename LastSoftwareUpdateTimeT = Aws::Utils::DateTime>
140 template<
typename LifeCycleConfigT = ClusterLifeCycleConfig>
141 void SetLifeCycleConfig(LifeCycleConfigT&& value) { m_lifeCycleConfigHasBeenSet =
true; m_lifeCycleConfig = std::forward<LifeCycleConfigT>(value); }
142 template<
typename LifeCycleConfigT = ClusterLifeCycleConfig>
154 template<
typename Overr
ideVpcConfigT = VpcConfig>
155 void SetOverrideVpcConfig(OverrideVpcConfigT&& value) { m_overrideVpcConfigHasBeenSet =
true; m_overrideVpcConfig = std::forward<OverrideVpcConfigT>(value); }
156 template<
typename Overr
ideVpcConfigT = VpcConfig>
167 inline void SetThreadsPerCore(
int value) { m_threadsPerCoreHasBeenSet =
true; m_threadsPerCore = value; }
178 template<
typename InstanceStorageConfigsT = Aws::Vector<ClusterInstanceStorageConfig>>
179 void SetInstanceStorageConfigs(InstanceStorageConfigsT&& value) { m_instanceStorageConfigsHasBeenSet =
true; m_instanceStorageConfigs = std::forward<InstanceStorageConfigsT>(value); }
180 template<
typename InstanceStorageConfigsT = Aws::Vector<ClusterInstanceStorageConfig>>
182 template<
typename InstanceStorageConfigsT = ClusterInstanceStorageConfig>
192 template<
typename PrivatePrimaryIpT = Aws::String>
193 void SetPrivatePrimaryIp(PrivatePrimaryIpT&& value) { m_privatePrimaryIpHasBeenSet =
true; m_privatePrimaryIp = std::forward<PrivatePrimaryIpT>(value); }
194 template<
typename PrivatePrimaryIpT = Aws::String>
207 template<
typename PrivatePrimaryIpv6T = Aws::String>
208 void SetPrivatePrimaryIpv6(PrivatePrimaryIpv6T&& value) { m_privatePrimaryIpv6HasBeenSet =
true; m_privatePrimaryIpv6 = std::forward<PrivatePrimaryIpv6T>(value); }
209 template<
typename PrivatePrimaryIpv6T = Aws::String>
219 template<
typename PrivateDnsHostnameT = Aws::String>
220 void SetPrivateDnsHostname(PrivateDnsHostnameT&& value) { m_privateDnsHostnameHasBeenSet =
true; m_privateDnsHostname = std::forward<PrivateDnsHostnameT>(value); }
221 template<
typename PrivateDnsHostnameT = Aws::String>
231 template<
typename PlacementT = ClusterInstancePlacement>
232 void SetPlacement(PlacementT&& value) { m_placementHasBeenSet =
true; m_placement = std::forward<PlacementT>(value); }
233 template<
typename PlacementT = ClusterInstancePlacement>
243 template<
typename CurrentImageIdT = Aws::String>
244 void SetCurrentImageId(CurrentImageIdT&& value) { m_currentImageIdHasBeenSet =
true; m_currentImageId = std::forward<CurrentImageIdT>(value); }
245 template<
typename CurrentImageIdT = Aws::String>
255 template<
typename DesiredImageIdT = Aws::String>
256 void SetDesiredImageId(DesiredImageIdT&& value) { m_desiredImageIdHasBeenSet =
true; m_desiredImageId = std::forward<DesiredImageIdT>(value); }
257 template<
typename DesiredImageIdT = Aws::String>
267 template<
typename UltraServerInfoT = UltraServerInfo>
268 void SetUltraServerInfo(UltraServerInfoT&& value) { m_ultraServerInfoHasBeenSet =
true; m_ultraServerInfo = std::forward<UltraServerInfoT>(value); }
269 template<
typename UltraServerInfoT = UltraServerInfo>
275 bool m_instanceGroupNameHasBeenSet =
false;
278 bool m_instanceIdHasBeenSet =
false;
281 bool m_nodeLogicalIdHasBeenSet =
false;
284 bool m_instanceStatusHasBeenSet =
false;
287 bool m_instanceTypeHasBeenSet =
false;
290 bool m_launchTimeHasBeenSet =
false;
293 bool m_lastSoftwareUpdateTimeHasBeenSet =
false;
295 ClusterLifeCycleConfig m_lifeCycleConfig;
296 bool m_lifeCycleConfigHasBeenSet =
false;
298 VpcConfig m_overrideVpcConfig;
299 bool m_overrideVpcConfigHasBeenSet =
false;
301 int m_threadsPerCore{0};
302 bool m_threadsPerCoreHasBeenSet =
false;
305 bool m_instanceStorageConfigsHasBeenSet =
false;
308 bool m_privatePrimaryIpHasBeenSet =
false;
311 bool m_privatePrimaryIpv6HasBeenSet =
false;
314 bool m_privateDnsHostnameHasBeenSet =
false;
316 ClusterInstancePlacement m_placement;
317 bool m_placementHasBeenSet =
false;
320 bool m_currentImageIdHasBeenSet =
false;
323 bool m_desiredImageIdHasBeenSet =
false;
325 UltraServerInfo m_ultraServerInfo;
326 bool m_ultraServerInfoHasBeenSet =
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 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)
void SetThreadsPerCore(int value)
bool LaunchTimeHasBeenSet() const
const VpcConfig & GetOverrideVpcConfig() const
bool CurrentImageIdHasBeenSet() const
bool ThreadsPerCoreHasBeenSet() const
const Aws::Vector< ClusterInstanceStorageConfig > & GetInstanceStorageConfigs() const
const Aws::String & GetDesiredImageId() const
void SetPrivatePrimaryIp(PrivatePrimaryIpT &&value)
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
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