7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ModelDataSource.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/sagemaker/model/ModelInput.h>
12#include <aws/sagemaker/model/AdditionalS3DataSource.h>
53 inline void SetContainerHostname(
const char* value) { m_containerHostnameHasBeenSet =
true; m_containerHostname.assign(value); }
74 inline void SetImage(
const char* value) { m_imageHasBeenSet =
true; m_image.assign(value); }
89 inline void SetImageDigest(
const char* value) { m_imageDigestHasBeenSet =
true; m_imageDigest.assign(value); }
107 inline void SetModelDataUrl(
const char* value) { m_modelDataUrlHasBeenSet =
true; m_modelDataUrl.assign(value); }
134 inline void SetProductId(
const char* value) { m_productIdHasBeenSet =
true; m_productId.assign(value); }
181 inline void SetFramework(
const char* value) { m_frameworkHasBeenSet =
true; m_framework.assign(value); }
195 inline void SetFrameworkVersion(
const char* value) { m_frameworkVersionHasBeenSet =
true; m_frameworkVersion.assign(value); }
211 inline void SetNearestModelName(
const char* value) { m_nearestModelNameHasBeenSet =
true; m_nearestModelName.assign(value); }
232 bool m_containerHostnameHasBeenSet =
false;
235 bool m_imageHasBeenSet =
false;
238 bool m_imageDigestHasBeenSet =
false;
241 bool m_modelDataUrlHasBeenSet =
false;
244 bool m_modelDataSourceHasBeenSet =
false;
247 bool m_productIdHasBeenSet =
false;
250 bool m_environmentHasBeenSet =
false;
253 bool m_modelInputHasBeenSet =
false;
256 bool m_frameworkHasBeenSet =
false;
259 bool m_frameworkVersionHasBeenSet =
false;
262 bool m_nearestModelNameHasBeenSet =
false;
265 bool m_additionalS3DataSourceHasBeenSet =
false;
ModelPackageContainerDefinition & WithProductId(const Aws::String &value)
ModelPackageContainerDefinition & WithContainerHostname(const char *value)
void SetFramework(Aws::String &&value)
ModelPackageContainerDefinition & WithProductId(const char *value)
const Aws::String & GetFrameworkVersion() const
bool NearestModelNameHasBeenSet() const
void SetImage(const Aws::String &value)
const Aws::String & GetImage() const
ModelPackageContainerDefinition & WithModelInput(ModelInput &&value)
ModelPackageContainerDefinition & WithFrameworkVersion(Aws::String &&value)
void SetModelInput(const ModelInput &value)
ModelPackageContainerDefinition & WithFrameworkVersion(const char *value)
void SetImageDigest(Aws::String &&value)
ModelPackageContainerDefinition & WithContainerHostname(Aws::String &&value)
void SetModelInput(ModelInput &&value)
bool FrameworkHasBeenSet() const
void SetFramework(const Aws::String &value)
ModelPackageContainerDefinition & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
bool ImageDigestHasBeenSet() const
bool ModelDataSourceHasBeenSet() const
AWS_SAGEMAKER_API ModelPackageContainerDefinition(Aws::Utils::Json::JsonView jsonValue)
const ModelDataSource & GetModelDataSource() const
ModelPackageContainerDefinition & WithImage(const Aws::String &value)
void SetProductId(Aws::String &&value)
void SetNearestModelName(const char *value)
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
ModelPackageContainerDefinition & WithImage(const char *value)
void SetContainerHostname(const Aws::String &value)
void SetContainerHostname(Aws::String &&value)
const Aws::String & GetFramework() const
ModelPackageContainerDefinition & WithFrameworkVersion(const Aws::String &value)
void SetModelDataUrl(Aws::String &&value)
const Aws::String & GetContainerHostname() const
ModelPackageContainerDefinition & WithModelDataSource(ModelDataSource &&value)
const Aws::String & GetModelDataUrl() const
ModelPackageContainerDefinition & AddEnvironment(const char *key, const char *value)
void SetFrameworkVersion(Aws::String &&value)
ModelPackageContainerDefinition & WithNearestModelName(Aws::String &&value)
void SetProductId(const char *value)
void SetAdditionalS3DataSource(AdditionalS3DataSource &&value)
ModelPackageContainerDefinition & WithNearestModelName(const char *value)
void SetImage(Aws::String &&value)
ModelPackageContainerDefinition & WithModelDataUrl(const char *value)
bool AdditionalS3DataSourceHasBeenSet() const
void SetContainerHostname(const char *value)
ModelPackageContainerDefinition & WithModelInput(const ModelInput &value)
void SetModelDataUrl(const Aws::String &value)
bool ModelInputHasBeenSet() const
void SetFrameworkVersion(const char *value)
bool FrameworkVersionHasBeenSet() const
void SetImageDigest(const Aws::String &value)
void SetModelDataUrl(const char *value)
ModelPackageContainerDefinition & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
const ModelInput & GetModelInput() const
void SetNearestModelName(const Aws::String &value)
ModelPackageContainerDefinition & WithAdditionalS3DataSource(AdditionalS3DataSource &&value)
ModelPackageContainerDefinition & AddEnvironment(const Aws::String &key, Aws::String &&value)
ModelPackageContainerDefinition & WithNearestModelName(const Aws::String &value)
ModelPackageContainerDefinition & AddEnvironment(const Aws::String &key, const Aws::String &value)
ModelPackageContainerDefinition & WithFramework(const Aws::String &value)
ModelPackageContainerDefinition & WithContainerHostname(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ProductIdHasBeenSet() const
ModelPackageContainerDefinition & WithFramework(Aws::String &&value)
bool ModelDataUrlHasBeenSet() const
void SetImage(const char *value)
ModelPackageContainerDefinition & AddEnvironment(const char *key, Aws::String &&value)
bool ImageHasBeenSet() const
const Aws::String & GetProductId() const
ModelPackageContainerDefinition & WithImageDigest(const Aws::String &value)
void SetNearestModelName(Aws::String &&value)
AWS_SAGEMAKER_API ModelPackageContainerDefinition()
ModelPackageContainerDefinition & AddEnvironment(Aws::String &&key, const char *value)
AWS_SAGEMAKER_API ModelPackageContainerDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelPackageContainerDefinition & AddEnvironment(Aws::String &&key, Aws::String &&value)
ModelPackageContainerDefinition & WithFramework(const char *value)
ModelPackageContainerDefinition & WithImageDigest(Aws::String &&value)
ModelPackageContainerDefinition & WithModelDataUrl(Aws::String &&value)
const Aws::String & GetNearestModelName() const
bool EnvironmentHasBeenSet() const
void SetModelDataSource(const ModelDataSource &value)
void SetFramework(const char *value)
ModelPackageContainerDefinition & WithAdditionalS3DataSource(const AdditionalS3DataSource &value)
const AdditionalS3DataSource & GetAdditionalS3DataSource() const
ModelPackageContainerDefinition & WithProductId(Aws::String &&value)
ModelPackageContainerDefinition & WithModelDataSource(const ModelDataSource &value)
void SetFrameworkVersion(const Aws::String &value)
bool ContainerHostnameHasBeenSet() const
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
void SetModelDataSource(ModelDataSource &&value)
ModelPackageContainerDefinition & WithModelDataUrl(const Aws::String &value)
ModelPackageContainerDefinition & WithImageDigest(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
void SetProductId(const Aws::String &value)
ModelPackageContainerDefinition & AddEnvironment(Aws::String &&key, const Aws::String &value)
void SetAdditionalS3DataSource(const AdditionalS3DataSource &value)
const Aws::String & GetImageDigest() const
ModelPackageContainerDefinition & WithImage(Aws::String &&value)
void SetImageDigest(const char *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