7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/ClusterTieredStorageConfig.h>
12#include <aws/sagemaker/model/ClusterNodeRecovery.h>
13#include <aws/sagemaker/model/ClusterAutoScalingConfig.h>
14#include <aws/sagemaker/model/ClusterInstanceGroupSpecification.h>
15#include <aws/sagemaker/model/ClusterRestrictedInstanceGroupSpecification.h>
49 template<
typename ClusterNameT = Aws::String>
50 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
51 template<
typename ClusterNameT = Aws::String>
61 template<
typename InstanceGroupsT = Aws::Vector<ClusterInstanceGroupSpecification>>
62 void SetInstanceGroups(InstanceGroupsT&& value) { m_instanceGroupsHasBeenSet =
true; m_instanceGroups = std::forward<InstanceGroupsT>(value); }
63 template<
typename InstanceGroupsT = Aws::Vector<ClusterInstanceGroupSpecification>>
65 template<
typename InstanceGroupsT = ClusterInstanceGroupSpecification>
76 template<
typename RestrictedInstanceGroupsT = Aws::Vector<ClusterRestrictedInstanceGroupSpecification>>
77 void SetRestrictedInstanceGroups(RestrictedInstanceGroupsT&& value) { m_restrictedInstanceGroupsHasBeenSet =
true; m_restrictedInstanceGroups = std::forward<RestrictedInstanceGroupsT>(value); }
78 template<
typename RestrictedInstanceGroupsT = Aws::Vector<ClusterRestrictedInstanceGroupSpecification>>
80 template<
typename RestrictedInstanceGroupsT = ClusterRestrictedInstanceGroupSpecification>
92 template<
typename TieredStorageConfigT = ClusterTieredStorageConfig>
93 void SetTieredStorageConfig(TieredStorageConfigT&& value) { m_tieredStorageConfigHasBeenSet =
true; m_tieredStorageConfig = std::forward<TieredStorageConfigT>(value); }
94 template<
typename TieredStorageConfigT = ClusterTieredStorageConfig>
115 template<
typename InstanceGroupsToDeleteT = Aws::Vector<Aws::String>>
116 void SetInstanceGroupsToDelete(InstanceGroupsToDeleteT&& value) { m_instanceGroupsToDeleteHasBeenSet =
true; m_instanceGroupsToDelete = std::forward<InstanceGroupsToDeleteT>(value); }
117 template<
typename InstanceGroupsToDeleteT = Aws::Vector<Aws::String>>
119 template<
typename InstanceGroupsToDeleteT = Aws::String>
131 template<
typename ClusterRoleT = Aws::String>
132 void SetClusterRole(ClusterRoleT&& value) { m_clusterRoleHasBeenSet =
true; m_clusterRole = std::forward<ClusterRoleT>(value); }
133 template<
typename ClusterRoleT = Aws::String>
144 template<
typename AutoScalingT = ClusterAutoScalingConfig>
145 void SetAutoScaling(AutoScalingT&& value) { m_autoScalingHasBeenSet =
true; m_autoScaling = std::forward<AutoScalingT>(value); }
146 template<
typename AutoScalingT = ClusterAutoScalingConfig>
152 bool m_clusterNameHasBeenSet =
false;
155 bool m_instanceGroupsHasBeenSet =
false;
158 bool m_restrictedInstanceGroupsHasBeenSet =
false;
161 bool m_tieredStorageConfigHasBeenSet =
false;
164 bool m_nodeRecoveryHasBeenSet =
false;
167 bool m_instanceGroupsToDeleteHasBeenSet =
false;
170 bool m_clusterRoleHasBeenSet =
false;
172 ClusterAutoScalingConfig m_autoScaling;
173 bool m_autoScalingHasBeenSet =
false;
bool AutoScalingHasBeenSet() const
UpdateClusterRequest & WithNodeRecovery(ClusterNodeRecovery value)
bool InstanceGroupsHasBeenSet() const
bool ClusterRoleHasBeenSet() const
const Aws::String & GetClusterName() const
UpdateClusterRequest & WithClusterRole(ClusterRoleT &&value)
const Aws::String & GetClusterRole() const
void SetClusterRole(ClusterRoleT &&value)
const Aws::Vector< Aws::String > & GetInstanceGroupsToDelete() const
void SetTieredStorageConfig(TieredStorageConfigT &&value)
UpdateClusterRequest & WithAutoScaling(AutoScalingT &&value)
void SetAutoScaling(AutoScalingT &&value)
AWS_SAGEMAKER_API UpdateClusterRequest()=default
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateClusterRequest & WithTieredStorageConfig(TieredStorageConfigT &&value)
void SetRestrictedInstanceGroups(RestrictedInstanceGroupsT &&value)
ClusterNodeRecovery GetNodeRecovery() const
void SetNodeRecovery(ClusterNodeRecovery value)
UpdateClusterRequest & WithInstanceGroupsToDelete(InstanceGroupsToDeleteT &&value)
bool InstanceGroupsToDeleteHasBeenSet() const
UpdateClusterRequest & WithInstanceGroups(InstanceGroupsT &&value)
UpdateClusterRequest & AddInstanceGroupsToDelete(InstanceGroupsToDeleteT &&value)
const Aws::Vector< ClusterInstanceGroupSpecification > & GetInstanceGroups() const
UpdateClusterRequest & WithRestrictedInstanceGroups(RestrictedInstanceGroupsT &&value)
void SetInstanceGroups(InstanceGroupsT &&value)
UpdateClusterRequest & AddRestrictedInstanceGroups(RestrictedInstanceGroupsT &&value)
bool TieredStorageConfigHasBeenSet() const
void SetInstanceGroupsToDelete(InstanceGroupsToDeleteT &&value)
void SetClusterName(ClusterNameT &&value)
UpdateClusterRequest & WithClusterName(ClusterNameT &&value)
bool ClusterNameHasBeenSet() const
const ClusterTieredStorageConfig & GetTieredStorageConfig() const
bool NodeRecoveryHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< ClusterRestrictedInstanceGroupSpecification > & GetRestrictedInstanceGroups() const
UpdateClusterRequest & AddInstanceGroups(InstanceGroupsT &&value)
const ClusterAutoScalingConfig & GetAutoScaling() const
bool RestrictedInstanceGroupsHasBeenSet() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector