7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/ContainerDefinition.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/InferenceExecutionConfig.h>
13#include <aws/sagemaker/model/VpcConfig.h>
14#include <aws/sagemaker/model/Tag.h>
50 inline void SetModelName(
const char* value) { m_modelNameHasBeenSet =
true; m_modelName.assign(value); }
111 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
169 bool m_modelNameHasBeenSet =
false;
172 bool m_primaryContainerHasBeenSet =
false;
175 bool m_containersHasBeenSet =
false;
178 bool m_inferenceExecutionConfigHasBeenSet =
false;
181 bool m_executionRoleArnHasBeenSet =
false;
184 bool m_tagsHasBeenSet =
false;
187 bool m_vpcConfigHasBeenSet =
false;
189 bool m_enableNetworkIsolation;
190 bool m_enableNetworkIsolationHasBeenSet =
false;
CreateModelRequest & WithInferenceExecutionConfig(const InferenceExecutionConfig &value)
const ContainerDefinition & GetPrimaryContainer() const
const VpcConfig & GetVpcConfig() const
CreateModelRequest & AddContainers(ContainerDefinition &&value)
CreateModelRequest & WithVpcConfig(const VpcConfig &value)
void SetModelName(const char *value)
void SetVpcConfig(VpcConfig &&value)
bool ModelNameHasBeenSet() const
CreateModelRequest & WithPrimaryContainer(ContainerDefinition &&value)
CreateModelRequest & WithContainers(Aws::Vector< ContainerDefinition > &&value)
CreateModelRequest & WithModelName(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
bool TagsHasBeenSet() const
bool ExecutionRoleArnHasBeenSet() const
const Aws::Vector< ContainerDefinition > & GetContainers() const
CreateModelRequest & WithContainers(const Aws::Vector< ContainerDefinition > &value)
void SetVpcConfig(const VpcConfig &value)
void SetModelName(const Aws::String &value)
CreateModelRequest & WithVpcConfig(VpcConfig &&value)
bool GetEnableNetworkIsolation() const
bool EnableNetworkIsolationHasBeenSet() const
CreateModelRequest & WithExecutionRoleArn(const char *value)
CreateModelRequest & WithModelName(const char *value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
bool PrimaryContainerHasBeenSet() const
CreateModelRequest & WithTags(const Aws::Vector< Tag > &value)
CreateModelRequest & AddTags(const Tag &value)
void SetContainers(Aws::Vector< ContainerDefinition > &&value)
void SetExecutionRoleArn(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetModelName() const
void SetPrimaryContainer(const ContainerDefinition &value)
void SetExecutionRoleArn(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetModelName(Aws::String &&value)
void SetInferenceExecutionConfig(const InferenceExecutionConfig &value)
void SetContainers(const Aws::Vector< ContainerDefinition > &value)
void SetInferenceExecutionConfig(InferenceExecutionConfig &&value)
CreateModelRequest & WithExecutionRoleArn(const Aws::String &value)
AWS_SAGEMAKER_API CreateModelRequest()
void SetExecutionRoleArn(const char *value)
CreateModelRequest & AddTags(Tag &&value)
CreateModelRequest & WithExecutionRoleArn(Aws::String &&value)
bool InferenceExecutionConfigHasBeenSet() const
bool ContainersHasBeenSet() const
CreateModelRequest & AddContainers(const ContainerDefinition &value)
const Aws::String & GetExecutionRoleArn() const
CreateModelRequest & WithEnableNetworkIsolation(bool value)
virtual const char * GetServiceRequestName() const override
CreateModelRequest & WithTags(Aws::Vector< Tag > &&value)
const InferenceExecutionConfig & GetInferenceExecutionConfig() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateModelRequest & WithModelName(Aws::String &&value)
CreateModelRequest & WithPrimaryContainer(const ContainerDefinition &value)
void SetEnableNetworkIsolation(bool value)
void SetPrimaryContainer(ContainerDefinition &&value)
bool VpcConfigHasBeenSet() const
CreateModelRequest & WithInferenceExecutionConfig(InferenceExecutionConfig &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector