7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/ClusterAutoScalingConfigOutput.h>
12#include <aws/sagemaker/model/ClusterInstanceGroupDetails.h>
13#include <aws/sagemaker/model/ClusterNodeProvisioningMode.h>
14#include <aws/sagemaker/model/ClusterNodeRecovery.h>
15#include <aws/sagemaker/model/ClusterOrchestrator.h>
16#include <aws/sagemaker/model/ClusterRestrictedInstanceGroupDetails.h>
17#include <aws/sagemaker/model/ClusterStatus.h>
18#include <aws/sagemaker/model/ClusterTieredStorageConfig.h>
19#include <aws/sagemaker/model/VpcConfig.h>
24template <
typename RESULT_TYPE>
25class AmazonWebServiceResult;
45 template <
typename ClusterArnT = Aws::String>
47 m_clusterArnHasBeenSet =
true;
48 m_clusterArn = std::forward<ClusterArnT>(value);
50 template <
typename ClusterArnT = Aws::String>
62 template <
typename ClusterNameT = Aws::String>
64 m_clusterNameHasBeenSet =
true;
65 m_clusterName = std::forward<ClusterNameT>(value);
67 template <
typename ClusterNameT = Aws::String>
80 m_clusterStatusHasBeenSet =
true;
81 m_clusterStatus = value;
94 template <
typename CreationTimeT = Aws::Utils::DateTime>
96 m_creationTimeHasBeenSet =
true;
97 m_creationTime = std::forward<CreationTimeT>(value);
99 template <
typename CreationTimeT = Aws::Utils::DateTime>
111 template <
typename FailureMessageT = Aws::String>
113 m_failureMessageHasBeenSet =
true;
114 m_failureMessage = std::forward<FailureMessageT>(value);
116 template <
typename FailureMessageT = Aws::String>
128 template <
typename InstanceGroupsT = Aws::Vector<ClusterInstanceGroupDetails>>
130 m_instanceGroupsHasBeenSet =
true;
131 m_instanceGroups = std::forward<InstanceGroupsT>(value);
133 template <
typename InstanceGroupsT = Aws::Vector<ClusterInstanceGroupDetails>>
138 template <
typename InstanceGroupsT = ClusterInstanceGroupDetails>
140 m_instanceGroupsHasBeenSet =
true;
141 m_instanceGroups.emplace_back(std::forward<InstanceGroupsT>(value));
152 return m_restrictedInstanceGroups;
154 template <
typename RestrictedInstanceGroupsT = Aws::Vector<ClusterRestrictedInstanceGroupDetails>>
156 m_restrictedInstanceGroupsHasBeenSet =
true;
157 m_restrictedInstanceGroups = std::forward<RestrictedInstanceGroupsT>(value);
159 template <
typename RestrictedInstanceGroupsT = Aws::Vector<ClusterRestrictedInstanceGroupDetails>>
164 template <
typename RestrictedInstanceGroupsT = ClusterRestrictedInstanceGroupDetails>
166 m_restrictedInstanceGroupsHasBeenSet =
true;
167 m_restrictedInstanceGroups.emplace_back(std::forward<RestrictedInstanceGroupsT>(value));
175 template <
typename VpcConfigT = VpcConfig>
177 m_vpcConfigHasBeenSet =
true;
178 m_vpcConfig = std::forward<VpcConfigT>(value);
180 template <
typename VpcConfigT = VpcConfig>
192 template <
typename OrchestratorT = ClusterOrchestrator>
194 m_orchestratorHasBeenSet =
true;
195 m_orchestrator = std::forward<OrchestratorT>(value);
197 template <
typename OrchestratorT = ClusterOrchestrator>
211 template <
typename TieredStorageConfigT = ClusterTieredStorageConfig>
213 m_tieredStorageConfigHasBeenSet =
true;
214 m_tieredStorageConfig = std::forward<TieredStorageConfigT>(value);
216 template <
typename TieredStorageConfigT = ClusterTieredStorageConfig>
229 m_nodeRecoveryHasBeenSet =
true;
230 m_nodeRecovery = value;
244 m_nodeProvisioningModeHasBeenSet =
true;
245 m_nodeProvisioningMode = value;
259 template <
typename ClusterRoleT = Aws::String>
261 m_clusterRoleHasBeenSet =
true;
262 m_clusterRole = std::forward<ClusterRoleT>(value);
264 template <
typename ClusterRoleT = Aws::String>
276 template <
typename AutoScalingT = ClusterAutoScalingConfigOutput>
278 m_autoScalingHasBeenSet =
true;
279 m_autoScaling = std::forward<AutoScalingT>(value);
281 template <
typename AutoScalingT = ClusterAutoScalingConfigOutput>
291 template <
typename RequestIdT = Aws::String>
293 m_requestIdHasBeenSet =
true;
294 m_requestId = std::forward<RequestIdT>(value);
296 template <
typename RequestIdT = Aws::String>
317 VpcConfig m_vpcConfig;
319 ClusterOrchestrator m_orchestrator;
321 ClusterTieredStorageConfig m_tieredStorageConfig;
329 ClusterAutoScalingConfigOutput m_autoScaling;
332 bool m_clusterArnHasBeenSet =
false;
333 bool m_clusterNameHasBeenSet =
false;
334 bool m_clusterStatusHasBeenSet =
false;
335 bool m_creationTimeHasBeenSet =
false;
336 bool m_failureMessageHasBeenSet =
false;
337 bool m_instanceGroupsHasBeenSet =
false;
338 bool m_restrictedInstanceGroupsHasBeenSet =
false;
339 bool m_vpcConfigHasBeenSet =
false;
340 bool m_orchestratorHasBeenSet =
false;
341 bool m_tieredStorageConfigHasBeenSet =
false;
342 bool m_nodeRecoveryHasBeenSet =
false;
343 bool m_nodeProvisioningModeHasBeenSet =
false;
344 bool m_clusterRoleHasBeenSet =
false;
345 bool m_autoScalingHasBeenSet =
false;
346 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)
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
void SetNodeProvisioningMode(ClusterNodeProvisioningMode 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