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/ClusterNodeRecovery.h>
12#include <aws/sagemaker/model/ClusterInstanceGroupSpecification.h>
13#include <aws/sagemaker/model/ClusterRestrictedInstanceGroupSpecification.h>
47 template<
typename ClusterNameT = Aws::String>
48 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
49 template<
typename ClusterNameT = Aws::String>
59 template<
typename InstanceGroupsT = Aws::Vector<ClusterInstanceGroupSpecification>>
60 void SetInstanceGroups(InstanceGroupsT&& value) { m_instanceGroupsHasBeenSet =
true; m_instanceGroups = std::forward<InstanceGroupsT>(value); }
61 template<
typename InstanceGroupsT = Aws::Vector<ClusterInstanceGroupSpecification>>
63 template<
typename InstanceGroupsT = ClusterInstanceGroupSpecification>
74 template<
typename RestrictedInstanceGroupsT = Aws::Vector<ClusterRestrictedInstanceGroupSpecification>>
75 void SetRestrictedInstanceGroups(RestrictedInstanceGroupsT&& value) { m_restrictedInstanceGroupsHasBeenSet =
true; m_restrictedInstanceGroups = std::forward<RestrictedInstanceGroupsT>(value); }
76 template<
typename RestrictedInstanceGroupsT = Aws::Vector<ClusterRestrictedInstanceGroupSpecification>>
78 template<
typename RestrictedInstanceGroupsT = ClusterRestrictedInstanceGroupSpecification>
99 template<
typename InstanceGroupsToDeleteT = Aws::Vector<Aws::String>>
100 void SetInstanceGroupsToDelete(InstanceGroupsToDeleteT&& value) { m_instanceGroupsToDeleteHasBeenSet =
true; m_instanceGroupsToDelete = std::forward<InstanceGroupsToDeleteT>(value); }
101 template<
typename InstanceGroupsToDeleteT = Aws::Vector<Aws::String>>
103 template<
typename InstanceGroupsToDeleteT = Aws::String>
109 bool m_clusterNameHasBeenSet =
false;
112 bool m_instanceGroupsHasBeenSet =
false;
115 bool m_restrictedInstanceGroupsHasBeenSet =
false;
118 bool m_nodeRecoveryHasBeenSet =
false;
121 bool m_instanceGroupsToDeleteHasBeenSet =
false;
UpdateClusterRequest & WithNodeRecovery(ClusterNodeRecovery value)
bool InstanceGroupsHasBeenSet() const
const Aws::String & GetClusterName() const
const Aws::Vector< Aws::String > & GetInstanceGroupsToDelete() const
AWS_SAGEMAKER_API UpdateClusterRequest()=default
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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)
void SetInstanceGroupsToDelete(InstanceGroupsToDeleteT &&value)
void SetClusterName(ClusterNameT &&value)
UpdateClusterRequest & WithClusterName(ClusterNameT &&value)
bool ClusterNameHasBeenSet() const
bool NodeRecoveryHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< ClusterRestrictedInstanceGroupSpecification > & GetRestrictedInstanceGroups() const
UpdateClusterRequest & AddInstanceGroups(InstanceGroupsT &&value)
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