AWS SDK for C++

AWS SDK for C++ Version 1.11.804

Loading...
Searching...
No Matches
AIRecommendationConstraint.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/AIRecommendationMetric.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API AIRecommendationConstraint() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline AIRecommendationMetric GetMetric() const { return m_metric; }
41 inline bool MetricHasBeenSet() const { return m_metricHasBeenSet; }
42 inline void SetMetric(AIRecommendationMetric value) {
43 m_metricHasBeenSet = true;
44 m_metric = value;
45 }
47 SetMetric(value);
48 return *this;
49 }
51 private:
53 bool m_metricHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace SageMaker
58} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AIRecommendationConstraint()=default
AWS_SAGEMAKER_API AIRecommendationConstraint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AIRecommendationConstraint(Aws::Utils::Json::JsonView jsonValue)
AIRecommendationConstraint & WithMetric(AIRecommendationMetric value)
Aws::Utils::Json::JsonValue JsonValue