AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
53 inline const RecommendationStatus& GetRecommendationStatus() const{ return m_recommendationStatus; }
54 inline bool RecommendationStatusHasBeenSet() const { return m_recommendationStatusHasBeenSet; }
55 inline void SetRecommendationStatus(const RecommendationStatus& value) { m_recommendationStatusHasBeenSet = true; m_recommendationStatus = value; }
56 inline void SetRecommendationStatus(RecommendationStatus&& value) { m_recommendationStatusHasBeenSet = true; m_recommendationStatus = std::move(value); }
60
62
67 inline const Aws::Vector<RealTimeInferenceRecommendation>& GetRealTimeInferenceRecommendations() const{ return m_realTimeInferenceRecommendations; }
68 inline bool RealTimeInferenceRecommendationsHasBeenSet() const { return m_realTimeInferenceRecommendationsHasBeenSet; }
69 inline void SetRealTimeInferenceRecommendations(const Aws::Vector<RealTimeInferenceRecommendation>& value) { m_realTimeInferenceRecommendationsHasBeenSet = true; m_realTimeInferenceRecommendations = value; }
70 inline void SetRealTimeInferenceRecommendations(Aws::Vector<RealTimeInferenceRecommendation>&& value) { m_realTimeInferenceRecommendationsHasBeenSet = true; m_realTimeInferenceRecommendations = std::move(value); }
73 inline DeploymentRecommendation& AddRealTimeInferenceRecommendations(const RealTimeInferenceRecommendation& value) { m_realTimeInferenceRecommendationsHasBeenSet = true; m_realTimeInferenceRecommendations.push_back(value); return *this; }
74 inline DeploymentRecommendation& AddRealTimeInferenceRecommendations(RealTimeInferenceRecommendation&& value) { m_realTimeInferenceRecommendationsHasBeenSet = true; m_realTimeInferenceRecommendations.push_back(std::move(value)); return *this; }
76 private:
77
78 RecommendationStatus m_recommendationStatus;
79 bool m_recommendationStatusHasBeenSet = false;
80
81 Aws::Vector<RealTimeInferenceRecommendation> m_realTimeInferenceRecommendations;
82 bool m_realTimeInferenceRecommendationsHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace SageMaker
87} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRealTimeInferenceRecommendations(Aws::Vector< RealTimeInferenceRecommendation > &&value)
DeploymentRecommendation & WithRecommendationStatus(const RecommendationStatus &value)
DeploymentRecommendation & WithRealTimeInferenceRecommendations(Aws::Vector< RealTimeInferenceRecommendation > &&value)
DeploymentRecommendation & AddRealTimeInferenceRecommendations(RealTimeInferenceRecommendation &&value)
DeploymentRecommendation & WithRealTimeInferenceRecommendations(const Aws::Vector< RealTimeInferenceRecommendation > &value)
void SetRecommendationStatus(const RecommendationStatus &value)
void SetRecommendationStatus(RecommendationStatus &&value)
AWS_SAGEMAKER_API DeploymentRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
const RecommendationStatus & GetRecommendationStatus() const
DeploymentRecommendation & WithRecommendationStatus(RecommendationStatus &&value)
AWS_SAGEMAKER_API DeploymentRecommendation(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RealTimeInferenceRecommendation > & GetRealTimeInferenceRecommendations() const
DeploymentRecommendation & AddRealTimeInferenceRecommendations(const RealTimeInferenceRecommendation &value)
void SetRealTimeInferenceRecommendations(const Aws::Vector< RealTimeInferenceRecommendation > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue