7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/ClusterAutoScalingConfigOutput.h>
13#include <aws/sagemaker/model/ClusterInstanceGroupDetails.h>
14#include <aws/sagemaker/model/ClusterNodeProvisioningMode.h>
15#include <aws/sagemaker/model/ClusterNodeRecovery.h>
16#include <aws/sagemaker/model/ClusterOrchestrator.h>
17#include <aws/sagemaker/model/ClusterRestrictedInstanceGroupDetails.h>
18#include <aws/sagemaker/model/ClusterRestrictedInstanceGroupsConfigOutput.h>
19#include <aws/sagemaker/model/ClusterStatus.h>
20#include <aws/sagemaker/model/ClusterTieredStorageConfig.h>
21#include <aws/sagemaker/model/VpcConfig.h>
26template <
typename RESULT_TYPE>
27class AmazonWebServiceResult;
47 template <
typename ClusterArnT = Aws::String>
49 m_clusterArnHasBeenSet =
true;
50 m_clusterArn = std::forward<ClusterArnT>(value);
52 template <
typename ClusterArnT = Aws::String>
64 template <
typename ClusterNameT = Aws::String>
66 m_clusterNameHasBeenSet =
true;
67 m_clusterName = std::forward<ClusterNameT>(value);
69 template <
typename ClusterNameT = Aws::String>
82 m_clusterStatusHasBeenSet =
true;
83 m_clusterStatus = value;
96 template <
typename CreationTimeT = Aws::Utils::DateTime>
98 m_creationTimeHasBeenSet =
true;
99 m_creationTime = std::forward<CreationTimeT>(value);
101 template <
typename CreationTimeT = Aws::Utils::DateTime>
113 template <
typename FailureMessageT = Aws::String>
115 m_failureMessageHasBeenSet =
true;
116 m_failureMessage = std::forward<FailureMessageT>(value);
118 template <
typename FailureMessageT = Aws::String>
130 template <
typename InstanceGroupsT = Aws::Vector<ClusterInstanceGroupDetails>>
132 m_instanceGroupsHasBeenSet =
true;
133 m_instanceGroups = std::forward<InstanceGroupsT>(value);
135 template <
typename InstanceGroupsT = Aws::Vector<ClusterInstanceGroupDetails>>
140 template <
typename InstanceGroupsT = ClusterInstanceGroupDetails>
142 m_instanceGroupsHasBeenSet =
true;
143 m_instanceGroups.emplace_back(std::forward<InstanceGroupsT>(value));
154 return m_restrictedInstanceGroups;
156 template <
typename RestrictedInstanceGroupsT = Aws::Vector<ClusterRestrictedInstanceGroupDetails>>
158 m_restrictedInstanceGroupsHasBeenSet =
true;
159 m_restrictedInstanceGroups = std::forward<RestrictedInstanceGroupsT>(value);
161 template <
typename RestrictedInstanceGroupsT = Aws::Vector<ClusterRestrictedInstanceGroupDetails>>
166 template <
typename RestrictedInstanceGroupsT = ClusterRestrictedInstanceGroupDetails>
168 m_restrictedInstanceGroupsHasBeenSet =
true;
169 m_restrictedInstanceGroups.emplace_back(std::forward<RestrictedInstanceGroupsT>(value));
180 return m_restrictedInstanceGroupsConfig;
182 template <
typename RestrictedInstanceGroupsConfigT = ClusterRestrictedInstanceGroupsConfigOutput>
184 m_restrictedInstanceGroupsConfigHasBeenSet =
true;
185 m_restrictedInstanceGroupsConfig = std::forward<RestrictedInstanceGroupsConfigT>(value);
187 template <
typename RestrictedInstanceGroupsConfigT = ClusterRestrictedInstanceGroupsConfigOutput>
197 template <
typename VpcConfigT = VpcConfig>
199 m_vpcConfigHasBeenSet =
true;
200 m_vpcConfig = std::forward<VpcConfigT>(value);
202 template <
typename VpcConfigT = VpcConfig>
214 template <
typename OrchestratorT = ClusterOrchestrator>
216 m_orchestratorHasBeenSet =
true;
217 m_orchestrator = std::forward<OrchestratorT>(value);
219 template <
typename OrchestratorT = ClusterOrchestrator>
233 template <
typename TieredStorageConfigT = ClusterTieredStorageConfig>
235 m_tieredStorageConfigHasBeenSet =
true;
236 m_tieredStorageConfig = std::forward<TieredStorageConfigT>(value);
238 template <
typename TieredStorageConfigT = ClusterTieredStorageConfig>
251 m_nodeRecoveryHasBeenSet =
true;
252 m_nodeRecovery = value;
266 m_nodeProvisioningModeHasBeenSet =
true;
267 m_nodeProvisioningMode = value;
281 template <
typename ClusterRoleT = Aws::String>
283 m_clusterRoleHasBeenSet =
true;
284 m_clusterRole = std::forward<ClusterRoleT>(value);
286 template <
typename ClusterRoleT = Aws::String>
298 template <
typename AutoScalingT = ClusterAutoScalingConfigOutput>
300 m_autoScalingHasBeenSet =
true;
301 m_autoScaling = std::forward<AutoScalingT>(value);
303 template <
typename AutoScalingT = ClusterAutoScalingConfigOutput>
313 template <
typename RequestIdT = Aws::String>
315 m_requestIdHasBeenSet =
true;
316 m_requestId = std::forward<RequestIdT>(value);
318 template <
typename RequestIdT = Aws::String>
341 ClusterRestrictedInstanceGroupsConfigOutput m_restrictedInstanceGroupsConfig;
343 VpcConfig m_vpcConfig;
345 ClusterOrchestrator m_orchestrator;
347 ClusterTieredStorageConfig m_tieredStorageConfig;
355 ClusterAutoScalingConfigOutput m_autoScaling;
359 bool m_clusterArnHasBeenSet =
false;
360 bool m_clusterNameHasBeenSet =
false;
361 bool m_clusterStatusHasBeenSet =
false;
362 bool m_creationTimeHasBeenSet =
false;
363 bool m_failureMessageHasBeenSet =
false;
364 bool m_instanceGroupsHasBeenSet =
false;
365 bool m_restrictedInstanceGroupsHasBeenSet =
false;
366 bool m_restrictedInstanceGroupsConfigHasBeenSet =
false;
367 bool m_vpcConfigHasBeenSet =
false;
368 bool m_orchestratorHasBeenSet =
false;
369 bool m_tieredStorageConfigHasBeenSet =
false;
370 bool m_nodeRecoveryHasBeenSet =
false;
371 bool m_nodeProvisioningModeHasBeenSet =
false;
372 bool m_clusterRoleHasBeenSet =
false;
373 bool m_autoScalingHasBeenSet =
false;
374 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 & WithTieredStorageConfig(TieredStorageConfigT &&value)
DescribeClusterResult & WithCreationTime(CreationTimeT &&value)
const ClusterAutoScalingConfigOutput & GetAutoScaling() const
void SetCreationTime(CreationTimeT &&value)
DescribeClusterResult & WithRestrictedInstanceGroupsConfig(RestrictedInstanceGroupsConfigT &&value)
const ClusterRestrictedInstanceGroupsConfigOutput & GetRestrictedInstanceGroupsConfig() const
ClusterStatus GetClusterStatus() const
void SetAutoScaling(AutoScalingT &&value)
DescribeClusterResult & WithNodeProvisioningMode(ClusterNodeProvisioningMode value)
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
void SetClusterRole(ClusterRoleT &&value)
DescribeClusterResult & WithClusterStatus(ClusterStatus value)
DescribeClusterResult & WithInstanceGroups(InstanceGroupsT &&value)
const ClusterTieredStorageConfig & GetTieredStorageConfig() const
const Aws::String & GetRequestId() const
DescribeClusterResult & WithClusterRole(ClusterRoleT &&value)
DescribeClusterResult & WithAutoScaling(AutoScalingT &&value)
DescribeClusterResult & WithNodeRecovery(ClusterNodeRecovery value)
void SetRequestId(RequestIdT &&value)
void SetInstanceGroups(InstanceGroupsT &&value)
const Aws::String & GetClusterArn() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetNodeProvisioningMode(ClusterNodeProvisioningMode value)
void SetRestrictedInstanceGroupsConfig(RestrictedInstanceGroupsConfigT &&value)
AWS_SAGEMAKER_API DescribeClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFailureMessage(FailureMessageT &&value)
AWS_SAGEMAKER_API DescribeClusterResult()=default
ClusterNodeProvisioningMode GetNodeProvisioningMode() const
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 SetTieredStorageConfig(TieredStorageConfigT &&value)
const Aws::String & GetClusterRole() const
void SetVpcConfig(VpcConfigT &&value)
DescribeClusterResult & WithClusterArn(ClusterArnT &&value)
ClusterNodeProvisioningMode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue