/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies conditions for stopping a job. When a job reaches a stopping
* condition limit, SageMaker ends the job.See Also:
AWS
* API Reference
The maximum number of requests per minute expected for the endpoint.
*/ inline int GetMaxInvocations() const{ return m_maxInvocations; } /** *The maximum number of requests per minute expected for the endpoint.
*/ inline bool MaxInvocationsHasBeenSet() const { return m_maxInvocationsHasBeenSet; } /** *The maximum number of requests per minute expected for the endpoint.
*/ inline void SetMaxInvocations(int value) { m_maxInvocationsHasBeenSet = true; m_maxInvocations = value; } /** *The maximum number of requests per minute expected for the endpoint.
*/ inline RecommendationJobStoppingConditions& WithMaxInvocations(int value) { SetMaxInvocations(value); return *this;} /** *The interval of time taken by a model to respond as viewed from SageMaker. * The interval includes the local communication time taken to send the request and * to fetch the response from the container of a model and the time taken to * complete the inference in the container.
*/ inline const Aws::VectorThe interval of time taken by a model to respond as viewed from SageMaker. * The interval includes the local communication time taken to send the request and * to fetch the response from the container of a model and the time taken to * complete the inference in the container.
*/ inline bool ModelLatencyThresholdsHasBeenSet() const { return m_modelLatencyThresholdsHasBeenSet; } /** *The interval of time taken by a model to respond as viewed from SageMaker. * The interval includes the local communication time taken to send the request and * to fetch the response from the container of a model and the time taken to * complete the inference in the container.
*/ inline void SetModelLatencyThresholds(const Aws::VectorThe interval of time taken by a model to respond as viewed from SageMaker. * The interval includes the local communication time taken to send the request and * to fetch the response from the container of a model and the time taken to * complete the inference in the container.
*/ inline void SetModelLatencyThresholds(Aws::VectorThe interval of time taken by a model to respond as viewed from SageMaker. * The interval includes the local communication time taken to send the request and * to fetch the response from the container of a model and the time taken to * complete the inference in the container.
*/ inline RecommendationJobStoppingConditions& WithModelLatencyThresholds(const Aws::VectorThe interval of time taken by a model to respond as viewed from SageMaker. * The interval includes the local communication time taken to send the request and * to fetch the response from the container of a model and the time taken to * complete the inference in the container.
*/ inline RecommendationJobStoppingConditions& WithModelLatencyThresholds(Aws::VectorThe interval of time taken by a model to respond as viewed from SageMaker. * The interval includes the local communication time taken to send the request and * to fetch the response from the container of a model and the time taken to * complete the inference in the container.
*/ inline RecommendationJobStoppingConditions& AddModelLatencyThresholds(const ModelLatencyThreshold& value) { m_modelLatencyThresholdsHasBeenSet = true; m_modelLatencyThresholds.push_back(value); return *this; } /** *The interval of time taken by a model to respond as viewed from SageMaker. * The interval includes the local communication time taken to send the request and * to fetch the response from the container of a model and the time taken to * complete the inference in the container.
*/ inline RecommendationJobStoppingConditions& AddModelLatencyThresholds(ModelLatencyThreshold&& value) { m_modelLatencyThresholdsHasBeenSet = true; m_modelLatencyThresholds.push_back(std::move(value)); return *this; } private: int m_maxInvocations; bool m_maxInvocationsHasBeenSet = false; Aws::Vector