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>
48 template<
typename EventIdT = Aws::String>
49 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
50 template<
typename EventIdT = Aws::String>
61 template<
typename ClusterArnT = Aws::String>
62 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
63 template<
typename ClusterArnT = Aws::String>
73 template<
typename ClusterNameT = Aws::String>
74 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
75 template<
typename ClusterNameT = Aws::String>
85 template<
typename InstanceGroupNameT = Aws::String>
86 void SetInstanceGroupName(InstanceGroupNameT&& value) { m_instanceGroupNameHasBeenSet =
true; m_instanceGroupName = std::forward<InstanceGroupNameT>(value); }
87 template<
typename InstanceGroupNameT = Aws::String>
98 template<
typename InstanceIdT = Aws::String>
99 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
100 template<
typename InstanceIdT = Aws::String>
121 template<
typename EventTimeT = Aws::Utils::DateTime>
122 void SetEventTime(EventTimeT&& value) { m_eventTimeHasBeenSet =
true; m_eventTime = std::forward<EventTimeT>(value); }
123 template<
typename EventTimeT = Aws::Utils::DateTime>
133 template<
typename DescriptionT = Aws::String>
134 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
135 template<
typename DescriptionT = Aws::String>
141 bool m_eventIdHasBeenSet =
false;
144 bool m_clusterArnHasBeenSet =
false;
147 bool m_clusterNameHasBeenSet =
false;
150 bool m_instanceGroupNameHasBeenSet =
false;
153 bool m_instanceIdHasBeenSet =
false;
156 bool m_resourceTypeHasBeenSet =
false;
159 bool m_eventTimeHasBeenSet =
false;
162 bool m_descriptionHasBeenSet =
false;
void SetDescription(DescriptionT &&value)
ClusterEventSummary & WithInstanceId(InstanceIdT &&value)
const Aws::String & GetEventId() const
bool ClusterArnHasBeenSet() const
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
void SetEventTime(EventTimeT &&value)
const Aws::String & GetClusterArn() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterEventSummary & WithClusterName(ClusterNameT &&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 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