AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoMLContainerDefinition.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.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 AutoMLContainerDefinition();
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::String& GetImage() const{ return m_image; }
52 inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
53 inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; }
54 inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
55 inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); }
56 inline AutoMLContainerDefinition& WithImage(const Aws::String& value) { SetImage(value); return *this;}
57 inline AutoMLContainerDefinition& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;}
58 inline AutoMLContainerDefinition& WithImage(const char* value) { SetImage(value); return *this;}
60
62
67 inline const Aws::String& GetModelDataUrl() const{ return m_modelDataUrl; }
68 inline bool ModelDataUrlHasBeenSet() const { return m_modelDataUrlHasBeenSet; }
69 inline void SetModelDataUrl(const Aws::String& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = value; }
70 inline void SetModelDataUrl(Aws::String&& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = std::move(value); }
71 inline void SetModelDataUrl(const char* value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl.assign(value); }
72 inline AutoMLContainerDefinition& WithModelDataUrl(const Aws::String& value) { SetModelDataUrl(value); return *this;}
73 inline AutoMLContainerDefinition& WithModelDataUrl(Aws::String&& value) { SetModelDataUrl(std::move(value)); return *this;}
74 inline AutoMLContainerDefinition& WithModelDataUrl(const char* value) { SetModelDataUrl(value); return *this;}
76
78
84 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
85 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
86 inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentHasBeenSet = true; m_environment = value; }
87 inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
90 inline AutoMLContainerDefinition& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
91 inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
92 inline AutoMLContainerDefinition& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
93 inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; }
94 inline AutoMLContainerDefinition& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
95 inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
96 inline AutoMLContainerDefinition& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
98 private:
99
100 Aws::String m_image;
101 bool m_imageHasBeenSet = false;
102
103 Aws::String m_modelDataUrl;
104 bool m_modelDataUrlHasBeenSet = false;
105
107 bool m_environmentHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace SageMaker
112} // namespace Aws
AutoMLContainerDefinition & AddEnvironment(const Aws::String &key, const Aws::String &value)
AutoMLContainerDefinition & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
AutoMLContainerDefinition & WithImage(const char *value)
AWS_SAGEMAKER_API AutoMLContainerDefinition(Aws::Utils::Json::JsonView jsonValue)
AutoMLContainerDefinition & WithModelDataUrl(Aws::String &&value)
AutoMLContainerDefinition & AddEnvironment(const Aws::String &key, Aws::String &&value)
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
AutoMLContainerDefinition & WithImage(const Aws::String &value)
AWS_SAGEMAKER_API AutoMLContainerDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoMLContainerDefinition & AddEnvironment(Aws::String &&key, Aws::String &&value)
AutoMLContainerDefinition & AddEnvironment(Aws::String &&key, const char *value)
AutoMLContainerDefinition & WithModelDataUrl(const char *value)
AutoMLContainerDefinition & AddEnvironment(const char *key, const char *value)
AutoMLContainerDefinition & AddEnvironment(Aws::String &&key, const Aws::String &value)
AutoMLContainerDefinition & WithModelDataUrl(const Aws::String &value)
AutoMLContainerDefinition & WithImage(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
AutoMLContainerDefinition & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
AutoMLContainerDefinition & AddEnvironment(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue