7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/ContainerDefinition.h>
12#include <aws/sagemaker/model/InferenceExecutionConfig.h>
13#include <aws/sagemaker/model/Tag.h>
14#include <aws/sagemaker/model/VpcConfig.h>
44 template <
typename ModelNameT = Aws::String>
46 m_modelNameHasBeenSet =
true;
47 m_modelName = std::forward<ModelNameT>(value);
49 template <
typename ModelNameT = Aws::String>
64 template <
typename PrimaryContainerT = ContainerDefinition>
66 m_primaryContainerHasBeenSet =
true;
67 m_primaryContainer = std::forward<PrimaryContainerT>(value);
69 template <
typename PrimaryContainerT = ContainerDefinition>
82 template <
typename ContainersT = Aws::Vector<ContainerDefinition>>
84 m_containersHasBeenSet =
true;
85 m_containers = std::forward<ContainersT>(value);
87 template <
typename ContainersT = Aws::Vector<ContainerDefinition>>
92 template <
typename ContainersT = ContainerDefinition>
94 m_containersHasBeenSet =
true;
95 m_containers.emplace_back(std::forward<ContainersT>(value));
107 template <
typename InferenceExecutionConfigT = InferenceExecutionConfig>
109 m_inferenceExecutionConfigHasBeenSet =
true;
110 m_inferenceExecutionConfig = std::forward<InferenceExecutionConfigT>(value);
112 template <
typename InferenceExecutionConfigT = InferenceExecutionConfig>
131 template <
typename ExecutionRoleArnT = Aws::String>
133 m_executionRoleArnHasBeenSet =
true;
134 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
136 template <
typename ExecutionRoleArnT = Aws::String>
153 template <
typename TagsT = Aws::Vector<Tag>>
155 m_tagsHasBeenSet =
true;
156 m_tags = std::forward<TagsT>(value);
158 template <
typename TagsT = Aws::Vector<Tag>>
160 SetTags(std::forward<TagsT>(value));
163 template <
typename TagsT = Tag>
165 m_tagsHasBeenSet =
true;
166 m_tags.emplace_back(std::forward<TagsT>(value));
186 template <
typename VpcConfigT = VpcConfig>
188 m_vpcConfigHasBeenSet =
true;
189 m_vpcConfig = std::forward<VpcConfigT>(value);
191 template <
typename VpcConfigT = VpcConfig>
206 m_enableNetworkIsolationHasBeenSet =
true;
207 m_enableNetworkIsolation = value;
229 bool m_enableNetworkIsolation{
false};
230 bool m_modelNameHasBeenSet =
false;
231 bool m_primaryContainerHasBeenSet =
false;
232 bool m_containersHasBeenSet =
false;
233 bool m_inferenceExecutionConfigHasBeenSet =
false;
234 bool m_executionRoleArnHasBeenSet =
false;
235 bool m_tagsHasBeenSet =
false;
236 bool m_vpcConfigHasBeenSet =
false;
237 bool m_enableNetworkIsolationHasBeenSet =
false;
const ContainerDefinition & GetPrimaryContainer() const
const VpcConfig & GetVpcConfig() const
CreateModelRequest & AddContainers(ContainersT &&value)
CreateModelRequest & WithPrimaryContainer(PrimaryContainerT &&value)
bool ModelNameHasBeenSet() const
bool TagsHasBeenSet() const
bool ExecutionRoleArnHasBeenSet() const
const Aws::Vector< ContainerDefinition > & GetContainers() const
bool GetEnableNetworkIsolation() const
void SetInferenceExecutionConfig(InferenceExecutionConfigT &&value)
bool EnableNetworkIsolationHasBeenSet() const
CreateModelRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
bool PrimaryContainerHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetModelName() const
CreateModelRequest & WithTags(TagsT &&value)
void SetModelName(ModelNameT &&value)
CreateModelRequest & WithInferenceExecutionConfig(InferenceExecutionConfigT &&value)
void SetTags(TagsT &&value)
CreateModelRequest & AddTags(TagsT &&value)
bool InferenceExecutionConfigHasBeenSet() const
bool ContainersHasBeenSet() const
CreateModelRequest & WithContainers(ContainersT &&value)
const Aws::String & GetExecutionRoleArn() const
CreateModelRequest & WithEnableNetworkIsolation(bool value)
virtual const char * GetServiceRequestName() const override
void SetVpcConfig(VpcConfigT &&value)
void SetPrimaryContainer(PrimaryContainerT &&value)
CreateModelRequest & WithVpcConfig(VpcConfigT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
const InferenceExecutionConfig & GetInferenceExecutionConfig() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API CreateModelRequest()=default
void SetContainers(ContainersT &&value)
void SetEnableNetworkIsolation(bool value)
CreateModelRequest & WithModelName(ModelNameT &&value)
bool VpcConfigHasBeenSet() const
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