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/InferenceExperimentType.h>
11#include <aws/sagemaker/model/InferenceExperimentSchedule.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/sagemaker/model/InferenceExperimentDataStorageConfig.h>
14#include <aws/sagemaker/model/ShadowModeConfig.h>
15#include <aws/sagemaker/model/ModelVariantConfig.h>
16#include <aws/sagemaker/model/Tag.h>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
96 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
112 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
127 inline void SetEndpointName(
const char* value) { m_endpointNameHasBeenSet =
true; m_endpointName.assign(value); }
217 inline void SetKmsKey(
const char* value) { m_kmsKeyHasBeenSet =
true; m_kmsKey.assign(value); }
243 bool m_nameHasBeenSet =
false;
246 bool m_typeHasBeenSet =
false;
249 bool m_scheduleHasBeenSet =
false;
252 bool m_descriptionHasBeenSet =
false;
255 bool m_roleArnHasBeenSet =
false;
258 bool m_endpointNameHasBeenSet =
false;
261 bool m_modelVariantsHasBeenSet =
false;
264 bool m_dataStorageConfigHasBeenSet =
false;
267 bool m_shadowModeConfigHasBeenSet =
false;
270 bool m_kmsKeyHasBeenSet =
false;
273 bool m_tagsHasBeenSet =
false;
CreateInferenceExperimentRequest & AddTags(const Tag &value)
CreateInferenceExperimentRequest & AddTags(Tag &&value)
CreateInferenceExperimentRequest & WithShadowModeConfig(ShadowModeConfig &&value)
void SetModelVariants(const Aws::Vector< ModelVariantConfig > &value)
void SetShadowModeConfig(const ShadowModeConfig &value)
CreateInferenceExperimentRequest & WithDescription(const Aws::String &value)
CreateInferenceExperimentRequest & WithDescription(Aws::String &&value)
CreateInferenceExperimentRequest & WithRoleArn(const char *value)
const Aws::Vector< ModelVariantConfig > & GetModelVariants() const
void SetRoleArn(const char *value)
const ShadowModeConfig & GetShadowModeConfig() const
void SetName(const char *value)
bool TypeHasBeenSet() const
CreateInferenceExperimentRequest & WithName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateInferenceExperimentRequest & WithEndpointName(Aws::String &&value)
CreateInferenceExperimentRequest & WithSchedule(const InferenceExperimentSchedule &value)
void SetEndpointName(const Aws::String &value)
CreateInferenceExperimentRequest & WithSchedule(InferenceExperimentSchedule &&value)
const InferenceExperimentType & GetType() const
bool ShadowModeConfigHasBeenSet() const
CreateInferenceExperimentRequest & AddModelVariants(const ModelVariantConfig &value)
CreateInferenceExperimentRequest & WithModelVariants(const Aws::Vector< ModelVariantConfig > &value)
CreateInferenceExperimentRequest & WithDataStorageConfig(const InferenceExperimentDataStorageConfig &value)
CreateInferenceExperimentRequest & WithType(InferenceExperimentType &&value)
void SetDataStorageConfig(const InferenceExperimentDataStorageConfig &value)
void SetRoleArn(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateInferenceExperimentRequest & WithType(const InferenceExperimentType &value)
bool NameHasBeenSet() const
const InferenceExperimentSchedule & GetSchedule() const
bool ModelVariantsHasBeenSet() const
void SetKmsKey(const Aws::String &value)
void SetModelVariants(Aws::Vector< ModelVariantConfig > &&value)
bool KmsKeyHasBeenSet() const
CreateInferenceExperimentRequest & WithEndpointName(const char *value)
AWS_SAGEMAKER_API CreateInferenceExperimentRequest()
const Aws::String & GetKmsKey() const
void SetTags(Aws::Vector< Tag > &&value)
void SetSchedule(const InferenceExperimentSchedule &value)
CreateInferenceExperimentRequest & WithShadowModeConfig(const ShadowModeConfig &value)
bool RoleArnHasBeenSet() const
bool TagsHasBeenSet() const
CreateInferenceExperimentRequest & WithRoleArn(const Aws::String &value)
const Aws::String & GetRoleArn() const
bool EndpointNameHasBeenSet() const
void SetEndpointName(const char *value)
CreateInferenceExperimentRequest & WithDataStorageConfig(InferenceExperimentDataStorageConfig &&value)
void SetSchedule(InferenceExperimentSchedule &&value)
CreateInferenceExperimentRequest & WithRoleArn(Aws::String &&value)
void SetType(const InferenceExperimentType &value)
void SetDescription(const char *value)
bool DataStorageConfigHasBeenSet() const
const Aws::String & GetName() const
void SetType(InferenceExperimentType &&value)
CreateInferenceExperimentRequest & AddModelVariants(ModelVariantConfig &&value)
CreateInferenceExperimentRequest & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
void SetRoleArn(Aws::String &&value)
void SetDataStorageConfig(InferenceExperimentDataStorageConfig &&value)
bool ScheduleHasBeenSet() const
void SetName(Aws::String &&value)
CreateInferenceExperimentRequest & WithModelVariants(Aws::Vector< ModelVariantConfig > &&value)
CreateInferenceExperimentRequest & WithEndpointName(const Aws::String &value)
const Aws::String & GetEndpointName() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
CreateInferenceExperimentRequest & WithKmsKey(const Aws::String &value)
void SetEndpointName(Aws::String &&value)
CreateInferenceExperimentRequest & WithDescription(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateInferenceExperimentRequest & WithKmsKey(Aws::String &&value)
void SetShadowModeConfig(ShadowModeConfig &&value)
void SetDescription(const Aws::String &value)
void SetDescription(Aws::String &&value)
CreateInferenceExperimentRequest & WithName(const char *value)
CreateInferenceExperimentRequest & WithKmsKey(const char *value)
const InferenceExperimentDataStorageConfig & GetDataStorageConfig() const
CreateInferenceExperimentRequest & WithTags(Aws::Vector< Tag > &&value)
void SetKmsKey(const char *value)
void SetKmsKey(Aws::String &&value)
CreateInferenceExperimentRequest & WithTags(const Aws::Vector< Tag > &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