AWS SDK for C++

AWS SDK for C++ Version 1.11.866

Loading...
Searching...
No Matches
AIRecommendation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/AIRecommendationAdapterDetails.h>
11#include <aws/sagemaker/model/AIRecommendationDeploymentConfiguration.h>
12#include <aws/sagemaker/model/AIRecommendationModelDetails.h>
13#include <aws/sagemaker/model/AIRecommendationOptimizationDetail.h>
14#include <aws/sagemaker/model/AIRecommendationPerformanceMetric.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker {
26namespace Model {
27
35 public:
36 AWS_SAGEMAKER_API AIRecommendation() = default;
37 AWS_SAGEMAKER_API AIRecommendation(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetRecommendationDescription() const { return m_recommendationDescription; }
46 inline bool RecommendationDescriptionHasBeenSet() const { return m_recommendationDescriptionHasBeenSet; }
47 template <typename RecommendationDescriptionT = Aws::String>
48 void SetRecommendationDescription(RecommendationDescriptionT&& value) {
49 m_recommendationDescriptionHasBeenSet = true;
50 m_recommendationDescription = std::forward<RecommendationDescriptionT>(value);
51 }
52 template <typename RecommendationDescriptionT = Aws::String>
53 AIRecommendation& WithRecommendationDescription(RecommendationDescriptionT&& value) {
54 SetRecommendationDescription(std::forward<RecommendationDescriptionT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::Vector<AIRecommendationOptimizationDetail>& GetOptimizationDetails() const { return m_optimizationDetails; }
64 inline bool OptimizationDetailsHasBeenSet() const { return m_optimizationDetailsHasBeenSet; }
65 template <typename OptimizationDetailsT = Aws::Vector<AIRecommendationOptimizationDetail>>
66 void SetOptimizationDetails(OptimizationDetailsT&& value) {
67 m_optimizationDetailsHasBeenSet = true;
68 m_optimizationDetails = std::forward<OptimizationDetailsT>(value);
69 }
70 template <typename OptimizationDetailsT = Aws::Vector<AIRecommendationOptimizationDetail>>
71 AIRecommendation& WithOptimizationDetails(OptimizationDetailsT&& value) {
72 SetOptimizationDetails(std::forward<OptimizationDetailsT>(value));
73 return *this;
74 }
75 template <typename OptimizationDetailsT = AIRecommendationOptimizationDetail>
76 AIRecommendation& AddOptimizationDetails(OptimizationDetailsT&& value) {
77 m_optimizationDetailsHasBeenSet = true;
78 m_optimizationDetails.emplace_back(std::forward<OptimizationDetailsT>(value));
79 return *this;
80 }
82
84
87 inline const AIRecommendationModelDetails& GetModelDetails() const { return m_modelDetails; }
88 inline bool ModelDetailsHasBeenSet() const { return m_modelDetailsHasBeenSet; }
89 template <typename ModelDetailsT = AIRecommendationModelDetails>
90 void SetModelDetails(ModelDetailsT&& value) {
91 m_modelDetailsHasBeenSet = true;
92 m_modelDetails = std::forward<ModelDetailsT>(value);
93 }
94 template <typename ModelDetailsT = AIRecommendationModelDetails>
95 AIRecommendation& WithModelDetails(ModelDetailsT&& value) {
96 SetModelDetails(std::forward<ModelDetailsT>(value));
97 return *this;
98 }
100
102
106 inline const AIRecommendationDeploymentConfiguration& GetDeploymentConfiguration() const { return m_deploymentConfiguration; }
107 inline bool DeploymentConfigurationHasBeenSet() const { return m_deploymentConfigurationHasBeenSet; }
108 template <typename DeploymentConfigurationT = AIRecommendationDeploymentConfiguration>
109 void SetDeploymentConfiguration(DeploymentConfigurationT&& value) {
110 m_deploymentConfigurationHasBeenSet = true;
111 m_deploymentConfiguration = std::forward<DeploymentConfigurationT>(value);
112 }
113 template <typename DeploymentConfigurationT = AIRecommendationDeploymentConfiguration>
114 AIRecommendation& WithDeploymentConfiguration(DeploymentConfigurationT&& value) {
115 SetDeploymentConfiguration(std::forward<DeploymentConfigurationT>(value));
116 return *this;
117 }
119
121
125 inline const Aws::String& GetAIBenchmarkJobArn() const { return m_aIBenchmarkJobArn; }
126 inline bool AIBenchmarkJobArnHasBeenSet() const { return m_aIBenchmarkJobArnHasBeenSet; }
127 template <typename AIBenchmarkJobArnT = Aws::String>
128 void SetAIBenchmarkJobArn(AIBenchmarkJobArnT&& value) {
129 m_aIBenchmarkJobArnHasBeenSet = true;
130 m_aIBenchmarkJobArn = std::forward<AIBenchmarkJobArnT>(value);
131 }
132 template <typename AIBenchmarkJobArnT = Aws::String>
133 AIRecommendation& WithAIBenchmarkJobArn(AIBenchmarkJobArnT&& value) {
134 SetAIBenchmarkJobArn(std::forward<AIBenchmarkJobArnT>(value));
135 return *this;
136 }
138
140
143 inline const Aws::Vector<AIRecommendationPerformanceMetric>& GetExpectedPerformance() const { return m_expectedPerformance; }
144 inline bool ExpectedPerformanceHasBeenSet() const { return m_expectedPerformanceHasBeenSet; }
145 template <typename ExpectedPerformanceT = Aws::Vector<AIRecommendationPerformanceMetric>>
146 void SetExpectedPerformance(ExpectedPerformanceT&& value) {
147 m_expectedPerformanceHasBeenSet = true;
148 m_expectedPerformance = std::forward<ExpectedPerformanceT>(value);
149 }
150 template <typename ExpectedPerformanceT = Aws::Vector<AIRecommendationPerformanceMetric>>
151 AIRecommendation& WithExpectedPerformance(ExpectedPerformanceT&& value) {
152 SetExpectedPerformance(std::forward<ExpectedPerformanceT>(value));
153 return *this;
154 }
155 template <typename ExpectedPerformanceT = AIRecommendationPerformanceMetric>
156 AIRecommendation& AddExpectedPerformance(ExpectedPerformanceT&& value) {
157 m_expectedPerformanceHasBeenSet = true;
158 m_expectedPerformance.emplace_back(std::forward<ExpectedPerformanceT>(value));
159 return *this;
160 }
162
164
170 inline const AIRecommendationAdapterDetails& GetAdapterDetails() const { return m_adapterDetails; }
171 inline bool AdapterDetailsHasBeenSet() const { return m_adapterDetailsHasBeenSet; }
172 template <typename AdapterDetailsT = AIRecommendationAdapterDetails>
173 void SetAdapterDetails(AdapterDetailsT&& value) {
174 m_adapterDetailsHasBeenSet = true;
175 m_adapterDetails = std::forward<AdapterDetailsT>(value);
176 }
177 template <typename AdapterDetailsT = AIRecommendationAdapterDetails>
178 AIRecommendation& WithAdapterDetails(AdapterDetailsT&& value) {
179 SetAdapterDetails(std::forward<AdapterDetailsT>(value));
180 return *this;
181 }
183 private:
184 Aws::String m_recommendationDescription;
185
187
188 AIRecommendationModelDetails m_modelDetails;
189
190 AIRecommendationDeploymentConfiguration m_deploymentConfiguration;
191
192 Aws::String m_aIBenchmarkJobArn;
193
195
196 AIRecommendationAdapterDetails m_adapterDetails;
197 bool m_recommendationDescriptionHasBeenSet = false;
198 bool m_optimizationDetailsHasBeenSet = false;
199 bool m_modelDetailsHasBeenSet = false;
200 bool m_deploymentConfigurationHasBeenSet = false;
201 bool m_aIBenchmarkJobArnHasBeenSet = false;
202 bool m_expectedPerformanceHasBeenSet = false;
203 bool m_adapterDetailsHasBeenSet = false;
204};
205
206} // namespace Model
207} // namespace SageMaker
208} // namespace Aws
const AIRecommendationDeploymentConfiguration & GetDeploymentConfiguration() const
AIRecommendation & WithRecommendationDescription(RecommendationDescriptionT &&value)
AIRecommendation & WithAIBenchmarkJobArn(AIBenchmarkJobArnT &&value)
const AIRecommendationAdapterDetails & GetAdapterDetails() const
void SetAdapterDetails(AdapterDetailsT &&value)
void SetExpectedPerformance(ExpectedPerformanceT &&value)
AIRecommendation & WithDeploymentConfiguration(DeploymentConfigurationT &&value)
AIRecommendation & WithOptimizationDetails(OptimizationDetailsT &&value)
AIRecommendation & WithAdapterDetails(AdapterDetailsT &&value)
const Aws::String & GetAIBenchmarkJobArn() const
const AIRecommendationModelDetails & GetModelDetails() const
void SetRecommendationDescription(RecommendationDescriptionT &&value)
const Aws::String & GetRecommendationDescription() const
AIRecommendation & WithModelDetails(ModelDetailsT &&value)
void SetModelDetails(ModelDetailsT &&value)
const Aws::Vector< AIRecommendationOptimizationDetail > & GetOptimizationDetails() const
void SetOptimizationDetails(OptimizationDetailsT &&value)
AIRecommendation & AddExpectedPerformance(ExpectedPerformanceT &&value)
const Aws::Vector< AIRecommendationPerformanceMetric > & GetExpectedPerformance() const
AWS_SAGEMAKER_API AIRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
AIRecommendation & WithExpectedPerformance(ExpectedPerformanceT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeploymentConfiguration(DeploymentConfigurationT &&value)
void SetAIBenchmarkJobArn(AIBenchmarkJobArnT &&value)
AIRecommendation & AddOptimizationDetails(OptimizationDetailsT &&value)
AWS_SAGEMAKER_API AIRecommendation()=default
AWS_SAGEMAKER_API AIRecommendation(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue