AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeploymentRecommendation.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/RecommendationStatus.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/RealTimeInferenceRecommendation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_SAGEMAKER_API DeploymentRecommendation() = default;
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
53 inline RecommendationStatus GetRecommendationStatus() const { return m_recommendationStatus; }
54 inline bool RecommendationStatusHasBeenSet() const { return m_recommendationStatusHasBeenSet; }
55 inline void SetRecommendationStatus(RecommendationStatus value) { m_recommendationStatusHasBeenSet = true; m_recommendationStatus = value; }
58
60
65 inline const Aws::Vector<RealTimeInferenceRecommendation>& GetRealTimeInferenceRecommendations() const { return m_realTimeInferenceRecommendations; }
66 inline bool RealTimeInferenceRecommendationsHasBeenSet() const { return m_realTimeInferenceRecommendationsHasBeenSet; }
67 template<typename RealTimeInferenceRecommendationsT = Aws::Vector<RealTimeInferenceRecommendation>>
68 void SetRealTimeInferenceRecommendations(RealTimeInferenceRecommendationsT&& value) { m_realTimeInferenceRecommendationsHasBeenSet = true; m_realTimeInferenceRecommendations = std::forward<RealTimeInferenceRecommendationsT>(value); }
69 template<typename RealTimeInferenceRecommendationsT = Aws::Vector<RealTimeInferenceRecommendation>>
70 DeploymentRecommendation& WithRealTimeInferenceRecommendations(RealTimeInferenceRecommendationsT&& value) { SetRealTimeInferenceRecommendations(std::forward<RealTimeInferenceRecommendationsT>(value)); return *this;}
71 template<typename RealTimeInferenceRecommendationsT = RealTimeInferenceRecommendation>
72 DeploymentRecommendation& AddRealTimeInferenceRecommendations(RealTimeInferenceRecommendationsT&& value) { m_realTimeInferenceRecommendationsHasBeenSet = true; m_realTimeInferenceRecommendations.emplace_back(std::forward<RealTimeInferenceRecommendationsT>(value)); return *this; }
74 private:
75
77 bool m_recommendationStatusHasBeenSet = false;
78
79 Aws::Vector<RealTimeInferenceRecommendation> m_realTimeInferenceRecommendations;
80 bool m_realTimeInferenceRecommendationsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SageMaker
85} // 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