AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecommendationJobInferenceBenchmark.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/RecommendationMetrics.h>
9#include <aws/sagemaker/model/InferenceMetrics.h>
10#include <aws/sagemaker/model/EndpointOutputConfiguration.h>
11#include <aws/sagemaker/model/ModelConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/DateTime.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
30
38 {
39 public:
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
48 inline const RecommendationMetrics& GetMetrics() const{ return m_metrics; }
49 inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
50 inline void SetMetrics(const RecommendationMetrics& value) { m_metricsHasBeenSet = true; m_metrics = value; }
51 inline void SetMetrics(RecommendationMetrics&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); }
53 inline RecommendationJobInferenceBenchmark& WithMetrics(RecommendationMetrics&& value) { SetMetrics(std::move(value)); return *this;}
55
57
58 inline const InferenceMetrics& GetEndpointMetrics() const{ return m_endpointMetrics; }
59 inline bool EndpointMetricsHasBeenSet() const { return m_endpointMetricsHasBeenSet; }
60 inline void SetEndpointMetrics(const InferenceMetrics& value) { m_endpointMetricsHasBeenSet = true; m_endpointMetrics = value; }
61 inline void SetEndpointMetrics(InferenceMetrics&& value) { m_endpointMetricsHasBeenSet = true; m_endpointMetrics = std::move(value); }
65
67
68 inline const EndpointOutputConfiguration& GetEndpointConfiguration() const{ return m_endpointConfiguration; }
69 inline bool EndpointConfigurationHasBeenSet() const { return m_endpointConfigurationHasBeenSet; }
70 inline void SetEndpointConfiguration(const EndpointOutputConfiguration& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = value; }
71 inline void SetEndpointConfiguration(EndpointOutputConfiguration&& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = std::move(value); }
75
77
78 inline const ModelConfiguration& GetModelConfiguration() const{ return m_modelConfiguration; }
79 inline bool ModelConfigurationHasBeenSet() const { return m_modelConfigurationHasBeenSet; }
80 inline void SetModelConfiguration(const ModelConfiguration& value) { m_modelConfigurationHasBeenSet = true; m_modelConfiguration = value; }
81 inline void SetModelConfiguration(ModelConfiguration&& value) { m_modelConfigurationHasBeenSet = true; m_modelConfiguration = std::move(value); }
85
87
90 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
91 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
92 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
93 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
94 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
96 inline RecommendationJobInferenceBenchmark& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
97 inline RecommendationJobInferenceBenchmark& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetInvocationEndTime() const{ return m_invocationEndTime; }
105 inline bool InvocationEndTimeHasBeenSet() const { return m_invocationEndTimeHasBeenSet; }
106 inline void SetInvocationEndTime(const Aws::Utils::DateTime& value) { m_invocationEndTimeHasBeenSet = true; m_invocationEndTime = value; }
107 inline void SetInvocationEndTime(Aws::Utils::DateTime&& value) { m_invocationEndTimeHasBeenSet = true; m_invocationEndTime = std::move(value); }
111
113
116 inline const Aws::Utils::DateTime& GetInvocationStartTime() const{ return m_invocationStartTime; }
117 inline bool InvocationStartTimeHasBeenSet() const { return m_invocationStartTimeHasBeenSet; }
118 inline void SetInvocationStartTime(const Aws::Utils::DateTime& value) { m_invocationStartTimeHasBeenSet = true; m_invocationStartTime = value; }
119 inline void SetInvocationStartTime(Aws::Utils::DateTime&& value) { m_invocationStartTimeHasBeenSet = true; m_invocationStartTime = std::move(value); }
123 private:
124
125 RecommendationMetrics m_metrics;
126 bool m_metricsHasBeenSet = false;
127
128 InferenceMetrics m_endpointMetrics;
129 bool m_endpointMetricsHasBeenSet = false;
130
131 EndpointOutputConfiguration m_endpointConfiguration;
132 bool m_endpointConfigurationHasBeenSet = false;
133
134 ModelConfiguration m_modelConfiguration;
135 bool m_modelConfigurationHasBeenSet = false;
136
137 Aws::String m_failureReason;
138 bool m_failureReasonHasBeenSet = false;
139
140 Aws::Utils::DateTime m_invocationEndTime;
141 bool m_invocationEndTimeHasBeenSet = false;
142
143 Aws::Utils::DateTime m_invocationStartTime;
144 bool m_invocationStartTimeHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace SageMaker
149} // namespace Aws
RecommendationJobInferenceBenchmark & WithEndpointConfiguration(const EndpointOutputConfiguration &value)
RecommendationJobInferenceBenchmark & WithInvocationEndTime(Aws::Utils::DateTime &&value)
RecommendationJobInferenceBenchmark & WithEndpointConfiguration(EndpointOutputConfiguration &&value)
RecommendationJobInferenceBenchmark & WithModelConfiguration(ModelConfiguration &&value)
AWS_SAGEMAKER_API RecommendationJobInferenceBenchmark & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationJobInferenceBenchmark & WithInvocationEndTime(const Aws::Utils::DateTime &value)
RecommendationJobInferenceBenchmark & WithFailureReason(const char *value)
RecommendationJobInferenceBenchmark & WithMetrics(RecommendationMetrics &&value)
RecommendationJobInferenceBenchmark & WithFailureReason(Aws::String &&value)
RecommendationJobInferenceBenchmark & WithModelConfiguration(const ModelConfiguration &value)
RecommendationJobInferenceBenchmark & WithEndpointMetrics(InferenceMetrics &&value)
RecommendationJobInferenceBenchmark & WithInvocationStartTime(Aws::Utils::DateTime &&value)
RecommendationJobInferenceBenchmark & WithFailureReason(const Aws::String &value)
RecommendationJobInferenceBenchmark & WithEndpointMetrics(const InferenceMetrics &value)
RecommendationJobInferenceBenchmark & WithMetrics(const RecommendationMetrics &value)
RecommendationJobInferenceBenchmark & WithInvocationStartTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API RecommendationJobInferenceBenchmark(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue