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/ClusterEventResourceType.h>
11#include <aws/sagemaker/model/EventDetails.h>
44 template <
typename EventIdT = Aws::String>
46 m_eventIdHasBeenSet =
true;
47 m_eventId = std::forward<EventIdT>(value);
49 template <
typename EventIdT = Aws::String>
63 template <
typename ClusterArnT = Aws::String>
65 m_clusterArnHasBeenSet =
true;
66 m_clusterArn = std::forward<ClusterArnT>(value);
68 template <
typename ClusterArnT = Aws::String>
81 template <
typename ClusterNameT = Aws::String>
83 m_clusterNameHasBeenSet =
true;
84 m_clusterName = std::forward<ClusterNameT>(value);
86 template <
typename ClusterNameT = Aws::String>
99 template <
typename InstanceGroupNameT = Aws::String>
101 m_instanceGroupNameHasBeenSet =
true;
102 m_instanceGroupName = std::forward<InstanceGroupNameT>(value);
104 template <
typename InstanceGroupNameT = Aws::String>
117 template <
typename InstanceIdT = Aws::String>
119 m_instanceIdHasBeenSet =
true;
120 m_instanceId = std::forward<InstanceIdT>(value);
122 template <
typename InstanceIdT = Aws::String>
137 m_resourceTypeHasBeenSet =
true;
138 m_resourceType = value;
152 template <
typename EventTimeT = Aws::Utils::DateTime>
154 m_eventTimeHasBeenSet =
true;
155 m_eventTime = std::forward<EventTimeT>(value);
157 template <
typename EventTimeT = Aws::Utils::DateTime>
170 template <
typename EventDetailsT = EventDetails>
172 m_eventDetailsHasBeenSet =
true;
173 m_eventDetails = std::forward<EventDetailsT>(value);
175 template <
typename EventDetailsT = EventDetails>
188 template <
typename DescriptionT = Aws::String>
190 m_descriptionHasBeenSet =
true;
191 m_description = std::forward<DescriptionT>(value);
193 template <
typename DescriptionT = Aws::String>
214 EventDetails m_eventDetails;
217 bool m_eventIdHasBeenSet =
false;
218 bool m_clusterArnHasBeenSet =
false;
219 bool m_clusterNameHasBeenSet =
false;
220 bool m_instanceGroupNameHasBeenSet =
false;
221 bool m_instanceIdHasBeenSet =
false;
222 bool m_resourceTypeHasBeenSet =
false;
223 bool m_eventTimeHasBeenSet =
false;
224 bool m_eventDetailsHasBeenSet =
false;
225 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