AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InferenceRecommendation.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/RecommendationMetrics.h>
10#include <aws/sagemaker/model/EndpointOutputConfiguration.h>
11#include <aws/sagemaker/model/ModelConfiguration.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SAGEMAKER_API InferenceRecommendation();
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; }
50 inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; }
51 inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; }
52 inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); }
53 inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); }
54 inline InferenceRecommendation& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;}
55 inline InferenceRecommendation& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;}
56 inline InferenceRecommendation& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;}
58
60
63 inline const RecommendationMetrics& GetMetrics() const{ return m_metrics; }
64 inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
65 inline void SetMetrics(const RecommendationMetrics& value) { m_metricsHasBeenSet = true; m_metrics = value; }
66 inline void SetMetrics(RecommendationMetrics&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); }
67 inline InferenceRecommendation& WithMetrics(const RecommendationMetrics& value) { SetMetrics(value); return *this;}
68 inline InferenceRecommendation& WithMetrics(RecommendationMetrics&& value) { SetMetrics(std::move(value)); return *this;}
70
72
75 inline const EndpointOutputConfiguration& GetEndpointConfiguration() const{ return m_endpointConfiguration; }
76 inline bool EndpointConfigurationHasBeenSet() const { return m_endpointConfigurationHasBeenSet; }
77 inline void SetEndpointConfiguration(const EndpointOutputConfiguration& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = value; }
78 inline void SetEndpointConfiguration(EndpointOutputConfiguration&& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = std::move(value); }
82
84
87 inline const ModelConfiguration& GetModelConfiguration() const{ return m_modelConfiguration; }
88 inline bool ModelConfigurationHasBeenSet() const { return m_modelConfigurationHasBeenSet; }
89 inline void SetModelConfiguration(const ModelConfiguration& value) { m_modelConfigurationHasBeenSet = true; m_modelConfiguration = value; }
90 inline void SetModelConfiguration(ModelConfiguration&& value) { m_modelConfigurationHasBeenSet = true; m_modelConfiguration = std::move(value); }
94
96
99 inline const Aws::Utils::DateTime& GetInvocationEndTime() const{ return m_invocationEndTime; }
100 inline bool InvocationEndTimeHasBeenSet() const { return m_invocationEndTimeHasBeenSet; }
101 inline void SetInvocationEndTime(const Aws::Utils::DateTime& value) { m_invocationEndTimeHasBeenSet = true; m_invocationEndTime = value; }
102 inline void SetInvocationEndTime(Aws::Utils::DateTime&& value) { m_invocationEndTimeHasBeenSet = true; m_invocationEndTime = std::move(value); }
106
108
111 inline const Aws::Utils::DateTime& GetInvocationStartTime() const{ return m_invocationStartTime; }
112 inline bool InvocationStartTimeHasBeenSet() const { return m_invocationStartTimeHasBeenSet; }
113 inline void SetInvocationStartTime(const Aws::Utils::DateTime& value) { m_invocationStartTimeHasBeenSet = true; m_invocationStartTime = value; }
114 inline void SetInvocationStartTime(Aws::Utils::DateTime&& value) { m_invocationStartTimeHasBeenSet = true; m_invocationStartTime = std::move(value); }
118 private:
119
120 Aws::String m_recommendationId;
121 bool m_recommendationIdHasBeenSet = false;
122
123 RecommendationMetrics m_metrics;
124 bool m_metricsHasBeenSet = false;
125
126 EndpointOutputConfiguration m_endpointConfiguration;
127 bool m_endpointConfigurationHasBeenSet = false;
128
129 ModelConfiguration m_modelConfiguration;
130 bool m_modelConfigurationHasBeenSet = false;
131
132 Aws::Utils::DateTime m_invocationEndTime;
133 bool m_invocationEndTimeHasBeenSet = false;
134
135 Aws::Utils::DateTime m_invocationStartTime;
136 bool m_invocationStartTimeHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace SageMaker
141} // namespace Aws
InferenceRecommendation & WithInvocationEndTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API InferenceRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetModelConfiguration(ModelConfiguration &&value)
void SetInvocationStartTime(Aws::Utils::DateTime &&value)
InferenceRecommendation & WithModelConfiguration(ModelConfiguration &&value)
void SetInvocationStartTime(const Aws::Utils::DateTime &value)
InferenceRecommendation & WithInvocationEndTime(const Aws::Utils::DateTime &value)
InferenceRecommendation & WithRecommendationId(const char *value)
void SetEndpointConfiguration(EndpointOutputConfiguration &&value)
const ModelConfiguration & GetModelConfiguration() const
InferenceRecommendation & WithInvocationStartTime(Aws::Utils::DateTime &&value)
void SetModelConfiguration(const ModelConfiguration &value)
InferenceRecommendation & WithMetrics(RecommendationMetrics &&value)
void SetInvocationEndTime(const Aws::Utils::DateTime &value)
InferenceRecommendation & WithInvocationStartTime(const Aws::Utils::DateTime &value)
InferenceRecommendation & WithEndpointConfiguration(const EndpointOutputConfiguration &value)
const Aws::Utils::DateTime & GetInvocationEndTime() const
const EndpointOutputConfiguration & GetEndpointConfiguration() const
AWS_SAGEMAKER_API InferenceRecommendation(Aws::Utils::Json::JsonView jsonValue)
const RecommendationMetrics & GetMetrics() const
const Aws::Utils::DateTime & GetInvocationStartTime() const
InferenceRecommendation & WithRecommendationId(Aws::String &&value)
InferenceRecommendation & WithModelConfiguration(const ModelConfiguration &value)
InferenceRecommendation & WithRecommendationId(const Aws::String &value)
InferenceRecommendation & WithMetrics(const RecommendationMetrics &value)
void SetInvocationEndTime(Aws::Utils::DateTime &&value)
InferenceRecommendation & WithEndpointConfiguration(EndpointOutputConfiguration &&value)
void SetMetrics(const RecommendationMetrics &value)
void SetEndpointConfiguration(const EndpointOutputConfiguration &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue