AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ModelExplainabilityAppSpecification.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 ModelExplainabilityAppSpecification() = default;
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 template<typename ImageUriT = Aws::String>
49 void SetImageUri(ImageUriT&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::forward<ImageUriT>(value); }
50 template<typename ImageUriT = Aws::String>
51 ModelExplainabilityAppSpecification& WithImageUri(ImageUriT&& value) { SetImageUri(std::forward<ImageUriT>(value)); return *this;}
53
55
61 inline const Aws::String& GetConfigUri() const { return m_configUri; }
62 inline bool ConfigUriHasBeenSet() const { return m_configUriHasBeenSet; }
63 template<typename ConfigUriT = Aws::String>
64 void SetConfigUri(ConfigUriT&& value) { m_configUriHasBeenSet = true; m_configUri = std::forward<ConfigUriT>(value); }
65 template<typename ConfigUriT = Aws::String>
66 ModelExplainabilityAppSpecification& WithConfigUri(ConfigUriT&& value) { SetConfigUri(std::forward<ConfigUriT>(value)); return *this;}
68
70
73 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const { return m_environment; }
74 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
75 template<typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
76 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
77 template<typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
78 ModelExplainabilityAppSpecification& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
79 template<typename EnvironmentKeyT = Aws::String, typename EnvironmentValueT = Aws::String>
80 ModelExplainabilityAppSpecification& AddEnvironment(EnvironmentKeyT&& key, EnvironmentValueT&& value) {
81 m_environmentHasBeenSet = true; m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value)); return *this;
82 }
84 private:
85
86 Aws::String m_imageUri;
87 bool m_imageUriHasBeenSet = false;
88
89 Aws::String m_configUri;
90 bool m_configUriHasBeenSet = false;
91
93 bool m_environmentHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SageMaker
98} // namespace Aws
ModelExplainabilityAppSpecification & WithEnvironment(EnvironmentT &&value)
AWS_SAGEMAKER_API ModelExplainabilityAppSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ModelExplainabilityAppSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelExplainabilityAppSpecification & WithConfigUri(ConfigUriT &&value)
ModelExplainabilityAppSpecification & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
ModelExplainabilityAppSpecification & WithImageUri(ImageUriT &&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