7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/PlacementSpecification.h>
46 m_enableMultipleJobsHasBeenSet =
true;
47 m_enableMultipleJobs = value;
62 template <
typename PlacementSpecificationsT = Aws::Vector<PlacementSpecification>>
64 m_placementSpecificationsHasBeenSet =
true;
65 m_placementSpecifications = std::forward<PlacementSpecificationsT>(value);
67 template <
typename PlacementSpecificationsT = Aws::Vector<PlacementSpecification>>
72 template <
typename PlacementSpecificationsT = PlacementSpecification>
74 m_placementSpecificationsHasBeenSet =
true;
75 m_placementSpecifications.emplace_back(std::forward<PlacementSpecificationsT>(value));
80 bool m_enableMultipleJobs{
false};
83 bool m_enableMultipleJobsHasBeenSet =
false;
84 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