7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/ClusterEventLevel.h>
11#include <aws/sagemaker/model/ClusterEventResourceType.h>
12#include <aws/sagemaker/model/EventDetails.h>
45 template <
typename EventIdT = Aws::String>
47 m_eventIdHasBeenSet =
true;
48 m_eventId = std::forward<EventIdT>(value);
50 template <
typename EventIdT = Aws::String>
64 template <
typename ClusterArnT = Aws::String>
66 m_clusterArnHasBeenSet =
true;
67 m_clusterArn = std::forward<ClusterArnT>(value);
69 template <
typename ClusterArnT = Aws::String>
82 template <
typename ClusterNameT = Aws::String>
84 m_clusterNameHasBeenSet =
true;
85 m_clusterName = std::forward<ClusterNameT>(value);
87 template <
typename ClusterNameT = Aws::String>
100 template <
typename InstanceGroupNameT = Aws::String>
102 m_instanceGroupNameHasBeenSet =
true;
103 m_instanceGroupName = std::forward<InstanceGroupNameT>(value);
105 template <
typename InstanceGroupNameT = Aws::String>
118 template <
typename InstanceIdT = Aws::String>
120 m_instanceIdHasBeenSet =
true;
121 m_instanceId = std::forward<InstanceIdT>(value);
123 template <
typename InstanceIdT = Aws::String>
138 m_resourceTypeHasBeenSet =
true;
139 m_resourceType = value;
153 template <
typename EventTimeT = Aws::Utils::DateTime>
155 m_eventTimeHasBeenSet =
true;
156 m_eventTime = std::forward<EventTimeT>(value);
158 template <
typename EventTimeT = Aws::Utils::DateTime>
171 template <
typename EventDetailsT = EventDetails>
173 m_eventDetailsHasBeenSet =
true;
174 m_eventDetails = std::forward<EventDetailsT>(value);
176 template <
typename EventDetailsT = EventDetails>
189 template <
typename DescriptionT = Aws::String>
191 m_descriptionHasBeenSet =
true;
192 m_description = std::forward<DescriptionT>(value);
194 template <
typename DescriptionT = Aws::String>
209 m_eventLevelHasBeenSet =
true;
210 m_eventLevel = value;
232 EventDetails m_eventDetails;
237 bool m_eventIdHasBeenSet =
false;
238 bool m_clusterArnHasBeenSet =
false;
239 bool m_clusterNameHasBeenSet =
false;
240 bool m_instanceGroupNameHasBeenSet =
false;
241 bool m_instanceIdHasBeenSet =
false;
242 bool m_resourceTypeHasBeenSet =
false;
243 bool m_eventTimeHasBeenSet =
false;
244 bool m_eventDetailsHasBeenSet =
false;
245 bool m_descriptionHasBeenSet =
false;
246 bool m_eventLevelHasBeenSet =
false;
AWS_SAGEMAKER_API ClusterEventDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ClusterEventDetail()=default
ClusterEventDetail & WithInstanceId(InstanceIdT &&value)
ClusterEventLevel GetEventLevel() const
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)
void SetEventLevel(ClusterEventLevel 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)
bool EventLevelHasBeenSet() const
AWS_SAGEMAKER_API ClusterEventDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterEventResourceType GetResourceType() const
void SetEventTime(EventTimeT &&value)
ClusterEventDetail & WithEventLevel(ClusterEventLevel 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