7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/AdditionalModelDataSource.h>
12#include <aws/sagemaker/model/ContainerMode.h>
13#include <aws/sagemaker/model/ImageConfig.h>
14#include <aws/sagemaker/model/ModelDataSource.h>
15#include <aws/sagemaker/model/MultiModelConfig.h>
60 template <
typename ContainerHostnameT = Aws::String>
62 m_containerHostnameHasBeenSet =
true;
63 m_containerHostname = std::forward<ContainerHostnameT>(value);
65 template <
typename ContainerHostnameT = Aws::String>
90 template <
typename ImageT = Aws::String>
92 m_imageHasBeenSet =
true;
93 m_image = std::forward<ImageT>(value);
95 template <
typename ImageT = Aws::String>
97 SetImage(std::forward<ImageT>(value));
115 template <
typename ImageConfigT = ImageConfig>
117 m_imageConfigHasBeenSet =
true;
118 m_imageConfig = std::forward<ImageConfigT>(value);
120 template <
typename ImageConfigT = ImageConfig>
134 m_modeHasBeenSet =
true;
167 template <
typename ModelDataUrlT = Aws::String>
169 m_modelDataUrlHasBeenSet =
true;
170 m_modelDataUrl = std::forward<ModelDataUrlT>(value);
172 template <
typename ModelDataUrlT = Aws::String>
188 template <
typename ModelDataSourceT = ModelDataSource>
190 m_modelDataSourceHasBeenSet =
true;
191 m_modelDataSource = std::forward<ModelDataSourceT>(value);
193 template <
typename ModelDataSourceT = ModelDataSource>
208 template <
typename AdditionalModelDataSourcesT = Aws::Vector<AdditionalModelDataSource>>
210 m_additionalModelDataSourcesHasBeenSet =
true;
211 m_additionalModelDataSources = std::forward<AdditionalModelDataSourcesT>(value);
213 template <
typename AdditionalModelDataSourcesT = Aws::Vector<AdditionalModelDataSource>>
218 template <
typename AdditionalModelDataSourcesT = AdditionalModelDataSource>
220 m_additionalModelDataSourcesHasBeenSet =
true;
221 m_additionalModelDataSources.emplace_back(std::forward<AdditionalModelDataSourcesT>(value));
237 template <
typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
239 m_environmentHasBeenSet =
true;
240 m_environment = std::forward<EnvironmentT>(value);
242 template <
typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
247 template <
typename EnvironmentKeyT = Aws::String,
typename EnvironmentValueT = Aws::String>
249 m_environmentHasBeenSet =
true;
250 m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
262 template <
typename ModelPackageNameT = Aws::String>
264 m_modelPackageNameHasBeenSet =
true;
265 m_modelPackageName = std::forward<ModelPackageNameT>(value);
267 template <
typename ModelPackageNameT = Aws::String>
280 template <
typename InferenceSpecificationNameT = Aws::String>
282 m_inferenceSpecificationNameHasBeenSet =
true;
283 m_inferenceSpecificationName = std::forward<InferenceSpecificationNameT>(value);
285 template <
typename InferenceSpecificationNameT = Aws::String>
298 template <
typename MultiModelConfigT = MultiModelConfig>
300 m_multiModelConfigHasBeenSet =
true;
301 m_multiModelConfig = std::forward<MultiModelConfigT>(value);
303 template <
typename MultiModelConfigT = MultiModelConfig>
320 ModelDataSource m_modelDataSource;
330 MultiModelConfig m_multiModelConfig;
331 bool m_containerHostnameHasBeenSet =
false;
332 bool m_imageHasBeenSet =
false;
333 bool m_imageConfigHasBeenSet =
false;
334 bool m_modeHasBeenSet =
false;
335 bool m_modelDataUrlHasBeenSet =
false;
336 bool m_modelDataSourceHasBeenSet =
false;
337 bool m_additionalModelDataSourcesHasBeenSet =
false;
338 bool m_environmentHasBeenSet =
false;
339 bool m_modelPackageNameHasBeenSet =
false;
340 bool m_inferenceSpecificationNameHasBeenSet =
false;
341 bool m_multiModelConfigHasBeenSet =
false;
ContainerDefinition & WithContainerHostname(ContainerHostnameT &&value)
void SetInferenceSpecificationName(InferenceSpecificationNameT &&value)
const Aws::String & GetContainerHostname() const
void SetModelPackageName(ModelPackageNameT &&value)
bool ContainerHostnameHasBeenSet() const
AWS_SAGEMAKER_API ContainerDefinition(Aws::Utils::Json::JsonView jsonValue)
ContainerDefinition & WithModelPackageName(ModelPackageNameT &&value)
bool MultiModelConfigHasBeenSet() const
AWS_SAGEMAKER_API ContainerDefinition()=default
bool ImageHasBeenSet() const
void SetEnvironment(EnvironmentT &&value)
ContainerDefinition & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
void SetAdditionalModelDataSources(AdditionalModelDataSourcesT &&value)
const Aws::String & GetModelPackageName() const
void SetImageConfig(ImageConfigT &&value)
ContainerDefinition & WithModelDataSource(ModelDataSourceT &&value)
void SetModelDataUrl(ModelDataUrlT &&value)
ContainerDefinition & WithMode(ContainerMode value)
const Aws::String & GetInferenceSpecificationName() const
ContainerDefinition & WithAdditionalModelDataSources(AdditionalModelDataSourcesT &&value)
ContainerDefinition & AddAdditionalModelDataSources(AdditionalModelDataSourcesT &&value)
const MultiModelConfig & GetMultiModelConfig() const
const Aws::String & GetModelDataUrl() const
bool ImageConfigHasBeenSet() const
ContainerDefinition & WithInferenceSpecificationName(InferenceSpecificationNameT &&value)
bool AdditionalModelDataSourcesHasBeenSet() const
ContainerDefinition & WithEnvironment(EnvironmentT &&value)
void SetModelDataSource(ModelDataSourceT &&value)
bool ModelDataSourceHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ContainerDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InferenceSpecificationNameHasBeenSet() const
bool ModelPackageNameHasBeenSet() const
ContainerDefinition & WithMultiModelConfig(MultiModelConfigT &&value)
const ModelDataSource & GetModelDataSource() const
void SetContainerHostname(ContainerHostnameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
void SetImage(ImageT &&value)
ContainerDefinition & WithImage(ImageT &&value)
ContainerDefinition & WithImageConfig(ImageConfigT &&value)
const ImageConfig & GetImageConfig() const
bool ModelDataUrlHasBeenSet() const
bool EnvironmentHasBeenSet() const
ContainerDefinition & WithModelDataUrl(ModelDataUrlT &&value)
bool ModeHasBeenSet() const
void SetMultiModelConfig(MultiModelConfigT &&value)
ContainerMode GetMode() const
const Aws::String & GetImage() const
void SetMode(ContainerMode value)
const Aws::Vector< AdditionalModelDataSource > & GetAdditionalModelDataSources() const
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue