AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InferenceMetrics.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_SAGEMAKER_API InferenceMetrics();
34 AWS_SAGEMAKER_API InferenceMetrics(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetMaxInvocations() const{ return m_maxInvocations; }
44 inline bool MaxInvocationsHasBeenSet() const { return m_maxInvocationsHasBeenSet; }
45 inline void SetMaxInvocations(int value) { m_maxInvocationsHasBeenSet = true; m_maxInvocations = value; }
46 inline InferenceMetrics& WithMaxInvocations(int value) { SetMaxInvocations(value); return *this;}
48
50
54 inline int GetModelLatency() const{ return m_modelLatency; }
55 inline bool ModelLatencyHasBeenSet() const { return m_modelLatencyHasBeenSet; }
56 inline void SetModelLatency(int value) { m_modelLatencyHasBeenSet = true; m_modelLatency = value; }
57 inline InferenceMetrics& WithModelLatency(int value) { SetModelLatency(value); return *this;}
59 private:
60
61 int m_maxInvocations;
62 bool m_maxInvocationsHasBeenSet = false;
63
64 int m_modelLatency;
65 bool m_modelLatencyHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace SageMaker
70} // namespace Aws
AWS_SAGEMAKER_API InferenceMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceMetrics & WithModelLatency(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API InferenceMetrics(Aws::Utils::Json::JsonView jsonValue)
InferenceMetrics & WithMaxInvocations(int value)
Aws::Utils::Json::JsonValue JsonValue