7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/model/PlacementSpecification.h>
51 inline void SetEnableMultipleJobs(
bool value) { m_enableMultipleJobsHasBeenSet =
true; m_enableMultipleJobs = value; }
62 template<
typename PlacementSpecificationsT = Aws::Vector<PlacementSpecification>>
63 void SetPlacementSpecifications(PlacementSpecificationsT&& value) { m_placementSpecificationsHasBeenSet =
true; m_placementSpecifications = std::forward<PlacementSpecificationsT>(value); }
64 template<
typename PlacementSpecificationsT = Aws::Vector<PlacementSpecification>>
66 template<
typename PlacementSpecificationsT = PlacementSpecification>
71 bool m_enableMultipleJobs{
false};
72 bool m_enableMultipleJobsHasBeenSet =
false;
75 bool m_placementSpecificationsHasBeenSet =
false;
InstancePlacementConfig & WithPlacementSpecifications(PlacementSpecificationsT &&value)
const Aws::Vector< PlacementSpecification > & GetPlacementSpecifications() const
bool EnableMultipleJobsHasBeenSet() const
bool GetEnableMultipleJobs() const
InstancePlacementConfig & WithEnableMultipleJobs(bool value)
AWS_SAGEMAKER_API InstancePlacementConfig(Aws::Utils::Json::JsonView jsonValue)
bool PlacementSpecificationsHasBeenSet() const
void SetPlacementSpecifications(PlacementSpecificationsT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API InstancePlacementConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
InstancePlacementConfig & AddPlacementSpecifications(PlacementSpecificationsT &&value)
AWS_SAGEMAKER_API InstancePlacementConfig()=default
void SetEnableMultipleJobs(bool value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue