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>
43 template <
typename EventIdT = Aws::String>
45 m_eventIdHasBeenSet =
true;
46 m_eventId = std::forward<EventIdT>(value);
48 template <
typename EventIdT = Aws::String>
62 template <
typename ClusterArnT = Aws::String>
64 m_clusterArnHasBeenSet =
true;
65 m_clusterArn = std::forward<ClusterArnT>(value);
67 template <
typename ClusterArnT = Aws::String>
80 template <
typename ClusterNameT = Aws::String>
82 m_clusterNameHasBeenSet =
true;
83 m_clusterName = std::forward<ClusterNameT>(value);
85 template <
typename ClusterNameT = Aws::String>
98 template <
typename InstanceGroupNameT = Aws::String>
100 m_instanceGroupNameHasBeenSet =
true;
101 m_instanceGroupName = std::forward<InstanceGroupNameT>(value);
103 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 DescriptionT = Aws::String>
172 m_descriptionHasBeenSet =
true;
173 m_description = std::forward<DescriptionT>(value);
175 template <
typename DescriptionT = Aws::String>
190 m_eventLevelHasBeenSet =
true;
191 m_eventLevel = value;
216 bool m_eventIdHasBeenSet =
false;
217 bool m_clusterArnHasBeenSet =
false;
218 bool m_clusterNameHasBeenSet =
false;
219 bool m_instanceGroupNameHasBeenSet =
false;
220 bool m_instanceIdHasBeenSet =
false;
221 bool m_resourceTypeHasBeenSet =
false;
222 bool m_eventTimeHasBeenSet =
false;
223 bool m_descriptionHasBeenSet =
false;
224 bool m_eventLevelHasBeenSet =
false;
void SetDescription(DescriptionT &&value)
ClusterEventSummary & WithInstanceId(InstanceIdT &&value)
const Aws::String & GetEventId() const
bool ClusterArnHasBeenSet() const
void SetEventLevel(ClusterEventLevel value)
ClusterEventSummary & WithResourceType(ClusterEventResourceType value)
void SetClusterName(ClusterNameT &&value)
ClusterEventSummary & WithClusterArn(ClusterArnT &&value)
bool DescriptionHasBeenSet() const
AWS_SAGEMAKER_API ClusterEventSummary(Aws::Utils::Json::JsonView jsonValue)
bool ResourceTypeHasBeenSet() const
const Aws::Utils::DateTime & GetEventTime() const
bool InstanceIdHasBeenSet() const
ClusterEventLevel GetEventLevel() const
void SetEventTime(EventTimeT &&value)
const Aws::String & GetClusterArn() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterEventSummary & WithClusterName(ClusterNameT &&value)
ClusterEventSummary & WithEventLevel(ClusterEventLevel value)
void SetClusterArn(ClusterArnT &&value)
bool EventIdHasBeenSet() const
void SetInstanceGroupName(InstanceGroupNameT &&value)
ClusterEventSummary & WithInstanceGroupName(InstanceGroupNameT &&value)
void SetInstanceId(InstanceIdT &&value)
void SetResourceType(ClusterEventResourceType value)
bool EventLevelHasBeenSet() const
bool ClusterNameHasBeenSet() const
ClusterEventResourceType GetResourceType() const
const Aws::String & GetClusterName() const
ClusterEventSummary & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
ClusterEventSummary & WithEventId(EventIdT &&value)
bool InstanceGroupNameHasBeenSet() const
AWS_SAGEMAKER_API ClusterEventSummary()=default
const Aws::String & GetInstanceId() const
void SetEventId(EventIdT &&value)
ClusterEventSummary & WithEventTime(EventTimeT &&value)
AWS_SAGEMAKER_API ClusterEventSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInstanceGroupName() const
bool EventTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue