AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ModelBiasAppSpecification.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API ModelBiasAppSpecification() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetImageUri() const { return m_imageUri; }
41 inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; }
42 template <typename ImageUriT = Aws::String>
43 void SetImageUri(ImageUriT&& value) {
44 m_imageUriHasBeenSet = true;
45 m_imageUri = std::forward<ImageUriT>(value);
46 }
47 template <typename ImageUriT = Aws::String>
49 SetImageUri(std::forward<ImageUriT>(value));
50 return *this;
51 }
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) {
65 m_configUriHasBeenSet = true;
66 m_configUri = std::forward<ConfigUriT>(value);
67 }
68 template <typename ConfigUriT = Aws::String>
70 SetConfigUri(std::forward<ConfigUriT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const { return m_environment; }
80 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
81 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
82 void SetEnvironment(EnvironmentT&& value) {
83 m_environmentHasBeenSet = true;
84 m_environment = std::forward<EnvironmentT>(value);
85 }
86 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
88 SetEnvironment(std::forward<EnvironmentT>(value));
89 return *this;
90 }
91 template <typename EnvironmentKeyT = Aws::String, typename EnvironmentValueT = Aws::String>
92 ModelBiasAppSpecification& AddEnvironment(EnvironmentKeyT&& key, EnvironmentValueT&& value) {
93 m_environmentHasBeenSet = true;
94 m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_imageUri;
100
101 Aws::String m_configUri;
102
104 bool m_imageUriHasBeenSet = false;
105 bool m_configUriHasBeenSet = false;
106 bool m_environmentHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace SageMaker
111} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
ModelBiasAppSpecification & WithImageUri(ImageUriT &&value)
AWS_SAGEMAKER_API ModelBiasAppSpecification()=default
AWS_SAGEMAKER_API ModelBiasAppSpecification(Aws::Utils::Json::JsonView jsonValue)
ModelBiasAppSpecification & WithEnvironment(EnvironmentT &&value)
AWS_SAGEMAKER_API ModelBiasAppSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelBiasAppSpecification & WithConfigUri(ConfigUriT &&value)
ModelBiasAppSpecification & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&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