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/sagemaker/model/ComputeQuotaConfig.h>
11#include <aws/sagemaker/model/ComputeQuotaTarget.h>
12#include <aws/sagemaker/model/ActivationState.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/sagemaker/model/Tag.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
62 template<
typename DescriptionT = Aws::String>
72 template<
typename ClusterArnT = Aws::String>
73 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
74 template<
typename ClusterArnT = Aws::String>
85 template<
typename ComputeQuotaConfigT = ComputeQuotaConfig>
86 void SetComputeQuotaConfig(ComputeQuotaConfigT&& value) { m_computeQuotaConfigHasBeenSet =
true; m_computeQuotaConfig = std::forward<ComputeQuotaConfigT>(value); }
87 template<
typename ComputeQuotaConfigT = ComputeQuotaConfig>
97 template<
typename ComputeQuotaTargetT = ComputeQuotaTarget>
98 void SetComputeQuotaTarget(ComputeQuotaTargetT&& value) { m_computeQuotaTargetHasBeenSet =
true; m_computeQuotaTarget = std::forward<ComputeQuotaTargetT>(value); }
99 template<
typename ComputeQuotaTargetT = ComputeQuotaTarget>
120 template<
typename TagsT = Aws::Vector<Tag>>
121 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
122 template<
typename TagsT = Aws::Vector<Tag>>
124 template<
typename TagsT = Tag>
130 bool m_nameHasBeenSet =
false;
133 bool m_descriptionHasBeenSet =
false;
136 bool m_clusterArnHasBeenSet =
false;
139 bool m_computeQuotaConfigHasBeenSet =
false;
142 bool m_computeQuotaTargetHasBeenSet =
false;
145 bool m_activationStateHasBeenSet =
false;
148 bool m_tagsHasBeenSet =
false;
CreateComputeQuotaRequest & WithComputeQuotaTarget(ComputeQuotaTargetT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
CreateComputeQuotaRequest & WithClusterArn(ClusterArnT &&value)
void SetComputeQuotaTarget(ComputeQuotaTargetT &&value)
const ComputeQuotaTarget & GetComputeQuotaTarget() const
AWS_SAGEMAKER_API CreateComputeQuotaRequest()=default
void SetDescription(DescriptionT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetDescription() const
CreateComputeQuotaRequest & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
CreateComputeQuotaRequest & WithActivationState(ActivationState value)
virtual const char * GetServiceRequestName() const override
CreateComputeQuotaRequest & WithTags(TagsT &&value)
CreateComputeQuotaRequest & AddTags(TagsT &&value)
void SetClusterArn(ClusterArnT &&value)
bool TagsHasBeenSet() const
bool NameHasBeenSet() const
bool ComputeQuotaConfigHasBeenSet() const
CreateComputeQuotaRequest & WithComputeQuotaConfig(ComputeQuotaConfigT &&value)
void SetActivationState(ActivationState value)
void SetComputeQuotaConfig(ComputeQuotaConfigT &&value)
const Aws::String & GetClusterArn() const
bool ActivationStateHasBeenSet() const
CreateComputeQuotaRequest & WithName(NameT &&value)
const Aws::String & GetName() const
ActivationState GetActivationState() const
bool DescriptionHasBeenSet() const
bool ComputeQuotaTargetHasBeenSet() const
const ComputeQuotaConfig & GetComputeQuotaConfig() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ClusterArnHasBeenSet() 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