AWS SDK for C++  1.9.160
AWS SDK for C++
AutoMLContainerDefinition.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 
35  {
36  public:
41 
42 
47  inline const Aws::String& GetImage() const{ return m_image; }
48 
53  inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
54 
59  inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; }
60 
65  inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
66 
71  inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); }
72 
77  inline AutoMLContainerDefinition& WithImage(const Aws::String& value) { SetImage(value); return *this;}
78 
83  inline AutoMLContainerDefinition& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;}
84 
89  inline AutoMLContainerDefinition& WithImage(const char* value) { SetImage(value); return *this;}
90 
91 
95  inline const Aws::String& GetModelDataUrl() const{ return m_modelDataUrl; }
96 
100  inline bool ModelDataUrlHasBeenSet() const { return m_modelDataUrlHasBeenSet; }
101 
105  inline void SetModelDataUrl(const Aws::String& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = value; }
106 
110  inline void SetModelDataUrl(Aws::String&& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = std::move(value); }
111 
115  inline void SetModelDataUrl(const char* value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl.assign(value); }
116 
120  inline AutoMLContainerDefinition& WithModelDataUrl(const Aws::String& value) { SetModelDataUrl(value); return *this;}
121 
125  inline AutoMLContainerDefinition& WithModelDataUrl(Aws::String&& value) { SetModelDataUrl(std::move(value)); return *this;}
126 
130  inline AutoMLContainerDefinition& WithModelDataUrl(const char* value) { SetModelDataUrl(value); return *this;}
131 
132 
137  inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
138 
143  inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
144 
149  inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentHasBeenSet = true; m_environment = value; }
150 
155  inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
156 
161  inline AutoMLContainerDefinition& WithEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { SetEnvironment(value); return *this;}
162 
167  inline AutoMLContainerDefinition& WithEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { SetEnvironment(std::move(value)); return *this;}
168 
173  inline AutoMLContainerDefinition& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
174 
179  inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
180 
185  inline AutoMLContainerDefinition& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
186 
191  inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; }
192 
197  inline AutoMLContainerDefinition& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
198 
203  inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
204 
209  inline AutoMLContainerDefinition& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
210 
211  private:
212 
213  Aws::String m_image;
214  bool m_imageHasBeenSet;
215 
216  Aws::String m_modelDataUrl;
217  bool m_modelDataUrlHasBeenSet;
218 
220  bool m_environmentHasBeenSet;
221  };
222 
223 } // namespace Model
224 } // namespace SageMaker
225 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::AutoMLContainerDefinition::AddEnvironment
AutoMLContainerDefinition & AddEnvironment(Aws::String &&key, const Aws::String &value)
Definition: AutoMLContainerDefinition.h:179
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AutoMLContainerDefinition::WithModelDataUrl
AutoMLContainerDefinition & WithModelDataUrl(Aws::String &&value)
Definition: AutoMLContainerDefinition.h:125
Aws::SageMaker::Model::AutoMLContainerDefinition::SetEnvironment
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
Definition: AutoMLContainerDefinition.h:155
Aws::SageMaker::Model::AutoMLContainerDefinition::GetEnvironment
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
Definition: AutoMLContainerDefinition.h:137
Aws::SageMaker::Model::AutoMLContainerDefinition::SetModelDataUrl
void SetModelDataUrl(Aws::String &&value)
Definition: AutoMLContainerDefinition.h:110
Aws::SageMaker::Model::AutoMLContainerDefinition::WithImage
AutoMLContainerDefinition & WithImage(const char *value)
Definition: AutoMLContainerDefinition.h:89
Aws::SageMaker::Model::AutoMLContainerDefinition::WithEnvironment
AutoMLContainerDefinition & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
Definition: AutoMLContainerDefinition.h:167
Aws::SageMaker::Model::AutoMLContainerDefinition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::AutoMLContainerDefinition::AddEnvironment
AutoMLContainerDefinition & AddEnvironment(const char *key, Aws::String &&value)
Definition: AutoMLContainerDefinition.h:197
Aws::SageMaker::Model::AutoMLContainerDefinition::AddEnvironment
AutoMLContainerDefinition & AddEnvironment(Aws::String &&key, const char *value)
Definition: AutoMLContainerDefinition.h:203
Aws::SageMaker::Model::AutoMLContainerDefinition::GetModelDataUrl
const Aws::String & GetModelDataUrl() const
Definition: AutoMLContainerDefinition.h:95
Aws::SageMaker::Model::AutoMLContainerDefinition
Definition: AutoMLContainerDefinition.h:35
Aws::SageMaker::Model::AutoMLContainerDefinition::WithModelDataUrl
AutoMLContainerDefinition & WithModelDataUrl(const Aws::String &value)
Definition: AutoMLContainerDefinition.h:120
Aws::SageMaker::Model::AutoMLContainerDefinition::AddEnvironment
AutoMLContainerDefinition & AddEnvironment(Aws::String &&key, Aws::String &&value)
Definition: AutoMLContainerDefinition.h:191
Aws::SageMaker::Model::AutoMLContainerDefinition::WithImage
AutoMLContainerDefinition & WithImage(Aws::String &&value)
Definition: AutoMLContainerDefinition.h:83
Aws::SageMaker::Model::AutoMLContainerDefinition::AddEnvironment
AutoMLContainerDefinition & AddEnvironment(const Aws::String &key, Aws::String &&value)
Definition: AutoMLContainerDefinition.h:185
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AutoMLContainerDefinition::AutoMLContainerDefinition
AutoMLContainerDefinition()
Aws::SageMaker::Model::AutoMLContainerDefinition::ModelDataUrlHasBeenSet
bool ModelDataUrlHasBeenSet() const
Definition: AutoMLContainerDefinition.h:100
Aws::SageMaker::Model::AutoMLContainerDefinition::AddEnvironment
AutoMLContainerDefinition & AddEnvironment(const char *key, const char *value)
Definition: AutoMLContainerDefinition.h:209
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::AutoMLContainerDefinition::EnvironmentHasBeenSet
bool EnvironmentHasBeenSet() const
Definition: AutoMLContainerDefinition.h:143
Aws::SageMaker::Model::AutoMLContainerDefinition::SetImage
void SetImage(const char *value)
Definition: AutoMLContainerDefinition.h:71
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::AutoMLContainerDefinition::SetImage
void SetImage(const Aws::String &value)
Definition: AutoMLContainerDefinition.h:59
Aws::SageMaker::Model::AutoMLContainerDefinition::SetModelDataUrl
void SetModelDataUrl(const Aws::String &value)
Definition: AutoMLContainerDefinition.h:105
Aws::SageMaker::Model::AutoMLContainerDefinition::SetModelDataUrl
void SetModelDataUrl(const char *value)
Definition: AutoMLContainerDefinition.h:115
Aws::SageMaker::Model::AutoMLContainerDefinition::AutoMLContainerDefinition
AutoMLContainerDefinition(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AutoMLContainerDefinition::operator=
AutoMLContainerDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::AutoMLContainerDefinition::SetEnvironment
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
Definition: AutoMLContainerDefinition.h:149
Aws::SageMaker::Model::AutoMLContainerDefinition::GetImage
const Aws::String & GetImage() const
Definition: AutoMLContainerDefinition.h:47
Aws::SageMaker::Model::AutoMLContainerDefinition::SetImage
void SetImage(Aws::String &&value)
Definition: AutoMLContainerDefinition.h:65
Aws::SageMaker::Model::AutoMLContainerDefinition::ImageHasBeenSet
bool ImageHasBeenSet() const
Definition: AutoMLContainerDefinition.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::AutoMLContainerDefinition::WithEnvironment
AutoMLContainerDefinition & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
Definition: AutoMLContainerDefinition.h:161
AWSMap.h
Aws::SageMaker::Model::AutoMLContainerDefinition::WithImage
AutoMLContainerDefinition & WithImage(const Aws::String &value)
Definition: AutoMLContainerDefinition.h:77
Aws::SageMaker::Model::AutoMLContainerDefinition::WithModelDataUrl
AutoMLContainerDefinition & WithModelDataUrl(const char *value)
Definition: AutoMLContainerDefinition.h:130
Aws::SageMaker::Model::AutoMLContainerDefinition::AddEnvironment
AutoMLContainerDefinition & AddEnvironment(const Aws::String &key, const Aws::String &value)
Definition: AutoMLContainerDefinition.h:173
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19