AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelDataUrl(const Aws::String& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = value; }
55 inline void SetModelDataUrl(Aws::String&& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = std::move(value); }
56 inline void SetModelDataUrl(const char* value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl.assign(value); }
57 inline SourceAlgorithm& WithModelDataUrl(const Aws::String& value) { SetModelDataUrl(value); return *this;}
58 inline SourceAlgorithm& WithModelDataUrl(Aws::String&& value) { SetModelDataUrl(std::move(value)); return *this;}
59 inline SourceAlgorithm& WithModelDataUrl(const char* value) { SetModelDataUrl(value); return *this;}
61
63
67 inline const ModelDataSource& GetModelDataSource() const{ return m_modelDataSource; }
68 inline bool ModelDataSourceHasBeenSet() const { return m_modelDataSourceHasBeenSet; }
69 inline void SetModelDataSource(const ModelDataSource& value) { m_modelDataSourceHasBeenSet = true; m_modelDataSource = value; }
70 inline void SetModelDataSource(ModelDataSource&& value) { m_modelDataSourceHasBeenSet = true; m_modelDataSource = std::move(value); }
71 inline SourceAlgorithm& WithModelDataSource(const ModelDataSource& value) { SetModelDataSource(value); return *this;}
72 inline SourceAlgorithm& WithModelDataSource(ModelDataSource&& value) { SetModelDataSource(std::move(value)); return *this;}
74
76
81 inline const Aws::String& GetAlgorithmName() const{ return m_algorithmName; }
82 inline bool AlgorithmNameHasBeenSet() const { return m_algorithmNameHasBeenSet; }
83 inline void SetAlgorithmName(const Aws::String& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = value; }
84 inline void SetAlgorithmName(Aws::String&& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = std::move(value); }
85 inline void SetAlgorithmName(const char* value) { m_algorithmNameHasBeenSet = true; m_algorithmName.assign(value); }
86 inline SourceAlgorithm& WithAlgorithmName(const Aws::String& value) { SetAlgorithmName(value); return *this;}
87 inline SourceAlgorithm& WithAlgorithmName(Aws::String&& value) { SetAlgorithmName(std::move(value)); return *this;}
88 inline SourceAlgorithm& WithAlgorithmName(const char* value) { SetAlgorithmName(value); return *this;}
90 private:
91
92 Aws::String m_modelDataUrl;
93 bool m_modelDataUrlHasBeenSet = false;
94
95 ModelDataSource m_modelDataSource;
96 bool m_modelDataSourceHasBeenSet = false;
97
98 Aws::String m_algorithmName;
99 bool m_algorithmNameHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SageMaker
104} // namespace Aws
void SetModelDataSource(ModelDataSource &&value)
SourceAlgorithm & WithModelDataSource(const ModelDataSource &value)
void SetModelDataUrl(const Aws::String &value)
void SetAlgorithmName(const char *value)
SourceAlgorithm & WithAlgorithmName(const Aws::String &value)
const Aws::String & GetModelDataUrl() const
void SetModelDataUrl(const char *value)
const ModelDataSource & GetModelDataSource() const
SourceAlgorithm & WithModelDataUrl(const char *value)
AWS_SAGEMAKER_API SourceAlgorithm(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
SourceAlgorithm & WithModelDataSource(ModelDataSource &&value)
SourceAlgorithm & WithAlgorithmName(const char *value)
void SetAlgorithmName(Aws::String &&value)
void SetModelDataUrl(Aws::String &&value)
SourceAlgorithm & WithModelDataUrl(const Aws::String &value)
AWS_SAGEMAKER_API SourceAlgorithm & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAlgorithmName() const
void SetModelDataSource(const ModelDataSource &value)
void SetAlgorithmName(const Aws::String &value)
SourceAlgorithm & WithAlgorithmName(Aws::String &&value)
SourceAlgorithm & WithModelDataUrl(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue