7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/DeploymentConfiguration.h>
12#include <aws/sagemaker/model/UpdateClusterSoftwareInstanceGroupSpecification.h>
43 template <
typename ClusterNameT = Aws::String>
45 m_clusterNameHasBeenSet =
true;
46 m_clusterName = std::forward<ClusterNameT>(value);
48 template <
typename ClusterNameT = Aws::String>
61 template <
typename InstanceGroupsT = Aws::Vector<UpdateClusterSoftwareInstanceGroupSpecification>>
63 m_instanceGroupsHasBeenSet =
true;
64 m_instanceGroups = std::forward<InstanceGroupsT>(value);
66 template <
typename InstanceGroupsT = Aws::Vector<UpdateClusterSoftwareInstanceGroupSpecification>>
71 template <
typename InstanceGroupsT = UpdateClusterSoftwareInstanceGroupSpecification>
73 m_instanceGroupsHasBeenSet =
true;
74 m_instanceGroups.emplace_back(std::forward<InstanceGroupsT>(value));
85 template <
typename DeploymentConfigT = DeploymentConfiguration>
87 m_deploymentConfigHasBeenSet =
true;
88 m_deploymentConfig = std::forward<DeploymentConfigT>(value);
90 template <
typename DeploymentConfigT = DeploymentConfiguration>
118 template <
typename ImageIdT = Aws::String>
120 m_imageIdHasBeenSet =
true;
121 m_imageId = std::forward<ImageIdT>(value);
123 template <
typename ImageIdT = Aws::String>
137 bool m_clusterNameHasBeenSet =
false;
138 bool m_instanceGroupsHasBeenSet =
false;
139 bool m_deploymentConfigHasBeenSet =
false;
140 bool m_imageIdHasBeenSet =
false;
const Aws::Vector< UpdateClusterSoftwareInstanceGroupSpecification > & GetInstanceGroups() const
AWS_SAGEMAKER_API UpdateClusterSoftwareRequest()=default
UpdateClusterSoftwareRequest & WithImageId(ImageIdT &&value)
void SetDeploymentConfig(DeploymentConfigT &&value)
bool ClusterNameHasBeenSet() const
UpdateClusterSoftwareRequest & AddInstanceGroups(InstanceGroupsT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetInstanceGroups(InstanceGroupsT &&value)
bool ImageIdHasBeenSet() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateClusterSoftwareRequest & WithInstanceGroups(InstanceGroupsT &&value)
const Aws::String & GetImageId() const
UpdateClusterSoftwareRequest & WithDeploymentConfig(DeploymentConfigT &&value)
const Aws::String & GetClusterName() const
void SetImageId(ImageIdT &&value)
const DeploymentConfiguration & GetDeploymentConfig() const
void SetClusterName(ClusterNameT &&value)
virtual const char * GetServiceRequestName() const override
bool InstanceGroupsHasBeenSet() const
UpdateClusterSoftwareRequest & WithClusterName(ClusterNameT &&value)
bool DeploymentConfigHasBeenSet() const
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