7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/model/ResourceSharingConfig.h>
10#include <aws/sagemaker/model/PreemptTeamTasks.h>
11#include <aws/sagemaker/model/ComputeQuotaResourceConfig.h>
51 template<
typename ComputeQuotaResourcesT = Aws::Vector<ComputeQuotaResourceConfig>>
52 void SetComputeQuotaResources(ComputeQuotaResourcesT&& value) { m_computeQuotaResourcesHasBeenSet =
true; m_computeQuotaResources = std::forward<ComputeQuotaResourcesT>(value); }
53 template<
typename ComputeQuotaResourcesT = Aws::Vector<ComputeQuotaResourceConfig>>
55 template<
typename ComputeQuotaResourcesT = ComputeQuotaResourceConfig>
56 ComputeQuotaConfig&
AddComputeQuotaResources(ComputeQuotaResourcesT&& value) { m_computeQuotaResourcesHasBeenSet =
true; m_computeQuotaResources.emplace_back(std::forward<ComputeQuotaResourcesT>(value));
return *
this; }
66 template<
typename ResourceSharingConfigT = ResourceSharingConfig>
67 void SetResourceSharingConfig(ResourceSharingConfigT&& value) { m_resourceSharingConfigHasBeenSet =
true; m_resourceSharingConfig = std::forward<ResourceSharingConfigT>(value); }
68 template<
typename ResourceSharingConfigT = ResourceSharingConfig>
87 bool m_computeQuotaResourcesHasBeenSet =
false;
90 bool m_resourceSharingConfigHasBeenSet =
false;
93 bool m_preemptTeamTasksHasBeenSet =
false;
ComputeQuotaConfig & WithComputeQuotaResources(ComputeQuotaResourcesT &&value)
const Aws::Vector< ComputeQuotaResourceConfig > & GetComputeQuotaResources() const
void SetPreemptTeamTasks(PreemptTeamTasks value)
ComputeQuotaConfig & WithPreemptTeamTasks(PreemptTeamTasks value)
AWS_SAGEMAKER_API ComputeQuotaConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
PreemptTeamTasks GetPreemptTeamTasks() const
bool ComputeQuotaResourcesHasBeenSet() const
void SetComputeQuotaResources(ComputeQuotaResourcesT &&value)
ComputeQuotaConfig & AddComputeQuotaResources(ComputeQuotaResourcesT &&value)
AWS_SAGEMAKER_API ComputeQuotaConfig()=default
bool ResourceSharingConfigHasBeenSet() const
ComputeQuotaConfig & WithResourceSharingConfig(ResourceSharingConfigT &&value)
const ResourceSharingConfig & GetResourceSharingConfig() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool PreemptTeamTasksHasBeenSet() const
AWS_SAGEMAKER_API ComputeQuotaConfig(Aws::Utils::Json::JsonView jsonValue)
void SetResourceSharingConfig(ResourceSharingConfigT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue