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>
50 template<
typename MetricsT = RecommendationMetrics>
51 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet =
true; m_metrics = std::forward<MetricsT>(value); }
52 template<
typename MetricsT = RecommendationMetrics>
60 template<
typename Endpo
intMetricsT = InferenceMetrics>
61 void SetEndpointMetrics(EndpointMetricsT&& value) { m_endpointMetricsHasBeenSet =
true; m_endpointMetrics = std::forward<EndpointMetricsT>(value); }
62 template<
typename Endpo
intMetricsT = InferenceMetrics>
70 template<
typename Endpo
intConfigurationT = Endpo
intOutputConfiguration>
71 void SetEndpointConfiguration(EndpointConfigurationT&& value) { m_endpointConfigurationHasBeenSet =
true; m_endpointConfiguration = std::forward<EndpointConfigurationT>(value); }
72 template<
typename Endpo
intConfigurationT = Endpo
intOutputConfiguration>
80 template<
typename ModelConfigurationT = ModelConfiguration>
81 void SetModelConfiguration(ModelConfigurationT&& value) { m_modelConfigurationHasBeenSet =
true; m_modelConfiguration = std::forward<ModelConfigurationT>(value); }
82 template<
typename ModelConfigurationT = ModelConfiguration>
92 template<
typename FailureReasonT = Aws::String>
93 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
94 template<
typename FailureReasonT = Aws::String>
104 template<
typename InvocationEndTimeT = Aws::Utils::DateTime>
105 void SetInvocationEndTime(InvocationEndTimeT&& value) { m_invocationEndTimeHasBeenSet =
true; m_invocationEndTime = std::forward<InvocationEndTimeT>(value); }
106 template<
typename InvocationEndTimeT = Aws::Utils::DateTime>
116 template<
typename InvocationStartTimeT = Aws::Utils::DateTime>
117 void SetInvocationStartTime(InvocationStartTimeT&& value) { m_invocationStartTimeHasBeenSet =
true; m_invocationStartTime = std::forward<InvocationStartTimeT>(value); }
118 template<
typename InvocationStartTimeT = Aws::Utils::DateTime>
124 bool m_metricsHasBeenSet =
false;
127 bool m_endpointMetricsHasBeenSet =
false;
130 bool m_endpointConfigurationHasBeenSet =
false;
133 bool m_modelConfigurationHasBeenSet =
false;
136 bool m_failureReasonHasBeenSet =
false;
139 bool m_invocationEndTimeHasBeenSet =
false;
142 bool m_invocationStartTimeHasBeenSet =
false;
void SetMetrics(MetricsT &&value)
AWS_SAGEMAKER_API RecommendationJobInferenceBenchmark()=default
const Aws::String & GetFailureReason() const
void SetModelConfiguration(ModelConfigurationT &&value)
RecommendationJobInferenceBenchmark & WithInvocationStartTime(InvocationStartTimeT &&value)
AWS_SAGEMAKER_API RecommendationJobInferenceBenchmark & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EndpointConfigurationHasBeenSet() const
RecommendationJobInferenceBenchmark & WithInvocationEndTime(InvocationEndTimeT &&value)
RecommendationJobInferenceBenchmark & WithModelConfiguration(ModelConfigurationT &&value)
const Aws::Utils::DateTime & GetInvocationStartTime() const
RecommendationJobInferenceBenchmark & WithFailureReason(FailureReasonT &&value)
const RecommendationMetrics & GetMetrics() const
bool MetricsHasBeenSet() const
bool ModelConfigurationHasBeenSet() const
bool InvocationStartTimeHasBeenSet() const
void SetEndpointConfiguration(EndpointConfigurationT &&value)
RecommendationJobInferenceBenchmark & WithEndpointConfiguration(EndpointConfigurationT &&value)
bool InvocationEndTimeHasBeenSet() const
RecommendationJobInferenceBenchmark & WithEndpointMetrics(EndpointMetricsT &&value)
const ModelConfiguration & GetModelConfiguration() const
RecommendationJobInferenceBenchmark & WithMetrics(MetricsT &&value)
void SetEndpointMetrics(EndpointMetricsT &&value)
void SetInvocationEndTime(InvocationEndTimeT &&value)
void SetFailureReason(FailureReasonT &&value)
const Aws::Utils::DateTime & GetInvocationEndTime() const
bool EndpointMetricsHasBeenSet() const
bool FailureReasonHasBeenSet() const
const InferenceMetrics & GetEndpointMetrics() const
void SetInvocationStartTime(InvocationStartTimeT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const EndpointOutputConfiguration & GetEndpointConfiguration() 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