AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceAlgorithmSpecification.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/model/SourceAlgorithm.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API SourceAlgorithmSpecification();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<SourceAlgorithm>& GetSourceAlgorithms() const{ return m_sourceAlgorithms; }
47 inline bool SourceAlgorithmsHasBeenSet() const { return m_sourceAlgorithmsHasBeenSet; }
48 inline void SetSourceAlgorithms(const Aws::Vector<SourceAlgorithm>& value) { m_sourceAlgorithmsHasBeenSet = true; m_sourceAlgorithms = value; }
49 inline void SetSourceAlgorithms(Aws::Vector<SourceAlgorithm>&& value) { m_sourceAlgorithmsHasBeenSet = true; m_sourceAlgorithms = std::move(value); }
52 inline SourceAlgorithmSpecification& AddSourceAlgorithms(const SourceAlgorithm& value) { m_sourceAlgorithmsHasBeenSet = true; m_sourceAlgorithms.push_back(value); return *this; }
53 inline SourceAlgorithmSpecification& AddSourceAlgorithms(SourceAlgorithm&& value) { m_sourceAlgorithmsHasBeenSet = true; m_sourceAlgorithms.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<SourceAlgorithm> m_sourceAlgorithms;
58 bool m_sourceAlgorithmsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace SageMaker
63} // namespace Aws
AWS_SAGEMAKER_API SourceAlgorithmSpecification(Aws::Utils::Json::JsonView jsonValue)
SourceAlgorithmSpecification & WithSourceAlgorithms(Aws::Vector< SourceAlgorithm > &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
SourceAlgorithmSpecification & AddSourceAlgorithms(const SourceAlgorithm &value)
void SetSourceAlgorithms(Aws::Vector< SourceAlgorithm > &&value)
SourceAlgorithmSpecification & AddSourceAlgorithms(SourceAlgorithm &&value)
void SetSourceAlgorithms(const Aws::Vector< SourceAlgorithm > &value)
AWS_SAGEMAKER_API SourceAlgorithmSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceAlgorithmSpecification & WithSourceAlgorithms(const Aws::Vector< SourceAlgorithm > &value)
const Aws::Vector< SourceAlgorithm > & GetSourceAlgorithms() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue