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/ActivationState.h>
12#include <aws/sagemaker/model/ComputeQuotaConfig.h>
13#include <aws/sagemaker/model/ComputeQuotaTarget.h>
14#include <aws/sagemaker/model/Tag.h>
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
62 template <
typename DescriptionT = Aws::String>
64 m_descriptionHasBeenSet =
true;
65 m_description = std::forward<DescriptionT>(value);
67 template <
typename DescriptionT = Aws::String>
80 template <
typename ClusterArnT = Aws::String>
82 m_clusterArnHasBeenSet =
true;
83 m_clusterArn = std::forward<ClusterArnT>(value);
85 template <
typename ClusterArnT = Aws::String>
99 template <
typename ComputeQuotaConfigT = ComputeQuotaConfig>
101 m_computeQuotaConfigHasBeenSet =
true;
102 m_computeQuotaConfig = std::forward<ComputeQuotaConfigT>(value);
104 template <
typename ComputeQuotaConfigT = ComputeQuotaConfig>
117 template <
typename ComputeQuotaTargetT = ComputeQuotaTarget>
119 m_computeQuotaTargetHasBeenSet =
true;
120 m_computeQuotaTarget = std::forward<ComputeQuotaTargetT>(value);
122 template <
typename ComputeQuotaTargetT = ComputeQuotaTarget>
137 m_activationStateHasBeenSet =
true;
138 m_activationState = value;
152 template <
typename TagsT = Aws::Vector<Tag>>
154 m_tagsHasBeenSet =
true;
155 m_tags = std::forward<TagsT>(value);
157 template <
typename TagsT = Aws::Vector<Tag>>
159 SetTags(std::forward<TagsT>(value));
162 template <
typename TagsT = Tag>
164 m_tagsHasBeenSet =
true;
165 m_tags.emplace_back(std::forward<TagsT>(value));
183 bool m_nameHasBeenSet =
false;
184 bool m_descriptionHasBeenSet =
false;
185 bool m_clusterArnHasBeenSet =
false;
186 bool m_computeQuotaConfigHasBeenSet =
false;
187 bool m_computeQuotaTargetHasBeenSet =
false;
188 bool m_activationStateHasBeenSet =
false;
189 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