7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ClusterEventResourceType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/EventDetails.h>
50 template<
typename EventIdT = Aws::String>
51 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
52 template<
typename EventIdT = Aws::String>
63 template<
typename ClusterArnT = Aws::String>
64 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
65 template<
typename ClusterArnT = Aws::String>
75 template<
typename ClusterNameT = Aws::String>
76 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
77 template<
typename ClusterNameT = Aws::String>
87 template<
typename InstanceGroupNameT = Aws::String>
88 void SetInstanceGroupName(InstanceGroupNameT&& value) { m_instanceGroupNameHasBeenSet =
true; m_instanceGroupName = std::forward<InstanceGroupNameT>(value); }
89 template<
typename InstanceGroupNameT = Aws::String>
99 template<
typename InstanceIdT = Aws::String>
100 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
101 template<
typename InstanceIdT = Aws::String>
122 template<
typename EventTimeT = Aws::Utils::DateTime>
123 void SetEventTime(EventTimeT&& value) { m_eventTimeHasBeenSet =
true; m_eventTime = std::forward<EventTimeT>(value); }
124 template<
typename EventTimeT = Aws::Utils::DateTime>
134 template<
typename EventDetailsT = EventDetails>
135 void SetEventDetails(EventDetailsT&& value) { m_eventDetailsHasBeenSet =
true; m_eventDetails = std::forward<EventDetailsT>(value); }
136 template<
typename EventDetailsT = EventDetails>
146 template<
typename DescriptionT = Aws::String>
147 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
148 template<
typename DescriptionT = Aws::String>
154 bool m_eventIdHasBeenSet =
false;
157 bool m_clusterArnHasBeenSet =
false;
160 bool m_clusterNameHasBeenSet =
false;
163 bool m_instanceGroupNameHasBeenSet =
false;
166 bool m_instanceIdHasBeenSet =
false;
169 bool m_resourceTypeHasBeenSet =
false;
172 bool m_eventTimeHasBeenSet =
false;
174 EventDetails m_eventDetails;
175 bool m_eventDetailsHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
AWS_SAGEMAKER_API ClusterEventDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ClusterEventDetail()=default
ClusterEventDetail & WithInstanceId(InstanceIdT &&value)
ClusterEventDetail & WithEventId(EventIdT &&value)
bool EventDetailsHasBeenSet() const
ClusterEventDetail & WithResourceType(ClusterEventResourceType value)
void SetClusterArn(ClusterArnT &&value)
void SetInstanceGroupName(InstanceGroupNameT &&value)
const Aws::String & GetDescription() const
ClusterEventDetail & WithDescription(DescriptionT &&value)
const Aws::String & GetEventId() const
const Aws::String & GetClusterArn() const
void SetEventDetails(EventDetailsT &&value)
ClusterEventDetail & WithEventTime(EventTimeT &&value)
bool ClusterArnHasBeenSet() const
bool ClusterNameHasBeenSet() const
const EventDetails & GetEventDetails() const
bool EventTimeHasBeenSet() const
const Aws::String & GetClusterName() const
bool ResourceTypeHasBeenSet() const
ClusterEventDetail & WithInstanceGroupName(InstanceGroupNameT &&value)
AWS_SAGEMAKER_API ClusterEventDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterEventResourceType GetResourceType() const
void SetEventTime(EventTimeT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool DescriptionHasBeenSet() const
void SetEventId(EventIdT &&value)
const Aws::String & GetInstanceId() const
bool EventIdHasBeenSet() const
ClusterEventDetail & WithClusterArn(ClusterArnT &&value)
bool InstanceIdHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetInstanceId(InstanceIdT &&value)
bool InstanceGroupNameHasBeenSet() const
ClusterEventDetail & WithClusterName(ClusterNameT &&value)
ClusterEventDetail & WithEventDetails(EventDetailsT &&value)
void SetResourceType(ClusterEventResourceType value)
const Aws::String & GetInstanceGroupName() const
void SetClusterName(ClusterNameT &&value)
const Aws::Utils::DateTime & GetEventTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue