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/OptimizationJobModelSource.h>
11#include <aws/sagemaker/model/OptimizationJobDeploymentInstanceType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/sagemaker/model/OptimizationJobOutputConfig.h>
15#include <aws/sagemaker/model/StoppingCondition.h>
16#include <aws/sagemaker/model/OptimizationVpcConfig.h>
17#include <aws/sagemaker/model/OptimizationConfig.h>
18#include <aws/sagemaker/model/Tag.h>
54 inline void SetOptimizationJobName(
const char* value) { m_optimizationJobNameHasBeenSet =
true; m_optimizationJobName.assign(value); }
78 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
197 bool m_optimizationJobNameHasBeenSet =
false;
200 bool m_roleArnHasBeenSet =
false;
203 bool m_modelSourceHasBeenSet =
false;
206 bool m_deploymentInstanceTypeHasBeenSet =
false;
209 bool m_optimizationEnvironmentHasBeenSet =
false;
212 bool m_optimizationConfigsHasBeenSet =
false;
215 bool m_outputConfigHasBeenSet =
false;
218 bool m_stoppingConditionHasBeenSet =
false;
221 bool m_tagsHasBeenSet =
false;
224 bool m_vpcConfigHasBeenSet =
false;
bool RoleArnHasBeenSet() const
CreateOptimizationJobRequest & AddTags(Tag &&value)
void SetOptimizationJobName(const Aws::String &value)
CreateOptimizationJobRequest & WithOptimizationJobName(const char *value)
const Aws::Vector< OptimizationConfig > & GetOptimizationConfigs() const
CreateOptimizationJobRequest & WithOutputConfig(OptimizationJobOutputConfig &&value)
void SetOutputConfig(OptimizationJobOutputConfig &&value)
bool DeploymentInstanceTypeHasBeenSet() const
CreateOptimizationJobRequest & WithOptimizationEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetOptimizationEnvironment() const
CreateOptimizationJobRequest & AddOptimizationEnvironment(Aws::String &&key, const char *value)
void SetOptimizationEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateOptimizationJobRequest & AddOptimizationEnvironment(const Aws::String &key, const Aws::String &value)
const OptimizationJobModelSource & GetModelSource() const
bool OutputConfigHasBeenSet() const
CreateOptimizationJobRequest & WithStoppingCondition(StoppingCondition &&value)
CreateOptimizationJobRequest & WithDeploymentInstanceType(const OptimizationJobDeploymentInstanceType &value)
void SetVpcConfig(const OptimizationVpcConfig &value)
bool ModelSourceHasBeenSet() const
CreateOptimizationJobRequest & WithOutputConfig(const OptimizationJobOutputConfig &value)
const StoppingCondition & GetStoppingCondition() const
bool OptimizationConfigsHasBeenSet() const
const OptimizationJobDeploymentInstanceType & GetDeploymentInstanceType() const
bool TagsHasBeenSet() const
CreateOptimizationJobRequest & WithRoleArn(const Aws::String &value)
CreateOptimizationJobRequest & AddOptimizationEnvironment(const Aws::String &key, Aws::String &&value)
void SetOptimizationJobName(const char *value)
void SetDeploymentInstanceType(const OptimizationJobDeploymentInstanceType &value)
void SetStoppingCondition(StoppingCondition &&value)
bool VpcConfigHasBeenSet() const
CreateOptimizationJobRequest & AddTags(const Tag &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetStoppingCondition(const StoppingCondition &value)
CreateOptimizationJobRequest & WithTags(Aws::Vector< Tag > &&value)
CreateOptimizationJobRequest & AddOptimizationEnvironment(Aws::String &&key, const Aws::String &value)
void SetOptimizationJobName(Aws::String &&value)
CreateOptimizationJobRequest & WithRoleArn(Aws::String &&value)
CreateOptimizationJobRequest & WithStoppingCondition(const StoppingCondition &value)
CreateOptimizationJobRequest & WithVpcConfig(OptimizationVpcConfig &&value)
CreateOptimizationJobRequest & AddOptimizationEnvironment(const char *key, const char *value)
CreateOptimizationJobRequest & WithModelSource(OptimizationJobModelSource &&value)
CreateOptimizationJobRequest & WithModelSource(const OptimizationJobModelSource &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const Aws::String & GetOptimizationJobName() const
CreateOptimizationJobRequest & WithOptimizationJobName(const Aws::String &value)
CreateOptimizationJobRequest & WithOptimizationJobName(Aws::String &&value)
const OptimizationVpcConfig & GetVpcConfig() const
bool StoppingConditionHasBeenSet() const
bool OptimizationJobNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateOptimizationJobRequest & AddOptimizationEnvironment(Aws::String &&key, Aws::String &&value)
CreateOptimizationJobRequest & AddOptimizationConfigs(OptimizationConfig &&value)
void SetRoleArn(Aws::String &&value)
const OptimizationJobOutputConfig & GetOutputConfig() const
CreateOptimizationJobRequest & WithOptimizationEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
void SetOptimizationConfigs(const Aws::Vector< OptimizationConfig > &value)
bool OptimizationEnvironmentHasBeenSet() const
CreateOptimizationJobRequest & WithRoleArn(const char *value)
CreateOptimizationJobRequest & WithOptimizationConfigs(const Aws::Vector< OptimizationConfig > &value)
void SetModelSource(const OptimizationJobModelSource &value)
void SetOutputConfig(const OptimizationJobOutputConfig &value)
CreateOptimizationJobRequest & WithDeploymentInstanceType(OptimizationJobDeploymentInstanceType &&value)
CreateOptimizationJobRequest & WithOptimizationConfigs(Aws::Vector< OptimizationConfig > &&value)
void SetOptimizationEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
void SetDeploymentInstanceType(OptimizationJobDeploymentInstanceType &&value)
void SetModelSource(OptimizationJobModelSource &&value)
CreateOptimizationJobRequest & AddOptimizationConfigs(const OptimizationConfig &value)
const Aws::Vector< Tag > & GetTags() const
void SetTags(Aws::Vector< Tag > &&value)
CreateOptimizationJobRequest & AddOptimizationEnvironment(const char *key, Aws::String &&value)
CreateOptimizationJobRequest & WithVpcConfig(const OptimizationVpcConfig &value)
CreateOptimizationJobRequest & WithTags(const Aws::Vector< Tag > &value)
void SetVpcConfig(OptimizationVpcConfig &&value)
void SetRoleArn(const Aws::String &value)
const Aws::String & GetRoleArn() const
void SetRoleArn(const char *value)
AWS_SAGEMAKER_API CreateOptimizationJobRequest()
void SetOptimizationConfigs(Aws::Vector< OptimizationConfig > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
OptimizationJobDeploymentInstanceType
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