7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/FlatInvocations.h>
10#include <aws/sagemaker/model/ModelLatencyThreshold.h>
44 m_maxInvocationsHasBeenSet =
true;
45 m_maxInvocations = value;
62 template <
typename ModelLatencyThresholdsT = Aws::Vector<ModelLatencyThreshold>>
64 m_modelLatencyThresholdsHasBeenSet =
true;
65 m_modelLatencyThresholds = std::forward<ModelLatencyThresholdsT>(value);
67 template <
typename ModelLatencyThresholdsT = Aws::Vector<ModelLatencyThreshold>>
72 template <
typename ModelLatencyThresholdsT = ModelLatencyThreshold>
74 m_modelLatencyThresholdsHasBeenSet =
true;
75 m_modelLatencyThresholds.emplace_back(std::forward<ModelLatencyThresholdsT>(value));
90 m_flatInvocationsHasBeenSet =
true;
91 m_flatInvocations = value;
99 int m_maxInvocations{0};
104 bool m_maxInvocationsHasBeenSet =
false;
105 bool m_modelLatencyThresholdsHasBeenSet =
false;
106 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