AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CandidateProperties.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/CandidateArtifactLocations.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/MetricDatum.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
34 {
35 public:
36 AWS_SAGEMAKER_API CandidateProperties();
37 AWS_SAGEMAKER_API CandidateProperties(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const CandidateArtifactLocations& GetCandidateArtifactLocations() const{ return m_candidateArtifactLocations; }
47 inline bool CandidateArtifactLocationsHasBeenSet() const { return m_candidateArtifactLocationsHasBeenSet; }
48 inline void SetCandidateArtifactLocations(const CandidateArtifactLocations& value) { m_candidateArtifactLocationsHasBeenSet = true; m_candidateArtifactLocations = value; }
49 inline void SetCandidateArtifactLocations(CandidateArtifactLocations&& value) { m_candidateArtifactLocationsHasBeenSet = true; m_candidateArtifactLocations = std::move(value); }
53
55
58 inline const Aws::Vector<MetricDatum>& GetCandidateMetrics() const{ return m_candidateMetrics; }
59 inline bool CandidateMetricsHasBeenSet() const { return m_candidateMetricsHasBeenSet; }
60 inline void SetCandidateMetrics(const Aws::Vector<MetricDatum>& value) { m_candidateMetricsHasBeenSet = true; m_candidateMetrics = value; }
61 inline void SetCandidateMetrics(Aws::Vector<MetricDatum>&& value) { m_candidateMetricsHasBeenSet = true; m_candidateMetrics = std::move(value); }
63 inline CandidateProperties& WithCandidateMetrics(Aws::Vector<MetricDatum>&& value) { SetCandidateMetrics(std::move(value)); return *this;}
64 inline CandidateProperties& AddCandidateMetrics(const MetricDatum& value) { m_candidateMetricsHasBeenSet = true; m_candidateMetrics.push_back(value); return *this; }
65 inline CandidateProperties& AddCandidateMetrics(MetricDatum&& value) { m_candidateMetricsHasBeenSet = true; m_candidateMetrics.push_back(std::move(value)); return *this; }
67 private:
68
69 CandidateArtifactLocations m_candidateArtifactLocations;
70 bool m_candidateArtifactLocationsHasBeenSet = false;
71
72 Aws::Vector<MetricDatum> m_candidateMetrics;
73 bool m_candidateMetricsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SageMaker
78} // namespace Aws
CandidateProperties & WithCandidateMetrics(const Aws::Vector< MetricDatum > &value)
CandidateProperties & WithCandidateArtifactLocations(const CandidateArtifactLocations &value)
AWS_SAGEMAKER_API CandidateProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API CandidateProperties(Aws::Utils::Json::JsonView jsonValue)
CandidateProperties & WithCandidateArtifactLocations(CandidateArtifactLocations &&value)
const Aws::Vector< MetricDatum > & GetCandidateMetrics() const
void SetCandidateArtifactLocations(CandidateArtifactLocations &&value)
CandidateProperties & AddCandidateMetrics(MetricDatum &&value)
CandidateProperties & WithCandidateMetrics(Aws::Vector< MetricDatum > &&value)
CandidateProperties & AddCandidateMetrics(const MetricDatum &value)
void SetCandidateMetrics(Aws::Vector< MetricDatum > &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCandidateMetrics(const Aws::Vector< MetricDatum > &value)
const CandidateArtifactLocations & GetCandidateArtifactLocations() const
void SetCandidateArtifactLocations(const CandidateArtifactLocations &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue