AWS SDK for C++  1.9.158
AWS SDK for C++
CandidateProperties.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const CandidateArtifactLocations& GetCandidateArtifactLocations() const{ return m_candidateArtifactLocations; }
46 
50  inline bool CandidateArtifactLocationsHasBeenSet() const { return m_candidateArtifactLocationsHasBeenSet; }
51 
55  inline void SetCandidateArtifactLocations(const CandidateArtifactLocations& value) { m_candidateArtifactLocationsHasBeenSet = true; m_candidateArtifactLocations = value; }
56 
60  inline void SetCandidateArtifactLocations(CandidateArtifactLocations&& value) { m_candidateArtifactLocationsHasBeenSet = true; m_candidateArtifactLocations = std::move(value); }
61 
65  inline CandidateProperties& WithCandidateArtifactLocations(const CandidateArtifactLocations& value) { SetCandidateArtifactLocations(value); return *this;}
66 
70  inline CandidateProperties& WithCandidateArtifactLocations(CandidateArtifactLocations&& value) { SetCandidateArtifactLocations(std::move(value)); return *this;}
71 
72 
76  inline const Aws::Vector<MetricDatum>& GetCandidateMetrics() const{ return m_candidateMetrics; }
77 
81  inline bool CandidateMetricsHasBeenSet() const { return m_candidateMetricsHasBeenSet; }
82 
86  inline void SetCandidateMetrics(const Aws::Vector<MetricDatum>& value) { m_candidateMetricsHasBeenSet = true; m_candidateMetrics = value; }
87 
91  inline void SetCandidateMetrics(Aws::Vector<MetricDatum>&& value) { m_candidateMetricsHasBeenSet = true; m_candidateMetrics = std::move(value); }
92 
96  inline CandidateProperties& WithCandidateMetrics(const Aws::Vector<MetricDatum>& value) { SetCandidateMetrics(value); return *this;}
97 
101  inline CandidateProperties& WithCandidateMetrics(Aws::Vector<MetricDatum>&& value) { SetCandidateMetrics(std::move(value)); return *this;}
102 
106  inline CandidateProperties& AddCandidateMetrics(const MetricDatum& value) { m_candidateMetricsHasBeenSet = true; m_candidateMetrics.push_back(value); return *this; }
107 
111  inline CandidateProperties& AddCandidateMetrics(MetricDatum&& value) { m_candidateMetricsHasBeenSet = true; m_candidateMetrics.push_back(std::move(value)); return *this; }
112 
113  private:
114 
115  CandidateArtifactLocations m_candidateArtifactLocations;
116  bool m_candidateArtifactLocationsHasBeenSet;
117 
118  Aws::Vector<MetricDatum> m_candidateMetrics;
119  bool m_candidateMetricsHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace SageMaker
124 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::MetricDatum
Definition: MetricDatum.h:34
Aws::SageMaker::Model::CandidateProperties::AddCandidateMetrics
CandidateProperties & AddCandidateMetrics(MetricDatum &&value)
Definition: CandidateProperties.h:111
Aws::SageMaker::Model::CandidateProperties::WithCandidateArtifactLocations
CandidateProperties & WithCandidateArtifactLocations(const CandidateArtifactLocations &value)
Definition: CandidateProperties.h:65
SageMaker_EXPORTS.h
MetricDatum.h
Aws::SageMaker::Model::CandidateProperties::CandidateProperties
CandidateProperties(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CandidateProperties::GetCandidateMetrics
const Aws::Vector< MetricDatum > & GetCandidateMetrics() const
Definition: CandidateProperties.h:76
Aws::SageMaker::Model::CandidateProperties::SetCandidateMetrics
void SetCandidateMetrics(Aws::Vector< MetricDatum > &&value)
Definition: CandidateProperties.h:91
Aws::SageMaker::Model::CandidateProperties
Definition: CandidateProperties.h:34
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::CandidateProperties::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::CandidateProperties::SetCandidateArtifactLocations
void SetCandidateArtifactLocations(const CandidateArtifactLocations &value)
Definition: CandidateProperties.h:55
AWSVector.h
Aws::SageMaker::Model::CandidateArtifactLocations
Definition: CandidateArtifactLocations.h:33
Aws::SageMaker::Model::CandidateProperties::CandidateProperties
CandidateProperties()
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CandidateProperties::WithCandidateMetrics
CandidateProperties & WithCandidateMetrics(const Aws::Vector< MetricDatum > &value)
Definition: CandidateProperties.h:96
Aws::SageMaker::Model::CandidateProperties::CandidateMetricsHasBeenSet
bool CandidateMetricsHasBeenSet() const
Definition: CandidateProperties.h:81
CandidateArtifactLocations.h
Aws::SageMaker::Model::CandidateProperties::AddCandidateMetrics
CandidateProperties & AddCandidateMetrics(const MetricDatum &value)
Definition: CandidateProperties.h:106
Aws::SageMaker::Model::CandidateProperties::SetCandidateArtifactLocations
void SetCandidateArtifactLocations(CandidateArtifactLocations &&value)
Definition: CandidateProperties.h:60
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::CandidateProperties::WithCandidateMetrics
CandidateProperties & WithCandidateMetrics(Aws::Vector< MetricDatum > &&value)
Definition: CandidateProperties.h:101
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::CandidateProperties::CandidateArtifactLocationsHasBeenSet
bool CandidateArtifactLocationsHasBeenSet() const
Definition: CandidateProperties.h:50
Aws::SageMaker::Model::CandidateProperties::WithCandidateArtifactLocations
CandidateProperties & WithCandidateArtifactLocations(CandidateArtifactLocations &&value)
Definition: CandidateProperties.h:70
Aws::SageMaker::Model::CandidateProperties::SetCandidateMetrics
void SetCandidateMetrics(const Aws::Vector< MetricDatum > &value)
Definition: CandidateProperties.h:86
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CandidateProperties::operator=
CandidateProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CandidateProperties::GetCandidateArtifactLocations
const CandidateArtifactLocations & GetCandidateArtifactLocations() const
Definition: CandidateProperties.h:45