AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecommendationJobStoppingConditions.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline int GetMaxInvocations() const{ return m_maxInvocations; }
48 inline bool MaxInvocationsHasBeenSet() const { return m_maxInvocationsHasBeenSet; }
49 inline void SetMaxInvocations(int value) { m_maxInvocationsHasBeenSet = true; m_maxInvocations = value; }
52
54
60 inline const Aws::Vector<ModelLatencyThreshold>& GetModelLatencyThresholds() const{ return m_modelLatencyThresholds; }
61 inline bool ModelLatencyThresholdsHasBeenSet() const { return m_modelLatencyThresholdsHasBeenSet; }
62 inline void SetModelLatencyThresholds(const Aws::Vector<ModelLatencyThreshold>& value) { m_modelLatencyThresholdsHasBeenSet = true; m_modelLatencyThresholds = value; }
63 inline void SetModelLatencyThresholds(Aws::Vector<ModelLatencyThreshold>&& value) { m_modelLatencyThresholdsHasBeenSet = true; m_modelLatencyThresholds = std::move(value); }
66 inline RecommendationJobStoppingConditions& AddModelLatencyThresholds(const ModelLatencyThreshold& value) { m_modelLatencyThresholdsHasBeenSet = true; m_modelLatencyThresholds.push_back(value); return *this; }
67 inline RecommendationJobStoppingConditions& AddModelLatencyThresholds(ModelLatencyThreshold&& value) { m_modelLatencyThresholdsHasBeenSet = true; m_modelLatencyThresholds.push_back(std::move(value)); return *this; }
69
71
77 inline const FlatInvocations& GetFlatInvocations() const{ return m_flatInvocations; }
78 inline bool FlatInvocationsHasBeenSet() const { return m_flatInvocationsHasBeenSet; }
79 inline void SetFlatInvocations(const FlatInvocations& value) { m_flatInvocationsHasBeenSet = true; m_flatInvocations = value; }
80 inline void SetFlatInvocations(FlatInvocations&& value) { m_flatInvocationsHasBeenSet = true; m_flatInvocations = std::move(value); }
84 private:
85
86 int m_maxInvocations;
87 bool m_maxInvocationsHasBeenSet = false;
88
89 Aws::Vector<ModelLatencyThreshold> m_modelLatencyThresholds;
90 bool m_modelLatencyThresholdsHasBeenSet = false;
91
92 FlatInvocations m_flatInvocations;
93 bool m_flatInvocationsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SageMaker
98} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationJobStoppingConditions & WithModelLatencyThresholds(Aws::Vector< ModelLatencyThreshold > &&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)
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)
void SetModelLatencyThresholds(const Aws::Vector< ModelLatencyThreshold > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue