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/VpcConfig.h>
12#include <aws/sagemaker/model/ClusterOrchestrator.h>
13#include <aws/sagemaker/model/ClusterNodeRecovery.h>
14#include <aws/sagemaker/model/ClusterInstanceGroupSpecification.h>
15#include <aws/sagemaker/model/Tag.h>
51 inline void SetClusterName(
const char* value) { m_clusterNameHasBeenSet =
true; m_clusterName.assign(value); }
131 bool m_clusterNameHasBeenSet =
false;
134 bool m_instanceGroupsHasBeenSet =
false;
137 bool m_vpcConfigHasBeenSet =
false;
140 bool m_tagsHasBeenSet =
false;
143 bool m_orchestratorHasBeenSet =
false;
146 bool m_nodeRecoveryHasBeenSet =
false;
void SetNodeRecovery(ClusterNodeRecovery &&value)
const ClusterOrchestrator & GetOrchestrator() const
void SetTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Tag > & GetTags() const
CreateClusterRequest & WithClusterName(Aws::String &&value)
CreateClusterRequest & WithClusterName(const char *value)
CreateClusterRequest & WithOrchestrator(const ClusterOrchestrator &value)
void SetOrchestrator(ClusterOrchestrator &&value)
CreateClusterRequest & WithNodeRecovery(ClusterNodeRecovery &&value)
void SetOrchestrator(const ClusterOrchestrator &value)
CreateClusterRequest & WithInstanceGroups(Aws::Vector< ClusterInstanceGroupSpecification > &&value)
CreateClusterRequest & WithOrchestrator(ClusterOrchestrator &&value)
bool OrchestratorHasBeenSet() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetClusterName(Aws::String &&value)
CreateClusterRequest & AddTags(Tag &&value)
CreateClusterRequest & WithInstanceGroups(const Aws::Vector< ClusterInstanceGroupSpecification > &value)
void SetClusterName(const char *value)
CreateClusterRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_SAGEMAKER_API CreateClusterRequest()
CreateClusterRequest & WithVpcConfig(const VpcConfig &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
CreateClusterRequest & WithClusterName(const Aws::String &value)
CreateClusterRequest & AddInstanceGroups(const ClusterInstanceGroupSpecification &value)
void SetVpcConfig(VpcConfig &&value)
CreateClusterRequest & AddInstanceGroups(ClusterInstanceGroupSpecification &&value)
void SetVpcConfig(const VpcConfig &value)
bool NodeRecoveryHasBeenSet() const
bool VpcConfigHasBeenSet() const
bool ClusterNameHasBeenSet() const
CreateClusterRequest & WithTags(const Aws::Vector< Tag > &value)
const Aws::Vector< ClusterInstanceGroupSpecification > & GetInstanceGroups() const
void SetNodeRecovery(const ClusterNodeRecovery &value)
const ClusterNodeRecovery & GetNodeRecovery() const
void SetClusterName(const Aws::String &value)
void SetInstanceGroups(const Aws::Vector< ClusterInstanceGroupSpecification > &value)
const VpcConfig & GetVpcConfig() const
bool InstanceGroupsHasBeenSet() const
CreateClusterRequest & WithNodeRecovery(const ClusterNodeRecovery &value)
CreateClusterRequest & AddTags(const Tag &value)
bool TagsHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
CreateClusterRequest & WithVpcConfig(VpcConfig &&value)
void SetInstanceGroups(Aws::Vector< ClusterInstanceGroupSpecification > &&value)
const Aws::String & GetClusterName() 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