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/ClusterRestrictedInstanceGroupSpecification.h>
16#include <aws/sagemaker/model/Tag.h>
50 template<
typename ClusterNameT = Aws::String>
51 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
52 template<
typename ClusterNameT = Aws::String>
62 template<
typename InstanceGroupsT = Aws::Vector<ClusterInstanceGroupSpecification>>
63 void SetInstanceGroups(InstanceGroupsT&& value) { m_instanceGroupsHasBeenSet =
true; m_instanceGroups = std::forward<InstanceGroupsT>(value); }
64 template<
typename InstanceGroupsT = Aws::Vector<ClusterInstanceGroupSpecification>>
66 template<
typename InstanceGroupsT = ClusterInstanceGroupSpecification>
77 template<
typename RestrictedInstanceGroupsT = Aws::Vector<ClusterRestrictedInstanceGroupSpecification>>
78 void SetRestrictedInstanceGroups(RestrictedInstanceGroupsT&& value) { m_restrictedInstanceGroupsHasBeenSet =
true; m_restrictedInstanceGroups = std::forward<RestrictedInstanceGroupsT>(value); }
79 template<
typename RestrictedInstanceGroupsT = Aws::Vector<ClusterRestrictedInstanceGroupSpecification>>
81 template<
typename RestrictedInstanceGroupsT = ClusterRestrictedInstanceGroupSpecification>
114 template<
typename VpcConfigT = VpcConfig>
115 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
116 template<
typename VpcConfigT = VpcConfig>
131 template<
typename TagsT = Aws::Vector<Tag>>
132 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
133 template<
typename TagsT = Aws::Vector<Tag>>
135 template<
typename TagsT = Tag>
147 template<
typename OrchestratorT = ClusterOrchestrator>
148 void SetOrchestrator(OrchestratorT&& value) { m_orchestratorHasBeenSet =
true; m_orchestrator = std::forward<OrchestratorT>(value); }
149 template<
typename OrchestratorT = ClusterOrchestrator>
168 bool m_clusterNameHasBeenSet =
false;
171 bool m_instanceGroupsHasBeenSet =
false;
174 bool m_restrictedInstanceGroupsHasBeenSet =
false;
177 bool m_vpcConfigHasBeenSet =
false;
180 bool m_tagsHasBeenSet =
false;
183 bool m_orchestratorHasBeenSet =
false;
186 bool m_nodeRecoveryHasBeenSet =
false;
CreateClusterRequest & WithOrchestrator(OrchestratorT &&value)
const ClusterOrchestrator & GetOrchestrator() const
const Aws::Vector< Tag > & GetTags() const
bool RestrictedInstanceGroupsHasBeenSet() const
CreateClusterRequest & WithRestrictedInstanceGroups(RestrictedInstanceGroupsT &&value)
CreateClusterRequest & AddTags(TagsT &&value)
CreateClusterRequest & AddInstanceGroups(InstanceGroupsT &&value)
ClusterNodeRecovery GetNodeRecovery() const
CreateClusterRequest & WithInstanceGroups(InstanceGroupsT &&value)
CreateClusterRequest & WithClusterName(ClusterNameT &&value)
CreateClusterRequest & WithTags(TagsT &&value)
bool OrchestratorHasBeenSet() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
void SetClusterName(ClusterNameT &&value)
const Aws::Vector< ClusterRestrictedInstanceGroupSpecification > & GetRestrictedInstanceGroups() const
void SetOrchestrator(OrchestratorT &&value)
CreateClusterRequest & WithNodeRecovery(ClusterNodeRecovery value)
bool NodeRecoveryHasBeenSet() const
bool VpcConfigHasBeenSet() const
bool ClusterNameHasBeenSet() const
const Aws::Vector< ClusterInstanceGroupSpecification > & GetInstanceGroups() const
CreateClusterRequest & WithVpcConfig(VpcConfigT &&value)
void SetVpcConfig(VpcConfigT &&value)
const VpcConfig & GetVpcConfig() const
bool InstanceGroupsHasBeenSet() const
AWS_SAGEMAKER_API CreateClusterRequest()=default
void SetRestrictedInstanceGroups(RestrictedInstanceGroupsT &&value)
void SetInstanceGroups(InstanceGroupsT &&value)
CreateClusterRequest & AddRestrictedInstanceGroups(RestrictedInstanceGroupsT &&value)
bool TagsHasBeenSet() const
void SetNodeRecovery(ClusterNodeRecovery 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