AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelCompilationConfig.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
34 {
35 public:
36 AWS_SAGEMAKER_API ModelCompilationConfig();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetImage() const{ return m_image; }
48 inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
49 inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; }
50 inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
51 inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); }
52 inline ModelCompilationConfig& WithImage(const Aws::String& value) { SetImage(value); return *this;}
53 inline ModelCompilationConfig& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;}
54 inline ModelCompilationConfig& WithImage(const char* value) { SetImage(value); return *this;}
56
58
62 inline const Aws::Map<Aws::String, Aws::String>& GetOverrideEnvironment() const{ return m_overrideEnvironment; }
63 inline bool OverrideEnvironmentHasBeenSet() const { return m_overrideEnvironmentHasBeenSet; }
64 inline void SetOverrideEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_overrideEnvironmentHasBeenSet = true; m_overrideEnvironment = value; }
65 inline void SetOverrideEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_overrideEnvironmentHasBeenSet = true; m_overrideEnvironment = std::move(value); }
68 inline ModelCompilationConfig& AddOverrideEnvironment(const Aws::String& key, const Aws::String& value) { m_overrideEnvironmentHasBeenSet = true; m_overrideEnvironment.emplace(key, value); return *this; }
69 inline ModelCompilationConfig& AddOverrideEnvironment(Aws::String&& key, const Aws::String& value) { m_overrideEnvironmentHasBeenSet = true; m_overrideEnvironment.emplace(std::move(key), value); return *this; }
70 inline ModelCompilationConfig& AddOverrideEnvironment(const Aws::String& key, Aws::String&& value) { m_overrideEnvironmentHasBeenSet = true; m_overrideEnvironment.emplace(key, std::move(value)); return *this; }
71 inline ModelCompilationConfig& AddOverrideEnvironment(Aws::String&& key, Aws::String&& value) { m_overrideEnvironmentHasBeenSet = true; m_overrideEnvironment.emplace(std::move(key), std::move(value)); return *this; }
72 inline ModelCompilationConfig& AddOverrideEnvironment(const char* key, Aws::String&& value) { m_overrideEnvironmentHasBeenSet = true; m_overrideEnvironment.emplace(key, std::move(value)); return *this; }
73 inline ModelCompilationConfig& AddOverrideEnvironment(Aws::String&& key, const char* value) { m_overrideEnvironmentHasBeenSet = true; m_overrideEnvironment.emplace(std::move(key), value); return *this; }
74 inline ModelCompilationConfig& AddOverrideEnvironment(const char* key, const char* value) { m_overrideEnvironmentHasBeenSet = true; m_overrideEnvironment.emplace(key, value); return *this; }
76 private:
77
78 Aws::String m_image;
79 bool m_imageHasBeenSet = false;
80
81 Aws::Map<Aws::String, Aws::String> m_overrideEnvironment;
82 bool m_overrideEnvironmentHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace SageMaker
87} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetOverrideEnvironment() const
ModelCompilationConfig & AddOverrideEnvironment(const Aws::String &key, Aws::String &&value)
ModelCompilationConfig & WithImage(const Aws::String &value)
ModelCompilationConfig & WithImage(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ModelCompilationConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ModelCompilationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelCompilationConfig & AddOverrideEnvironment(Aws::String &&key, const char *value)
void SetOverrideEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
ModelCompilationConfig & AddOverrideEnvironment(const char *key, const char *value)
ModelCompilationConfig & AddOverrideEnvironment(const Aws::String &key, const Aws::String &value)
ModelCompilationConfig & WithOverrideEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
ModelCompilationConfig & AddOverrideEnvironment(Aws::String &&key, Aws::String &&value)
ModelCompilationConfig & WithOverrideEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
void SetOverrideEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
ModelCompilationConfig & AddOverrideEnvironment(const char *key, Aws::String &&value)
ModelCompilationConfig & WithImage(Aws::String &&value)
ModelCompilationConfig & AddOverrideEnvironment(Aws::String &&key, const Aws::String &value)
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