AWS SDK for C++  1.9.153
AWS SDK for C++
SourceAlgorithm.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
50  inline const Aws::String& GetModelDataUrl() const{ return m_modelDataUrl; }
51 
59  inline bool ModelDataUrlHasBeenSet() const { return m_modelDataUrlHasBeenSet; }
60 
68  inline void SetModelDataUrl(const Aws::String& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = value; }
69 
77  inline void SetModelDataUrl(Aws::String&& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = std::move(value); }
78 
86  inline void SetModelDataUrl(const char* value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl.assign(value); }
87 
95  inline SourceAlgorithm& WithModelDataUrl(const Aws::String& value) { SetModelDataUrl(value); return *this;}
96 
104  inline SourceAlgorithm& WithModelDataUrl(Aws::String&& value) { SetModelDataUrl(std::move(value)); return *this;}
105 
113  inline SourceAlgorithm& WithModelDataUrl(const char* value) { SetModelDataUrl(value); return *this;}
114 
115 
122  inline const Aws::String& GetAlgorithmName() const{ return m_algorithmName; }
123 
130  inline bool AlgorithmNameHasBeenSet() const { return m_algorithmNameHasBeenSet; }
131 
138  inline void SetAlgorithmName(const Aws::String& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = value; }
139 
146  inline void SetAlgorithmName(Aws::String&& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = std::move(value); }
147 
154  inline void SetAlgorithmName(const char* value) { m_algorithmNameHasBeenSet = true; m_algorithmName.assign(value); }
155 
162  inline SourceAlgorithm& WithAlgorithmName(const Aws::String& value) { SetAlgorithmName(value); return *this;}
163 
170  inline SourceAlgorithm& WithAlgorithmName(Aws::String&& value) { SetAlgorithmName(std::move(value)); return *this;}
171 
178  inline SourceAlgorithm& WithAlgorithmName(const char* value) { SetAlgorithmName(value); return *this;}
179 
180  private:
181 
182  Aws::String m_modelDataUrl;
183  bool m_modelDataUrlHasBeenSet;
184 
185  Aws::String m_algorithmName;
186  bool m_algorithmNameHasBeenSet;
187  };
188 
189 } // namespace Model
190 } // namespace SageMaker
191 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::SourceAlgorithm::AlgorithmNameHasBeenSet
bool AlgorithmNameHasBeenSet() const
Definition: SourceAlgorithm.h:130
Aws::SageMaker::Model::SourceAlgorithm::SetModelDataUrl
void SetModelDataUrl(const Aws::String &value)
Definition: SourceAlgorithm.h:68
Aws::SageMaker::Model::SourceAlgorithm::SetAlgorithmName
void SetAlgorithmName(const char *value)
Definition: SourceAlgorithm.h:154
Aws::SageMaker::Model::SourceAlgorithm::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::SourceAlgorithm::operator=
SourceAlgorithm & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::SourceAlgorithm::WithModelDataUrl
SourceAlgorithm & WithModelDataUrl(const Aws::String &value)
Definition: SourceAlgorithm.h:95
Aws::SageMaker::Model::SourceAlgorithm::WithModelDataUrl
SourceAlgorithm & WithModelDataUrl(Aws::String &&value)
Definition: SourceAlgorithm.h:104
Aws::SageMaker::Model::SourceAlgorithm
Definition: SourceAlgorithm.h:35
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::SourceAlgorithm::SetAlgorithmName
void SetAlgorithmName(const Aws::String &value)
Definition: SourceAlgorithm.h:138
Aws::SageMaker::Model::SourceAlgorithm::SetModelDataUrl
void SetModelDataUrl(Aws::String &&value)
Definition: SourceAlgorithm.h:77
Aws::SageMaker::Model::SourceAlgorithm::GetAlgorithmName
const Aws::String & GetAlgorithmName() const
Definition: SourceAlgorithm.h:122
Aws::SageMaker::Model::SourceAlgorithm::WithAlgorithmName
SourceAlgorithm & WithAlgorithmName(Aws::String &&value)
Definition: SourceAlgorithm.h:170
Aws::SageMaker::Model::SourceAlgorithm::SourceAlgorithm
SourceAlgorithm()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::SourceAlgorithm::SourceAlgorithm
SourceAlgorithm(Aws::Utils::Json::JsonView jsonValue)
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::SourceAlgorithm::WithModelDataUrl
SourceAlgorithm & WithModelDataUrl(const char *value)
Definition: SourceAlgorithm.h:113
Aws::SageMaker::Model::SourceAlgorithm::WithAlgorithmName
SourceAlgorithm & WithAlgorithmName(const char *value)
Definition: SourceAlgorithm.h:178
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::SourceAlgorithm::WithAlgorithmName
SourceAlgorithm & WithAlgorithmName(const Aws::String &value)
Definition: SourceAlgorithm.h:162
Aws::SageMaker::Model::SourceAlgorithm::ModelDataUrlHasBeenSet
bool ModelDataUrlHasBeenSet() const
Definition: SourceAlgorithm.h:59
Aws::SageMaker::Model::SourceAlgorithm::SetAlgorithmName
void SetAlgorithmName(Aws::String &&value)
Definition: SourceAlgorithm.h:146
Aws::SageMaker::Model::SourceAlgorithm::SetModelDataUrl
void SetModelDataUrl(const char *value)
Definition: SourceAlgorithm.h:86
Aws::SageMaker::Model::SourceAlgorithm::GetModelDataUrl
const Aws::String & GetModelDataUrl() const
Definition: SourceAlgorithm.h:50