AWS SDK for C++  1.9.154
AWS SDK for C++
SourceAlgorithmSpecification.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<SourceAlgorithm>& GetSourceAlgorithms() const{ return m_sourceAlgorithms; }
46 
50  inline bool SourceAlgorithmsHasBeenSet() const { return m_sourceAlgorithmsHasBeenSet; }
51 
55  inline void SetSourceAlgorithms(const Aws::Vector<SourceAlgorithm>& value) { m_sourceAlgorithmsHasBeenSet = true; m_sourceAlgorithms = value; }
56 
60  inline void SetSourceAlgorithms(Aws::Vector<SourceAlgorithm>&& value) { m_sourceAlgorithmsHasBeenSet = true; m_sourceAlgorithms = std::move(value); }
61 
65  inline SourceAlgorithmSpecification& WithSourceAlgorithms(const Aws::Vector<SourceAlgorithm>& value) { SetSourceAlgorithms(value); return *this;}
66 
70  inline SourceAlgorithmSpecification& WithSourceAlgorithms(Aws::Vector<SourceAlgorithm>&& value) { SetSourceAlgorithms(std::move(value)); return *this;}
71 
75  inline SourceAlgorithmSpecification& AddSourceAlgorithms(const SourceAlgorithm& value) { m_sourceAlgorithmsHasBeenSet = true; m_sourceAlgorithms.push_back(value); return *this; }
76 
80  inline SourceAlgorithmSpecification& AddSourceAlgorithms(SourceAlgorithm&& value) { m_sourceAlgorithmsHasBeenSet = true; m_sourceAlgorithms.push_back(std::move(value)); return *this; }
81 
82  private:
83 
84  Aws::Vector<SourceAlgorithm> m_sourceAlgorithms;
85  bool m_sourceAlgorithmsHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace SageMaker
90 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::SourceAlgorithmSpecification::WithSourceAlgorithms
SourceAlgorithmSpecification & WithSourceAlgorithms(const Aws::Vector< SourceAlgorithm > &value)
Definition: SourceAlgorithmSpecification.h:65
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SageMaker::Model::SourceAlgorithmSpecification::GetSourceAlgorithms
const Aws::Vector< SourceAlgorithm > & GetSourceAlgorithms() const
Definition: SourceAlgorithmSpecification.h:45
Aws::SageMaker::Model::SourceAlgorithmSpecification::operator=
SourceAlgorithmSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::SourceAlgorithm
Definition: SourceAlgorithm.h:35
Aws::SageMaker::Model::SourceAlgorithmSpecification::SourceAlgorithmsHasBeenSet
bool SourceAlgorithmsHasBeenSet() const
Definition: SourceAlgorithmSpecification.h:50
Aws::SageMaker::Model::SourceAlgorithmSpecification::AddSourceAlgorithms
SourceAlgorithmSpecification & AddSourceAlgorithms(SourceAlgorithm &&value)
Definition: SourceAlgorithmSpecification.h:80
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::SourceAlgorithmSpecification::WithSourceAlgorithms
SourceAlgorithmSpecification & WithSourceAlgorithms(Aws::Vector< SourceAlgorithm > &&value)
Definition: SourceAlgorithmSpecification.h:70
Aws::SageMaker::Model::SourceAlgorithmSpecification::SetSourceAlgorithms
void SetSourceAlgorithms(Aws::Vector< SourceAlgorithm > &&value)
Definition: SourceAlgorithmSpecification.h:60
Aws::SageMaker::Model::SourceAlgorithmSpecification::SetSourceAlgorithms
void SetSourceAlgorithms(const Aws::Vector< SourceAlgorithm > &value)
Definition: SourceAlgorithmSpecification.h:55
Aws::SageMaker::Model::SourceAlgorithmSpecification::AddSourceAlgorithms
SourceAlgorithmSpecification & AddSourceAlgorithms(const SourceAlgorithm &value)
Definition: SourceAlgorithmSpecification.h:75
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::SourceAlgorithmSpecification::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::SourceAlgorithmSpecification::SourceAlgorithmSpecification
SourceAlgorithmSpecification()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::SourceAlgorithmSpecification
Definition: SourceAlgorithmSpecification.h:34
SourceAlgorithm.h
Aws::SageMaker::Model::SourceAlgorithmSpecification::SourceAlgorithmSpecification
SourceAlgorithmSpecification(Aws::Utils::Json::JsonView jsonValue)