7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/model/FlatInvocations.h>
10#include <aws/sagemaker/model/ModelLatencyThreshold.h>
49 inline void SetMaxInvocations(
int value) { m_maxInvocationsHasBeenSet =
true; m_maxInvocations = value; }
62 template<
typename ModelLatencyThresholdsT = Aws::Vector<ModelLatencyThreshold>>
63 void SetModelLatencyThresholds(ModelLatencyThresholdsT&& value) { m_modelLatencyThresholdsHasBeenSet =
true; m_modelLatencyThresholds = std::forward<ModelLatencyThresholdsT>(value); }
64 template<
typename ModelLatencyThresholdsT = Aws::Vector<ModelLatencyThreshold>>
66 template<
typename ModelLatencyThresholdsT = ModelLatencyThreshold>
84 int m_maxInvocations{0};
85 bool m_maxInvocationsHasBeenSet =
false;
88 bool m_modelLatencyThresholdsHasBeenSet =
false;
91 bool m_flatInvocationsHasBeenSet =
false;
int GetMaxInvocations() const
RecommendationJobStoppingConditions & WithMaxInvocations(int value)
bool ModelLatencyThresholdsHasBeenSet() const
FlatInvocations GetFlatInvocations() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMaxInvocations(int value)
AWS_SAGEMAKER_API RecommendationJobStoppingConditions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFlatInvocations(FlatInvocations value)
const Aws::Vector< ModelLatencyThreshold > & GetModelLatencyThresholds() const
AWS_SAGEMAKER_API RecommendationJobStoppingConditions(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API RecommendationJobStoppingConditions()=default
RecommendationJobStoppingConditions & AddModelLatencyThresholds(ModelLatencyThresholdsT &&value)
RecommendationJobStoppingConditions & WithFlatInvocations(FlatInvocations value)
void SetModelLatencyThresholds(ModelLatencyThresholdsT &&value)
bool MaxInvocationsHasBeenSet() const
RecommendationJobStoppingConditions & WithModelLatencyThresholds(ModelLatencyThresholdsT &&value)
bool FlatInvocationsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue