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; }
87 bool m_maxInvocationsHasBeenSet =
false;
90 bool m_modelLatencyThresholdsHasBeenSet =
false;
93 bool m_flatInvocationsHasBeenSet =
false;
int GetMaxInvocations() const
RecommendationJobStoppingConditions & WithMaxInvocations(int value)
bool ModelLatencyThresholdsHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFlatInvocations(const FlatInvocations &value)
RecommendationJobStoppingConditions & WithModelLatencyThresholds(Aws::Vector< ModelLatencyThreshold > &&value)
void SetMaxInvocations(int value)
AWS_SAGEMAKER_API RecommendationJobStoppingConditions & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationJobStoppingConditions & AddModelLatencyThresholds(ModelLatencyThreshold &&value)
const Aws::Vector< ModelLatencyThreshold > & GetModelLatencyThresholds() const
RecommendationJobStoppingConditions & AddModelLatencyThresholds(const ModelLatencyThreshold &value)
const FlatInvocations & GetFlatInvocations() const
RecommendationJobStoppingConditions & WithFlatInvocations(const FlatInvocations &value)
RecommendationJobStoppingConditions & WithFlatInvocations(FlatInvocations &&value)
AWS_SAGEMAKER_API RecommendationJobStoppingConditions(Aws::Utils::Json::JsonView jsonValue)
RecommendationJobStoppingConditions & WithModelLatencyThresholds(const Aws::Vector< ModelLatencyThreshold > &value)
void SetModelLatencyThresholds(Aws::Vector< ModelLatencyThreshold > &&value)
AWS_SAGEMAKER_API RecommendationJobStoppingConditions()
void SetFlatInvocations(FlatInvocations &&value)
bool MaxInvocationsHasBeenSet() const
bool FlatInvocationsHasBeenSet() const
void SetModelLatencyThresholds(const Aws::Vector< ModelLatencyThreshold > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue