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>
49 template<
typename ImageT = Aws::String>
50 void SetImage(ImageT&& value) { m_imageHasBeenSet =
true; m_image = std::forward<ImageT>(value); }
51 template<
typename ImageT = Aws::String>
63 template<
typename ArtifactUrlT = Aws::String>
64 void SetArtifactUrl(ArtifactUrlT&& value) { m_artifactUrlHasBeenSet =
true; m_artifactUrl = std::forward<ArtifactUrlT>(value); }
65 template<
typename ArtifactUrlT = Aws::String>
77 template<
typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
78 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet =
true; m_environment = std::forward<EnvironmentT>(value); }
79 template<
typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
81 template<
typename EnvironmentKeyT = Aws::String,
typename EnvironmentValueT = Aws::String>
83 m_environmentHasBeenSet =
true; m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
return *
this;
89 bool m_imageHasBeenSet =
false;
92 bool m_artifactUrlHasBeenSet =
false;
95 bool m_environmentHasBeenSet =
false;
bool ArtifactUrlHasBeenSet() const
InferenceComponentContainerSpecification & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
const Aws::String & GetImage() const
const Aws::String & GetArtifactUrl() const
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)
bool EnvironmentHasBeenSet() const
void SetImage(ImageT &&value)
void SetEnvironment(EnvironmentT &&value)
InferenceComponentContainerSpecification & WithImage(ImageT &&value)
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