7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ClusterStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/VpcConfig.h>
13#include <aws/sagemaker/model/ClusterOrchestrator.h>
14#include <aws/sagemaker/model/ClusterNodeRecovery.h>
15#include <aws/sagemaker/model/ClusterInstanceGroupDetails.h>
16#include <aws/sagemaker/model/ClusterRestrictedInstanceGroupDetails.h>
21template<
typename RESULT_TYPE>
22class AmazonWebServiceResult;
48 template<
typename ClusterArnT = Aws::String>
49 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
50 template<
typename ClusterArnT = Aws::String>
59 template<
typename ClusterNameT = Aws::String>
60 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
61 template<
typename ClusterNameT = Aws::String>
79 template<
typename CreationTimeT = Aws::Utils::DateTime>
80 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
81 template<
typename CreationTimeT = Aws::Utils::DateTime>
90 template<
typename FailureMessageT = Aws::String>
91 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet =
true; m_failureMessage = std::forward<FailureMessageT>(value); }
92 template<
typename FailureMessageT = Aws::String>
101 template<
typename InstanceGroupsT = Aws::Vector<ClusterInstanceGroupDetails>>
102 void SetInstanceGroups(InstanceGroupsT&& value) { m_instanceGroupsHasBeenSet =
true; m_instanceGroups = std::forward<InstanceGroupsT>(value); }
103 template<
typename InstanceGroupsT = Aws::Vector<ClusterInstanceGroupDetails>>
105 template<
typename InstanceGroupsT = ClusterInstanceGroupDetails>
115 template<
typename RestrictedInstanceGroupsT = Aws::Vector<ClusterRestrictedInstanceGroupDetails>>
116 void SetRestrictedInstanceGroups(RestrictedInstanceGroupsT&& value) { m_restrictedInstanceGroupsHasBeenSet =
true; m_restrictedInstanceGroups = std::forward<RestrictedInstanceGroupsT>(value); }
117 template<
typename RestrictedInstanceGroupsT = Aws::Vector<ClusterRestrictedInstanceGroupDetails>>
119 template<
typename RestrictedInstanceGroupsT = ClusterRestrictedInstanceGroupDetails>
126 template<
typename VpcConfigT = VpcConfig>
127 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
128 template<
typename VpcConfigT = VpcConfig>
137 template<
typename OrchestratorT = ClusterOrchestrator>
138 void SetOrchestrator(OrchestratorT&& value) { m_orchestratorHasBeenSet =
true; m_orchestrator = std::forward<OrchestratorT>(value); }
139 template<
typename OrchestratorT = ClusterOrchestrator>
155 template<
typename RequestIdT = Aws::String>
156 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
157 template<
typename RequestIdT = Aws::String>
163 bool m_clusterArnHasBeenSet =
false;
166 bool m_clusterNameHasBeenSet =
false;
169 bool m_clusterStatusHasBeenSet =
false;
172 bool m_creationTimeHasBeenSet =
false;
175 bool m_failureMessageHasBeenSet =
false;
178 bool m_instanceGroupsHasBeenSet =
false;
181 bool m_restrictedInstanceGroupsHasBeenSet =
false;
183 VpcConfig m_vpcConfig;
184 bool m_vpcConfigHasBeenSet =
false;
186 ClusterOrchestrator m_orchestrator;
187 bool m_orchestratorHasBeenSet =
false;
190 bool m_nodeRecoveryHasBeenSet =
false;
193 bool m_requestIdHasBeenSet =
false;
DescribeClusterResult & WithRestrictedInstanceGroups(RestrictedInstanceGroupsT &&value)
void SetRestrictedInstanceGroups(RestrictedInstanceGroupsT &&value)
DescribeClusterResult & WithRequestId(RequestIdT &&value)
void SetClusterArn(ClusterArnT &&value)
DescribeClusterResult & WithOrchestrator(OrchestratorT &&value)
DescribeClusterResult & WithCreationTime(CreationTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
ClusterStatus GetClusterStatus() const
DescribeClusterResult & WithVpcConfig(VpcConfigT &&value)
DescribeClusterResult & AddRestrictedInstanceGroups(RestrictedInstanceGroupsT &&value)
DescribeClusterResult & AddInstanceGroups(InstanceGroupsT &&value)
const Aws::String & GetFailureMessage() const
DescribeClusterResult & WithClusterName(ClusterNameT &&value)
AWS_SAGEMAKER_API DescribeClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetClusterName() const
void SetClusterStatus(ClusterStatus value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeClusterResult & WithFailureMessage(FailureMessageT &&value)
const ClusterOrchestrator & GetOrchestrator() const
DescribeClusterResult & WithClusterStatus(ClusterStatus value)
DescribeClusterResult & WithInstanceGroups(InstanceGroupsT &&value)
const Aws::String & GetRequestId() const
DescribeClusterResult & WithNodeRecovery(ClusterNodeRecovery value)
void SetRequestId(RequestIdT &&value)
void SetInstanceGroups(InstanceGroupsT &&value)
const Aws::String & GetClusterArn() const
AWS_SAGEMAKER_API DescribeClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFailureMessage(FailureMessageT &&value)
AWS_SAGEMAKER_API DescribeClusterResult()=default
const VpcConfig & GetVpcConfig() const
void SetOrchestrator(OrchestratorT &&value)
void SetClusterName(ClusterNameT &&value)
ClusterNodeRecovery GetNodeRecovery() const
const Aws::Vector< ClusterRestrictedInstanceGroupDetails > & GetRestrictedInstanceGroups() const
const Aws::Vector< ClusterInstanceGroupDetails > & GetInstanceGroups() const
void SetNodeRecovery(ClusterNodeRecovery value)
void SetVpcConfig(VpcConfigT &&value)
DescribeClusterResult & WithClusterArn(ClusterArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue