7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ContainerDefinition.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/InferenceExecutionConfig.h>
12#include <aws/sagemaker/model/VpcConfig.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/sagemaker/model/DeploymentRecommendation.h>
15#include <aws/sagemaker/model/Tag.h>
57 inline void SetModelName(
const char* value) { m_modelNameHasBeenSet =
true; m_modelName.assign(value); }
106 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
142 inline void SetModelArn(
const char* value) { m_modelArnHasBeenSet =
true; m_modelArn.assign(value); }
173 inline Model&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
174 inline Model&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
191 bool m_modelNameHasBeenSet =
false;
194 bool m_primaryContainerHasBeenSet =
false;
197 bool m_containersHasBeenSet =
false;
200 bool m_inferenceExecutionConfigHasBeenSet =
false;
203 bool m_executionRoleArnHasBeenSet =
false;
206 bool m_vpcConfigHasBeenSet =
false;
209 bool m_creationTimeHasBeenSet =
false;
212 bool m_modelArnHasBeenSet =
false;
214 bool m_enableNetworkIsolation;
215 bool m_enableNetworkIsolationHasBeenSet =
false;
218 bool m_tagsHasBeenSet =
false;
221 bool m_deploymentRecommendationHasBeenSet =
false;
bool VpcConfigHasBeenSet() const
Model & WithInferenceExecutionConfig(const InferenceExecutionConfig &value)
Model & WithVpcConfig(const VpcConfig &value)
Model & AddContainers(ContainerDefinition &&value)
const DeploymentRecommendation & GetDeploymentRecommendation() const
bool EnableNetworkIsolationHasBeenSet() const
bool GetEnableNetworkIsolation() const
const Aws::String & GetModelName() const
Model & WithContainers(Aws::Vector< ContainerDefinition > &&value)
Model & WithDeploymentRecommendation(DeploymentRecommendation &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
Model & AddTags(const Tag &value)
void SetModelArn(Aws::String &&value)
Model & WithModelArn(const char *value)
void SetContainers(const Aws::Vector< ContainerDefinition > &value)
Model & WithTags(Aws::Vector< Tag > &&value)
Model & WithContainers(const Aws::Vector< ContainerDefinition > &value)
bool InferenceExecutionConfigHasBeenSet() const
Model & WithTags(const Aws::Vector< Tag > &value)
void SetExecutionRoleArn(const char *value)
Model & WithModelName(Aws::String &&value)
void SetPrimaryContainer(ContainerDefinition &&value)
const Aws::Vector< ContainerDefinition > & GetContainers() const
Model & WithModelArn(const Aws::String &value)
void SetInferenceExecutionConfig(const InferenceExecutionConfig &value)
void SetPrimaryContainer(const ContainerDefinition &value)
void SetModelName(Aws::String &&value)
AWS_SAGEMAKER_API Model(Aws::Utils::Json::JsonView jsonValue)
bool CreationTimeHasBeenSet() const
void SetInferenceExecutionConfig(InferenceExecutionConfig &&value)
Model & WithDeploymentRecommendation(const DeploymentRecommendation &value)
void SetEnableNetworkIsolation(bool value)
void SetCreationTime(Aws::Utils::DateTime &&value)
Model & WithModelArn(Aws::String &&value)
bool PrimaryContainerHasBeenSet() const
void SetDeploymentRecommendation(const DeploymentRecommendation &value)
void SetVpcConfig(const VpcConfig &value)
Model & WithCreationTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTime() const
Model & WithExecutionRoleArn(Aws::String &&value)
void SetContainers(Aws::Vector< ContainerDefinition > &&value)
Model & WithEnableNetworkIsolation(bool value)
void SetExecutionRoleArn(const Aws::String &value)
Model & WithExecutionRoleArn(const char *value)
AWS_SAGEMAKER_API Model()
bool ModelNameHasBeenSet() const
void SetDeploymentRecommendation(DeploymentRecommendation &&value)
AWS_SAGEMAKER_API Model & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVpcConfig(VpcConfig &&value)
Model & WithModelName(const Aws::String &value)
Model & WithExecutionRoleArn(const Aws::String &value)
bool TagsHasBeenSet() const
bool ModelArnHasBeenSet() const
Model & AddContainers(const ContainerDefinition &value)
const Aws::String & GetExecutionRoleArn() const
void SetExecutionRoleArn(Aws::String &&value)
Model & WithModelName(const char *value)
const ContainerDefinition & GetPrimaryContainer() const
Model & WithCreationTime(Aws::Utils::DateTime &&value)
Model & WithInferenceExecutionConfig(InferenceExecutionConfig &&value)
const Aws::String & GetModelArn() const
void SetModelArn(const Aws::String &value)
Model & WithPrimaryContainer(ContainerDefinition &&value)
Model & WithPrimaryContainer(const ContainerDefinition &value)
bool ExecutionRoleArnHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetModelName(const Aws::String &value)
const VpcConfig & GetVpcConfig() const
const InferenceExecutionConfig & GetInferenceExecutionConfig() const
void SetTags(const Aws::Vector< Tag > &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool DeploymentRecommendationHasBeenSet() const
void SetModelName(const char *value)
Model & WithVpcConfig(VpcConfig &&value)
void SetModelArn(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
Model & AddTags(Tag &&value)
bool ContainersHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue