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#include <aws/sagemaker/model/ContainerMetricsConfig.h>
44 template <
typename ImageT = Aws::String>
46 m_imageHasBeenSet =
true;
47 m_image = std::forward<ImageT>(value);
49 template <
typename ImageT = Aws::String>
51 SetImage(std::forward<ImageT>(value));
64 template <
typename ArtifactUrlT = Aws::String>
66 m_artifactUrlHasBeenSet =
true;
67 m_artifactUrl = std::forward<ArtifactUrlT>(value);
69 template <
typename ArtifactUrlT = Aws::String>
84 template <
typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
86 m_environmentHasBeenSet =
true;
87 m_environment = std::forward<EnvironmentT>(value);
89 template <
typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
94 template <
typename EnvironmentKeyT = Aws::String,
typename EnvironmentValueT = Aws::String>
96 m_environmentHasBeenSet =
true;
97 m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
114 template <
typename ContainerMetricsConfigT = ContainerMetricsConfig>
116 m_containerMetricsConfigHasBeenSet =
true;
117 m_containerMetricsConfig = std::forward<ContainerMetricsConfigT>(value);
119 template <
typename ContainerMetricsConfigT = ContainerMetricsConfig>
133 bool m_imageHasBeenSet =
false;
134 bool m_artifactUrlHasBeenSet =
false;
135 bool m_environmentHasBeenSet =
false;
136 bool m_containerMetricsConfigHasBeenSet =
false;
bool ArtifactUrlHasBeenSet() const
InferenceComponentContainerSpecification & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
const Aws::String & GetImage() const
const ContainerMetricsConfig & GetContainerMetricsConfig() const
const Aws::String & GetArtifactUrl() const
void SetContainerMetricsConfig(ContainerMetricsConfigT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API InferenceComponentContainerSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API InferenceComponentContainerSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceComponentContainerSpecification & WithContainerMetricsConfig(ContainerMetricsConfigT &&value)
bool EnvironmentHasBeenSet() const
void SetImage(ImageT &&value)
void SetEnvironment(EnvironmentT &&value)
InferenceComponentContainerSpecification & WithImage(ImageT &&value)
bool ContainerMetricsConfigHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
void SetArtifactUrl(ArtifactUrlT &&value)
InferenceComponentContainerSpecification & WithArtifactUrl(ArtifactUrlT &&value)
bool ImageHasBeenSet() const
AWS_SAGEMAKER_API InferenceComponentContainerSpecification()=default
InferenceComponentContainerSpecification & WithEnvironment(EnvironmentT &&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