AWS SDK for C++

AWS SDK for C++ Version 1.11.804

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/AIRecommendationDeploymentConfiguration.h>
11#include <aws/sagemaker/model/AIRecommendationModelDetails.h>
12#include <aws/sagemaker/model/AIRecommendationOptimizationDetail.h>
13#include <aws/sagemaker/model/AIRecommendationPerformanceMetric.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker {
25namespace Model {
26
34 public:
35 AWS_SAGEMAKER_API AIRecommendation() = default;
36 AWS_SAGEMAKER_API AIRecommendation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetRecommendationDescription() const { return m_recommendationDescription; }
45 inline bool RecommendationDescriptionHasBeenSet() const { return m_recommendationDescriptionHasBeenSet; }
46 template <typename RecommendationDescriptionT = Aws::String>
47 void SetRecommendationDescription(RecommendationDescriptionT&& value) {
48 m_recommendationDescriptionHasBeenSet = true;
49 m_recommendationDescription = std::forward<RecommendationDescriptionT>(value);
50 }
51 template <typename RecommendationDescriptionT = Aws::String>
52 AIRecommendation& WithRecommendationDescription(RecommendationDescriptionT&& value) {
53 SetRecommendationDescription(std::forward<RecommendationDescriptionT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::Vector<AIRecommendationOptimizationDetail>& GetOptimizationDetails() const { return m_optimizationDetails; }
63 inline bool OptimizationDetailsHasBeenSet() const { return m_optimizationDetailsHasBeenSet; }
64 template <typename OptimizationDetailsT = Aws::Vector<AIRecommendationOptimizationDetail>>
65 void SetOptimizationDetails(OptimizationDetailsT&& value) {
66 m_optimizationDetailsHasBeenSet = true;
67 m_optimizationDetails = std::forward<OptimizationDetailsT>(value);
68 }
69 template <typename OptimizationDetailsT = Aws::Vector<AIRecommendationOptimizationDetail>>
70 AIRecommendation& WithOptimizationDetails(OptimizationDetailsT&& value) {
71 SetOptimizationDetails(std::forward<OptimizationDetailsT>(value));
72 return *this;
73 }
74 template <typename OptimizationDetailsT = AIRecommendationOptimizationDetail>
75 AIRecommendation& AddOptimizationDetails(OptimizationDetailsT&& value) {
76 m_optimizationDetailsHasBeenSet = true;
77 m_optimizationDetails.emplace_back(std::forward<OptimizationDetailsT>(value));
78 return *this;
79 }
81
83
86 inline const AIRecommendationModelDetails& GetModelDetails() const { return m_modelDetails; }
87 inline bool ModelDetailsHasBeenSet() const { return m_modelDetailsHasBeenSet; }
88 template <typename ModelDetailsT = AIRecommendationModelDetails>
89 void SetModelDetails(ModelDetailsT&& value) {
90 m_modelDetailsHasBeenSet = true;
91 m_modelDetails = std::forward<ModelDetailsT>(value);
92 }
93 template <typename ModelDetailsT = AIRecommendationModelDetails>
94 AIRecommendation& WithModelDetails(ModelDetailsT&& value) {
95 SetModelDetails(std::forward<ModelDetailsT>(value));
96 return *this;
97 }
99
101
105 inline const AIRecommendationDeploymentConfiguration& GetDeploymentConfiguration() const { return m_deploymentConfiguration; }
106 inline bool DeploymentConfigurationHasBeenSet() const { return m_deploymentConfigurationHasBeenSet; }
107 template <typename DeploymentConfigurationT = AIRecommendationDeploymentConfiguration>
108 void SetDeploymentConfiguration(DeploymentConfigurationT&& value) {
109 m_deploymentConfigurationHasBeenSet = true;
110 m_deploymentConfiguration = std::forward<DeploymentConfigurationT>(value);
111 }
112 template <typename DeploymentConfigurationT = AIRecommendationDeploymentConfiguration>
113 AIRecommendation& WithDeploymentConfiguration(DeploymentConfigurationT&& value) {
114 SetDeploymentConfiguration(std::forward<DeploymentConfigurationT>(value));
115 return *this;
116 }
118
120
124 inline const Aws::String& GetAIBenchmarkJobArn() const { return m_aIBenchmarkJobArn; }
125 inline bool AIBenchmarkJobArnHasBeenSet() const { return m_aIBenchmarkJobArnHasBeenSet; }
126 template <typename AIBenchmarkJobArnT = Aws::String>
127 void SetAIBenchmarkJobArn(AIBenchmarkJobArnT&& value) {
128 m_aIBenchmarkJobArnHasBeenSet = true;
129 m_aIBenchmarkJobArn = std::forward<AIBenchmarkJobArnT>(value);
130 }
131 template <typename AIBenchmarkJobArnT = Aws::String>
132 AIRecommendation& WithAIBenchmarkJobArn(AIBenchmarkJobArnT&& value) {
133 SetAIBenchmarkJobArn(std::forward<AIBenchmarkJobArnT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::Vector<AIRecommendationPerformanceMetric>& GetExpectedPerformance() const { return m_expectedPerformance; }
143 inline bool ExpectedPerformanceHasBeenSet() const { return m_expectedPerformanceHasBeenSet; }
144 template <typename ExpectedPerformanceT = Aws::Vector<AIRecommendationPerformanceMetric>>
145 void SetExpectedPerformance(ExpectedPerformanceT&& value) {
146 m_expectedPerformanceHasBeenSet = true;
147 m_expectedPerformance = std::forward<ExpectedPerformanceT>(value);
148 }
149 template <typename ExpectedPerformanceT = Aws::Vector<AIRecommendationPerformanceMetric>>
150 AIRecommendation& WithExpectedPerformance(ExpectedPerformanceT&& value) {
151 SetExpectedPerformance(std::forward<ExpectedPerformanceT>(value));
152 return *this;
153 }
154 template <typename ExpectedPerformanceT = AIRecommendationPerformanceMetric>
155 AIRecommendation& AddExpectedPerformance(ExpectedPerformanceT&& value) {
156 m_expectedPerformanceHasBeenSet = true;
157 m_expectedPerformance.emplace_back(std::forward<ExpectedPerformanceT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_recommendationDescription;
163
165
166 AIRecommendationModelDetails m_modelDetails;
167
168 AIRecommendationDeploymentConfiguration m_deploymentConfiguration;
169
170 Aws::String m_aIBenchmarkJobArn;
171
173 bool m_recommendationDescriptionHasBeenSet = false;
174 bool m_optimizationDetailsHasBeenSet = false;
175 bool m_modelDetailsHasBeenSet = false;
176 bool m_deploymentConfigurationHasBeenSet = false;
177 bool m_aIBenchmarkJobArnHasBeenSet = false;
178 bool m_expectedPerformanceHasBeenSet = false;
179};
180
181} // namespace Model
182} // namespace SageMaker
183} // namespace Aws
const AIRecommendationDeploymentConfiguration & GetDeploymentConfiguration() const
AIRecommendation & WithRecommendationDescription(RecommendationDescriptionT &&value)
AIRecommendation & WithAIBenchmarkJobArn(AIBenchmarkJobArnT &&value)
void SetExpectedPerformance(ExpectedPerformanceT &&value)
AIRecommendation & WithDeploymentConfiguration(DeploymentConfigurationT &&value)
AIRecommendation & WithOptimizationDetails(OptimizationDetailsT &&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