AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SourceAlgorithm.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ModelDataSource.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
36 {
37 public:
38 AWS_SAGEMAKER_API SourceAlgorithm() = default;
39 AWS_SAGEMAKER_API SourceAlgorithm(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
52 inline const Aws::String& GetModelDataUrl() const { return m_modelDataUrl; }
53 inline bool ModelDataUrlHasBeenSet() const { return m_modelDataUrlHasBeenSet; }
54 template<typename ModelDataUrlT = Aws::String>
55 void SetModelDataUrl(ModelDataUrlT&& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = std::forward<ModelDataUrlT>(value); }
56 template<typename ModelDataUrlT = Aws::String>
57 SourceAlgorithm& WithModelDataUrl(ModelDataUrlT&& value) { SetModelDataUrl(std::forward<ModelDataUrlT>(value)); return *this;}
59
61
65 inline const ModelDataSource& GetModelDataSource() const { return m_modelDataSource; }
66 inline bool ModelDataSourceHasBeenSet() const { return m_modelDataSourceHasBeenSet; }
67 template<typename ModelDataSourceT = ModelDataSource>
68 void SetModelDataSource(ModelDataSourceT&& value) { m_modelDataSourceHasBeenSet = true; m_modelDataSource = std::forward<ModelDataSourceT>(value); }
69 template<typename ModelDataSourceT = ModelDataSource>
70 SourceAlgorithm& WithModelDataSource(ModelDataSourceT&& value) { SetModelDataSource(std::forward<ModelDataSourceT>(value)); return *this;}
72
74
77 inline const Aws::String& GetModelDataETag() const { return m_modelDataETag; }
78 inline bool ModelDataETagHasBeenSet() const { return m_modelDataETagHasBeenSet; }
79 template<typename ModelDataETagT = Aws::String>
80 void SetModelDataETag(ModelDataETagT&& value) { m_modelDataETagHasBeenSet = true; m_modelDataETag = std::forward<ModelDataETagT>(value); }
81 template<typename ModelDataETagT = Aws::String>
82 SourceAlgorithm& WithModelDataETag(ModelDataETagT&& value) { SetModelDataETag(std::forward<ModelDataETagT>(value)); return *this;}
84
86
91 inline const Aws::String& GetAlgorithmName() const { return m_algorithmName; }
92 inline bool AlgorithmNameHasBeenSet() const { return m_algorithmNameHasBeenSet; }
93 template<typename AlgorithmNameT = Aws::String>
94 void SetAlgorithmName(AlgorithmNameT&& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = std::forward<AlgorithmNameT>(value); }
95 template<typename AlgorithmNameT = Aws::String>
96 SourceAlgorithm& WithAlgorithmName(AlgorithmNameT&& value) { SetAlgorithmName(std::forward<AlgorithmNameT>(value)); return *this;}
98 private:
99
100 Aws::String m_modelDataUrl;
101 bool m_modelDataUrlHasBeenSet = false;
102
103 ModelDataSource m_modelDataSource;
104 bool m_modelDataSourceHasBeenSet = false;
105
106 Aws::String m_modelDataETag;
107 bool m_modelDataETagHasBeenSet = false;
108
109 Aws::String m_algorithmName;
110 bool m_algorithmNameHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace SageMaker
115} // namespace Aws
void SetModelDataSource(ModelDataSourceT &&value)
SourceAlgorithm & WithModelDataETag(ModelDataETagT &&value)
const Aws::String & GetModelDataETag() const
SourceAlgorithm & WithModelDataSource(ModelDataSourceT &&value)
const Aws::String & GetModelDataUrl() const
void SetModelDataUrl(ModelDataUrlT &&value)
void SetAlgorithmName(AlgorithmNameT &&value)
const ModelDataSource & GetModelDataSource() const
SourceAlgorithm & WithModelDataUrl(ModelDataUrlT &&value)
AWS_SAGEMAKER_API SourceAlgorithm(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelDataETag(ModelDataETagT &&value)
AWS_SAGEMAKER_API SourceAlgorithm & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAlgorithmName() const
SourceAlgorithm & WithAlgorithmName(AlgorithmNameT &&value)
AWS_SAGEMAKER_API SourceAlgorithm()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue