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/ClusterInstanceStorageConfig.h>
55 template<
typename InstanceGroupNameT = Aws::String>
56 void SetInstanceGroupName(InstanceGroupNameT&& value) { m_instanceGroupNameHasBeenSet =
true; m_instanceGroupName = std::forward<InstanceGroupNameT>(value); }
57 template<
typename InstanceGroupNameT = Aws::String>
67 template<
typename InstanceIdT = Aws::String>
68 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
69 template<
typename InstanceIdT = Aws::String>
79 template<
typename InstanceStatusT = ClusterInstanceStatusDetails>
80 void SetInstanceStatus(InstanceStatusT&& value) { m_instanceStatusHasBeenSet =
true; m_instanceStatus = std::forward<InstanceStatusT>(value); }
81 template<
typename InstanceStatusT = ClusterInstanceStatusDetails>
101 template<
typename LaunchTimeT = Aws::Utils::DateTime>
102 void SetLaunchTime(LaunchTimeT&& value) { m_launchTimeHasBeenSet =
true; m_launchTime = std::forward<LaunchTimeT>(value); }
103 template<
typename LaunchTimeT = Aws::Utils::DateTime>
113 template<
typename LastSoftwareUpdateTimeT = Aws::Utils::DateTime>
114 void SetLastSoftwareUpdateTime(LastSoftwareUpdateTimeT&& value) { m_lastSoftwareUpdateTimeHasBeenSet =
true; m_lastSoftwareUpdateTime = std::forward<LastSoftwareUpdateTimeT>(value); }
115 template<
typename LastSoftwareUpdateTimeT = Aws::Utils::DateTime>
125 template<
typename LifeCycleConfigT = ClusterLifeCycleConfig>
126 void SetLifeCycleConfig(LifeCycleConfigT&& value) { m_lifeCycleConfigHasBeenSet =
true; m_lifeCycleConfig = std::forward<LifeCycleConfigT>(value); }
127 template<
typename LifeCycleConfigT = ClusterLifeCycleConfig>
139 template<
typename Overr
ideVpcConfigT = VpcConfig>
140 void SetOverrideVpcConfig(OverrideVpcConfigT&& value) { m_overrideVpcConfigHasBeenSet =
true; m_overrideVpcConfig = std::forward<OverrideVpcConfigT>(value); }
141 template<
typename Overr
ideVpcConfigT = VpcConfig>
152 inline void SetThreadsPerCore(
int value) { m_threadsPerCoreHasBeenSet =
true; m_threadsPerCore = value; }
163 template<
typename InstanceStorageConfigsT = Aws::Vector<ClusterInstanceStorageConfig>>
164 void SetInstanceStorageConfigs(InstanceStorageConfigsT&& value) { m_instanceStorageConfigsHasBeenSet =
true; m_instanceStorageConfigs = std::forward<InstanceStorageConfigsT>(value); }
165 template<
typename InstanceStorageConfigsT = Aws::Vector<ClusterInstanceStorageConfig>>
167 template<
typename InstanceStorageConfigsT = ClusterInstanceStorageConfig>
177 template<
typename PrivatePrimaryIpT = Aws::String>
178 void SetPrivatePrimaryIp(PrivatePrimaryIpT&& value) { m_privatePrimaryIpHasBeenSet =
true; m_privatePrimaryIp = std::forward<PrivatePrimaryIpT>(value); }
179 template<
typename PrivatePrimaryIpT = Aws::String>
192 template<
typename PrivatePrimaryIpv6T = Aws::String>
193 void SetPrivatePrimaryIpv6(PrivatePrimaryIpv6T&& value) { m_privatePrimaryIpv6HasBeenSet =
true; m_privatePrimaryIpv6 = std::forward<PrivatePrimaryIpv6T>(value); }
194 template<
typename PrivatePrimaryIpv6T = Aws::String>
204 template<
typename PrivateDnsHostnameT = Aws::String>
205 void SetPrivateDnsHostname(PrivateDnsHostnameT&& value) { m_privateDnsHostnameHasBeenSet =
true; m_privateDnsHostname = std::forward<PrivateDnsHostnameT>(value); }
206 template<
typename PrivateDnsHostnameT = Aws::String>
216 template<
typename PlacementT = ClusterInstancePlacement>
217 void SetPlacement(PlacementT&& value) { m_placementHasBeenSet =
true; m_placement = std::forward<PlacementT>(value); }
218 template<
typename PlacementT = ClusterInstancePlacement>
224 bool m_instanceGroupNameHasBeenSet =
false;
227 bool m_instanceIdHasBeenSet =
false;
230 bool m_instanceStatusHasBeenSet =
false;
233 bool m_instanceTypeHasBeenSet =
false;
236 bool m_launchTimeHasBeenSet =
false;
239 bool m_lastSoftwareUpdateTimeHasBeenSet =
false;
241 ClusterLifeCycleConfig m_lifeCycleConfig;
242 bool m_lifeCycleConfigHasBeenSet =
false;
244 VpcConfig m_overrideVpcConfig;
245 bool m_overrideVpcConfigHasBeenSet =
false;
247 int m_threadsPerCore{0};
248 bool m_threadsPerCoreHasBeenSet =
false;
251 bool m_instanceStorageConfigsHasBeenSet =
false;
254 bool m_privatePrimaryIpHasBeenSet =
false;
257 bool m_privatePrimaryIpv6HasBeenSet =
false;
260 bool m_privateDnsHostnameHasBeenSet =
false;
262 ClusterInstancePlacement m_placement;
263 bool m_placementHasBeenSet =
false;
void SetLastSoftwareUpdateTime(LastSoftwareUpdateTimeT &&value)
const Aws::String & GetInstanceGroupName() const
ClusterNodeDetails & WithThreadsPerCore(int value)
bool LifeCycleConfigHasBeenSet() const
const ClusterInstancePlacement & GetPlacement() const
void SetPrivateDnsHostname(PrivateDnsHostnameT &&value)
ClusterNodeDetails & WithPrivatePrimaryIpv6(PrivatePrimaryIpv6T &&value)
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 ThreadsPerCoreHasBeenSet() const
const Aws::Vector< ClusterInstanceStorageConfig > & GetInstanceStorageConfigs() 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
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
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)
ClusterNodeDetails & WithInstanceId(InstanceIdT &&value)
const Aws::Utils::DateTime & GetLastSoftwareUpdateTime() const
ClusterNodeDetails & WithPrivatePrimaryIp(PrivatePrimaryIpT &&value)
const Aws::String & GetPrivateDnsHostname() const
void SetPlacement(PlacementT &&value)
bool LastSoftwareUpdateTimeHasBeenSet() const
void SetInstanceType(ClusterInstanceType value)
ClusterNodeDetails & WithInstanceStatus(InstanceStatusT &&value)
const ClusterInstanceStatusDetails & GetInstanceStatus() 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