AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DeploymentRecommendation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/RealTimeInferenceRecommendation.h>
10#include <aws/sagemaker/model/RecommendationStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
33 public:
34 AWS_SAGEMAKER_API DeploymentRecommendation() = default;
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
47 inline RecommendationStatus GetRecommendationStatus() const { return m_recommendationStatus; }
48 inline bool RecommendationStatusHasBeenSet() const { return m_recommendationStatusHasBeenSet; }
50 m_recommendationStatusHasBeenSet = true;
51 m_recommendationStatus = value;
52 }
55 return *this;
56 }
58
60
66 return m_realTimeInferenceRecommendations;
67 }
68 inline bool RealTimeInferenceRecommendationsHasBeenSet() const { return m_realTimeInferenceRecommendationsHasBeenSet; }
69 template <typename RealTimeInferenceRecommendationsT = Aws::Vector<RealTimeInferenceRecommendation>>
70 void SetRealTimeInferenceRecommendations(RealTimeInferenceRecommendationsT&& value) {
71 m_realTimeInferenceRecommendationsHasBeenSet = true;
72 m_realTimeInferenceRecommendations = std::forward<RealTimeInferenceRecommendationsT>(value);
73 }
74 template <typename RealTimeInferenceRecommendationsT = Aws::Vector<RealTimeInferenceRecommendation>>
75 DeploymentRecommendation& WithRealTimeInferenceRecommendations(RealTimeInferenceRecommendationsT&& value) {
76 SetRealTimeInferenceRecommendations(std::forward<RealTimeInferenceRecommendationsT>(value));
77 return *this;
78 }
79 template <typename RealTimeInferenceRecommendationsT = RealTimeInferenceRecommendation>
80 DeploymentRecommendation& AddRealTimeInferenceRecommendations(RealTimeInferenceRecommendationsT&& value) {
81 m_realTimeInferenceRecommendationsHasBeenSet = true;
82 m_realTimeInferenceRecommendations.emplace_back(std::forward<RealTimeInferenceRecommendationsT>(value));
83 return *this;
84 }
86 private:
88
89 Aws::Vector<RealTimeInferenceRecommendation> m_realTimeInferenceRecommendations;
90 bool m_recommendationStatusHasBeenSet = false;
91 bool m_realTimeInferenceRecommendationsHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace SageMaker
96} // namespace Aws
void SetRealTimeInferenceRecommendations(RealTimeInferenceRecommendationsT &&value)
DeploymentRecommendation & WithRecommendationStatus(RecommendationStatus value)
DeploymentRecommendation & AddRealTimeInferenceRecommendations(RealTimeInferenceRecommendationsT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API DeploymentRecommendation()=default
DeploymentRecommendation & WithRealTimeInferenceRecommendations(RealTimeInferenceRecommendationsT &&value)
AWS_SAGEMAKER_API DeploymentRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API DeploymentRecommendation(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RealTimeInferenceRecommendation > & GetRealTimeInferenceRecommendations() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue