7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ClusterInstanceType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/ClusterInstanceStatusDetails.h>
50 template<
typename InstanceGroupNameT = Aws::String>
51 void SetInstanceGroupName(InstanceGroupNameT&& value) { m_instanceGroupNameHasBeenSet =
true; m_instanceGroupName = std::forward<InstanceGroupNameT>(value); }
52 template<
typename InstanceGroupNameT = Aws::String>
62 template<
typename InstanceIdT = Aws::String>
63 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
64 template<
typename InstanceIdT = Aws::String>
84 template<
typename LaunchTimeT = Aws::Utils::DateTime>
85 void SetLaunchTime(LaunchTimeT&& value) { m_launchTimeHasBeenSet =
true; m_launchTime = std::forward<LaunchTimeT>(value); }
86 template<
typename LaunchTimeT = Aws::Utils::DateTime>
97 template<
typename LastSoftwareUpdateTimeT = Aws::Utils::DateTime>
98 void SetLastSoftwareUpdateTime(LastSoftwareUpdateTimeT&& value) { m_lastSoftwareUpdateTimeHasBeenSet =
true; m_lastSoftwareUpdateTime = std::forward<LastSoftwareUpdateTimeT>(value); }
99 template<
typename LastSoftwareUpdateTimeT = Aws::Utils::DateTime>
109 template<
typename InstanceStatusT = ClusterInstanceStatusDetails>
110 void SetInstanceStatus(InstanceStatusT&& value) { m_instanceStatusHasBeenSet =
true; m_instanceStatus = std::forward<InstanceStatusT>(value); }
111 template<
typename InstanceStatusT = ClusterInstanceStatusDetails>
117 bool m_instanceGroupNameHasBeenSet =
false;
120 bool m_instanceIdHasBeenSet =
false;
123 bool m_instanceTypeHasBeenSet =
false;
126 bool m_launchTimeHasBeenSet =
false;
129 bool m_lastSoftwareUpdateTimeHasBeenSet =
false;
131 ClusterInstanceStatusDetails m_instanceStatus;
132 bool m_instanceStatusHasBeenSet =
false;
ClusterInstanceType GetInstanceType() const
void SetInstanceStatus(InstanceStatusT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLaunchTime(LaunchTimeT &&value)
ClusterNodeSummary & WithInstanceType(ClusterInstanceType value)
bool InstanceIdHasBeenSet() const
bool InstanceTypeHasBeenSet() const
bool InstanceGroupNameHasBeenSet() const
ClusterNodeSummary & WithInstanceId(InstanceIdT &&value)
bool InstanceStatusHasBeenSet() const
void SetInstanceType(ClusterInstanceType value)
ClusterNodeSummary & WithLaunchTime(LaunchTimeT &&value)
const ClusterInstanceStatusDetails & GetInstanceStatus() const
void SetLastSoftwareUpdateTime(LastSoftwareUpdateTimeT &&value)
bool LastSoftwareUpdateTimeHasBeenSet() const
const Aws::String & GetInstanceGroupName() const
const Aws::Utils::DateTime & GetLastSoftwareUpdateTime() const
AWS_SAGEMAKER_API ClusterNodeSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ClusterNodeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterNodeSummary & WithInstanceStatus(InstanceStatusT &&value)
void SetInstanceId(InstanceIdT &&value)
const Aws::String & GetInstanceId() const
void SetInstanceGroupName(InstanceGroupNameT &&value)
const Aws::Utils::DateTime & GetLaunchTime() const
ClusterNodeSummary & WithLastSoftwareUpdateTime(LastSoftwareUpdateTimeT &&value)
bool LaunchTimeHasBeenSet() const
AWS_SAGEMAKER_API ClusterNodeSummary()=default
ClusterNodeSummary & WithInstanceGroupName(InstanceGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue