7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ImageConfig.h>
10#include <aws/sagemaker/model/ContainerMode.h>
11#include <aws/sagemaker/model/ModelDataSource.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/sagemaker/model/MultiModelConfig.h>
15#include <aws/sagemaker/model/AdditionalModelDataSource.h>
68 inline void SetContainerHostname(
const char* value) { m_containerHostnameHasBeenSet =
true; m_containerHostname.assign(value); }
94 inline void SetImage(
const char* value) { m_imageHasBeenSet =
true; m_image.assign(value); }
157 inline void SetModelDataUrl(
const char* value) { m_modelDataUrlHasBeenSet =
true; m_modelDataUrl.assign(value); }
227 inline void SetModelPackageName(
const char* value) { m_modelPackageNameHasBeenSet =
true; m_modelPackageName.assign(value); }
261 bool m_containerHostnameHasBeenSet =
false;
264 bool m_imageHasBeenSet =
false;
267 bool m_imageConfigHasBeenSet =
false;
270 bool m_modeHasBeenSet =
false;
273 bool m_modelDataUrlHasBeenSet =
false;
276 bool m_modelDataSourceHasBeenSet =
false;
279 bool m_additionalModelDataSourcesHasBeenSet =
false;
282 bool m_environmentHasBeenSet =
false;
285 bool m_modelPackageNameHasBeenSet =
false;
288 bool m_inferenceSpecificationNameHasBeenSet =
false;
291 bool m_multiModelConfigHasBeenSet =
false;
const Aws::String & GetContainerHostname() const
ContainerDefinition & WithContainerHostname(const char *value)
ContainerDefinition & AddAdditionalModelDataSources(AdditionalModelDataSource &&value)
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
ContainerDefinition & WithMultiModelConfig(MultiModelConfig &&value)
void SetModelPackageName(const Aws::String &value)
void SetModelDataUrl(const Aws::String &value)
bool ContainerHostnameHasBeenSet() const
AWS_SAGEMAKER_API ContainerDefinition(Aws::Utils::Json::JsonView jsonValue)
bool MultiModelConfigHasBeenSet() const
bool ImageHasBeenSet() const
void SetImage(const char *value)
ContainerDefinition & WithContainerHostname(Aws::String &&value)
void SetModelPackageName(const char *value)
ContainerDefinition & WithContainerHostname(const Aws::String &value)
ContainerDefinition & WithModelDataUrl(Aws::String &&value)
const Aws::String & GetModelPackageName() const
ContainerDefinition & WithMode(const ContainerMode &value)
void SetInferenceSpecificationName(const char *value)
ContainerDefinition & WithMode(ContainerMode &&value)
void SetModelDataUrl(const char *value)
ContainerDefinition & WithImage(const char *value)
ContainerDefinition & WithInferenceSpecificationName(const Aws::String &value)
void SetContainerHostname(const Aws::String &value)
void SetImage(const Aws::String &value)
const Aws::String & GetInferenceSpecificationName() const
ContainerDefinition & WithAdditionalModelDataSources(const Aws::Vector< AdditionalModelDataSource > &value)
ContainerDefinition & AddEnvironment(const Aws::String &key, const Aws::String &value)
void SetModelDataSource(ModelDataSource &&value)
ContainerDefinition & AddEnvironment(const Aws::String &key, Aws::String &&value)
ContainerDefinition & WithModelPackageName(const Aws::String &value)
ContainerDefinition & WithModelDataUrl(const char *value)
ContainerDefinition & WithImage(const Aws::String &value)
void SetImageConfig(const ImageConfig &value)
const MultiModelConfig & GetMultiModelConfig() const
ContainerDefinition & AddEnvironment(Aws::String &&key, Aws::String &&value)
void SetInferenceSpecificationName(Aws::String &&value)
const Aws::String & GetModelDataUrl() const
ContainerDefinition & AddEnvironment(const char *key, const char *value)
ContainerDefinition & AddEnvironment(Aws::String &&key, const Aws::String &value)
bool ImageConfigHasBeenSet() const
bool AdditionalModelDataSourcesHasBeenSet() const
ContainerDefinition & WithImage(Aws::String &&value)
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
ContainerDefinition & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
void SetModelDataSource(const ModelDataSource &value)
void SetContainerHostname(const char *value)
ContainerDefinition & WithModelDataUrl(const Aws::String &value)
ContainerDefinition & WithMultiModelConfig(const MultiModelConfig &value)
void SetAdditionalModelDataSources(Aws::Vector< AdditionalModelDataSource > &&value)
ContainerDefinition & WithImageConfig(const ImageConfig &value)
bool ModelDataSourceHasBeenSet() const
ContainerDefinition & WithInferenceSpecificationName(const char *value)
void SetAdditionalModelDataSources(const Aws::Vector< AdditionalModelDataSource > &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerDefinition & AddEnvironment(const char *key, Aws::String &&value)
void SetContainerHostname(Aws::String &&value)
ContainerDefinition & WithModelDataSource(const ModelDataSource &value)
ContainerDefinition & AddAdditionalModelDataSources(const AdditionalModelDataSource &value)
AWS_SAGEMAKER_API ContainerDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetModelPackageName(Aws::String &&value)
void SetImage(Aws::String &&value)
ContainerDefinition & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
void SetMultiModelConfig(const MultiModelConfig &value)
void SetMode(const ContainerMode &value)
bool InferenceSpecificationNameHasBeenSet() const
bool ModelPackageNameHasBeenSet() const
ContainerDefinition & WithModelPackageName(Aws::String &&value)
const ModelDataSource & GetModelDataSource() const
void SetMode(ContainerMode &&value)
void SetImageConfig(ImageConfig &&value)
ContainerDefinition & WithModelDataSource(ModelDataSource &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
ContainerDefinition & WithInferenceSpecificationName(Aws::String &&value)
void SetModelDataUrl(Aws::String &&value)
const ImageConfig & GetImageConfig() const
void SetMultiModelConfig(MultiModelConfig &&value)
bool ModelDataUrlHasBeenSet() const
bool EnvironmentHasBeenSet() const
ContainerDefinition & AddEnvironment(Aws::String &&key, const char *value)
AWS_SAGEMAKER_API ContainerDefinition()
bool ModeHasBeenSet() const
const Aws::String & GetImage() const
const ContainerMode & GetMode() const
ContainerDefinition & WithModelPackageName(const char *value)
ContainerDefinition & WithImageConfig(ImageConfig &&value)
void SetInferenceSpecificationName(const Aws::String &value)
const Aws::Vector< AdditionalModelDataSource > & GetAdditionalModelDataSources() const
ContainerDefinition & WithAdditionalModelDataSources(Aws::Vector< AdditionalModelDataSource > &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue