7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/ComputeQuotaResourceConfig.h>
10#include <aws/sagemaker/model/PreemptTeamTasks.h>
11#include <aws/sagemaker/model/ResourceSharingConfig.h>
45 template <
typename ComputeQuotaResourcesT = Aws::Vector<ComputeQuotaResourceConfig>>
47 m_computeQuotaResourcesHasBeenSet =
true;
48 m_computeQuotaResources = std::forward<ComputeQuotaResourcesT>(value);
50 template <
typename ComputeQuotaResourcesT = Aws::Vector<ComputeQuotaResourceConfig>>
55 template <
typename ComputeQuotaResourcesT = ComputeQuotaResourceConfig>
57 m_computeQuotaResourcesHasBeenSet =
true;
58 m_computeQuotaResources.emplace_back(std::forward<ComputeQuotaResourcesT>(value));
70 template <
typename ResourceSharingConfigT = ResourceSharingConfig>
72 m_resourceSharingConfigHasBeenSet =
true;
73 m_resourceSharingConfig = std::forward<ResourceSharingConfigT>(value);
75 template <
typename ResourceSharingConfigT = ResourceSharingConfig>
92 m_preemptTeamTasksHasBeenSet =
true;
93 m_preemptTeamTasks = value;
106 bool m_computeQuotaResourcesHasBeenSet =
false;
107 bool m_resourceSharingConfigHasBeenSet =
false;
108 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