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/ClusterStatus.h>
19#include <aws/sagemaker/model/ClusterTieredStorageConfig.h>
20#include <aws/sagemaker/model/VpcConfig.h>
25template <
typename RESULT_TYPE>
26class AmazonWebServiceResult;
46 template <
typename ClusterArnT = Aws::String>
48 m_clusterArnHasBeenSet =
true;
49 m_clusterArn = std::forward<ClusterArnT>(value);
51 template <
typename ClusterArnT = Aws::String>
63 template <
typename ClusterNameT = Aws::String>
65 m_clusterNameHasBeenSet =
true;
66 m_clusterName = std::forward<ClusterNameT>(value);
68 template <
typename ClusterNameT = Aws::String>
81 m_clusterStatusHasBeenSet =
true;
82 m_clusterStatus = value;
95 template <
typename CreationTimeT = Aws::Utils::DateTime>
97 m_creationTimeHasBeenSet =
true;
98 m_creationTime = std::forward<CreationTimeT>(value);
100 template <
typename CreationTimeT = Aws::Utils::DateTime>
112 template <
typename FailureMessageT = Aws::String>
114 m_failureMessageHasBeenSet =
true;
115 m_failureMessage = std::forward<FailureMessageT>(value);
117 template <
typename FailureMessageT = Aws::String>
129 template <
typename InstanceGroupsT = Aws::Vector<ClusterInstanceGroupDetails>>
131 m_instanceGroupsHasBeenSet =
true;
132 m_instanceGroups = std::forward<InstanceGroupsT>(value);
134 template <
typename InstanceGroupsT = Aws::Vector<ClusterInstanceGroupDetails>>
139 template <
typename InstanceGroupsT = ClusterInstanceGroupDetails>
141 m_instanceGroupsHasBeenSet =
true;
142 m_instanceGroups.emplace_back(std::forward<InstanceGroupsT>(value));
153 return m_restrictedInstanceGroups;
155 template <
typename RestrictedInstanceGroupsT = Aws::Vector<ClusterRestrictedInstanceGroupDetails>>
157 m_restrictedInstanceGroupsHasBeenSet =
true;
158 m_restrictedInstanceGroups = std::forward<RestrictedInstanceGroupsT>(value);
160 template <
typename RestrictedInstanceGroupsT = Aws::Vector<ClusterRestrictedInstanceGroupDetails>>
165 template <
typename RestrictedInstanceGroupsT = ClusterRestrictedInstanceGroupDetails>
167 m_restrictedInstanceGroupsHasBeenSet =
true;
168 m_restrictedInstanceGroups.emplace_back(std::forward<RestrictedInstanceGroupsT>(value));
176 template <
typename VpcConfigT = VpcConfig>
178 m_vpcConfigHasBeenSet =
true;
179 m_vpcConfig = std::forward<VpcConfigT>(value);
181 template <
typename VpcConfigT = VpcConfig>
193 template <
typename OrchestratorT = ClusterOrchestrator>
195 m_orchestratorHasBeenSet =
true;
196 m_orchestrator = std::forward<OrchestratorT>(value);
198 template <
typename OrchestratorT = ClusterOrchestrator>
212 template <
typename TieredStorageConfigT = ClusterTieredStorageConfig>
214 m_tieredStorageConfigHasBeenSet =
true;
215 m_tieredStorageConfig = std::forward<TieredStorageConfigT>(value);
217 template <
typename TieredStorageConfigT = ClusterTieredStorageConfig>
230 m_nodeRecoveryHasBeenSet =
true;
231 m_nodeRecovery = value;
245 m_nodeProvisioningModeHasBeenSet =
true;
246 m_nodeProvisioningMode = value;
260 template <
typename ClusterRoleT = Aws::String>
262 m_clusterRoleHasBeenSet =
true;
263 m_clusterRole = std::forward<ClusterRoleT>(value);
265 template <
typename ClusterRoleT = Aws::String>
277 template <
typename AutoScalingT = ClusterAutoScalingConfigOutput>
279 m_autoScalingHasBeenSet =
true;
280 m_autoScaling = std::forward<AutoScalingT>(value);
282 template <
typename AutoScalingT = ClusterAutoScalingConfigOutput>
292 template <
typename RequestIdT = Aws::String>
294 m_requestIdHasBeenSet =
true;
295 m_requestId = std::forward<RequestIdT>(value);
297 template <
typename RequestIdT = Aws::String>
320 VpcConfig m_vpcConfig;
322 ClusterOrchestrator m_orchestrator;
324 ClusterTieredStorageConfig m_tieredStorageConfig;
332 ClusterAutoScalingConfigOutput m_autoScaling;
336 bool m_clusterArnHasBeenSet =
false;
337 bool m_clusterNameHasBeenSet =
false;
338 bool m_clusterStatusHasBeenSet =
false;
339 bool m_creationTimeHasBeenSet =
false;
340 bool m_failureMessageHasBeenSet =
false;
341 bool m_instanceGroupsHasBeenSet =
false;
342 bool m_restrictedInstanceGroupsHasBeenSet =
false;
343 bool m_vpcConfigHasBeenSet =
false;
344 bool m_orchestratorHasBeenSet =
false;
345 bool m_tieredStorageConfigHasBeenSet =
false;
346 bool m_nodeRecoveryHasBeenSet =
false;
347 bool m_nodeProvisioningModeHasBeenSet =
false;
348 bool m_clusterRoleHasBeenSet =
false;
349 bool m_autoScalingHasBeenSet =
false;
350 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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