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>
43 template <
typename ImageT = Aws::String>
45 m_imageHasBeenSet =
true;
46 m_image = std::forward<ImageT>(value);
48 template <
typename ImageT = Aws::String>
50 SetImage(std::forward<ImageT>(value));
63 template <
typename ArtifactUrlT = Aws::String>
65 m_artifactUrlHasBeenSet =
true;
66 m_artifactUrl = std::forward<ArtifactUrlT>(value);
68 template <
typename ArtifactUrlT = Aws::String>
83 template <
typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
85 m_environmentHasBeenSet =
true;
86 m_environment = std::forward<EnvironmentT>(value);
88 template <
typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
93 template <
typename EnvironmentKeyT = Aws::String,
typename EnvironmentValueT = Aws::String>
95 m_environmentHasBeenSet =
true;
96 m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
106 bool m_imageHasBeenSet =
false;
107 bool m_artifactUrlHasBeenSet =
false;
108 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