AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelBiasAppSpecification.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 ModelBiasAppSpecification();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetImageUri() const{ return m_imageUri; }
47 inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; }
48 inline void SetImageUri(const Aws::String& value) { m_imageUriHasBeenSet = true; m_imageUri = value; }
49 inline void SetImageUri(Aws::String&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::move(value); }
50 inline void SetImageUri(const char* value) { m_imageUriHasBeenSet = true; m_imageUri.assign(value); }
51 inline ModelBiasAppSpecification& WithImageUri(const Aws::String& value) { SetImageUri(value); return *this;}
52 inline ModelBiasAppSpecification& WithImageUri(Aws::String&& value) { SetImageUri(std::move(value)); return *this;}
53 inline ModelBiasAppSpecification& WithImageUri(const char* value) { SetImageUri(value); return *this;}
55
57
63 inline const Aws::String& GetConfigUri() const{ return m_configUri; }
64 inline bool ConfigUriHasBeenSet() const { return m_configUriHasBeenSet; }
65 inline void SetConfigUri(const Aws::String& value) { m_configUriHasBeenSet = true; m_configUri = value; }
66 inline void SetConfigUri(Aws::String&& value) { m_configUriHasBeenSet = true; m_configUri = std::move(value); }
67 inline void SetConfigUri(const char* value) { m_configUriHasBeenSet = true; m_configUri.assign(value); }
68 inline ModelBiasAppSpecification& WithConfigUri(const Aws::String& value) { SetConfigUri(value); return *this;}
69 inline ModelBiasAppSpecification& WithConfigUri(Aws::String&& value) { SetConfigUri(std::move(value)); return *this;}
70 inline ModelBiasAppSpecification& WithConfigUri(const char* value) { SetConfigUri(value); return *this;}
72
74
77 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
78 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
79 inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentHasBeenSet = true; m_environment = value; }
80 inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
83 inline ModelBiasAppSpecification& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
84 inline ModelBiasAppSpecification& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
85 inline ModelBiasAppSpecification& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
86 inline ModelBiasAppSpecification& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; }
87 inline ModelBiasAppSpecification& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
88 inline ModelBiasAppSpecification& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
89 inline ModelBiasAppSpecification& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
91 private:
92
93 Aws::String m_imageUri;
94 bool m_imageUriHasBeenSet = false;
95
96 Aws::String m_configUri;
97 bool m_configUriHasBeenSet = false;
98
100 bool m_environmentHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace SageMaker
105} // namespace Aws
ModelBiasAppSpecification & AddEnvironment(Aws::String &&key, const char *value)
ModelBiasAppSpecification & WithImageUri(Aws::String &&value)
ModelBiasAppSpecification & WithImageUri(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelBiasAppSpecification & WithConfigUri(const Aws::String &value)
ModelBiasAppSpecification & AddEnvironment(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
ModelBiasAppSpecification & AddEnvironment(const char *key, Aws::String &&value)
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SAGEMAKER_API ModelBiasAppSpecification(Aws::Utils::Json::JsonView jsonValue)
ModelBiasAppSpecification & WithImageUri(const Aws::String &value)
AWS_SAGEMAKER_API ModelBiasAppSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelBiasAppSpecification & AddEnvironment(const Aws::String &key, const Aws::String &value)
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
ModelBiasAppSpecification & WithConfigUri(const char *value)
ModelBiasAppSpecification & AddEnvironment(const Aws::String &key, Aws::String &&value)
ModelBiasAppSpecification & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
ModelBiasAppSpecification & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
ModelBiasAppSpecification & WithConfigUri(Aws::String &&value)
ModelBiasAppSpecification & AddEnvironment(Aws::String &&key, Aws::String &&value)
ModelBiasAppSpecification & AddEnvironment(const char *key, const char *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