/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the deployment options of a model.See
* Also:
AWS
* API Reference
The name of the Amazon SageMaker Model entity.
*/ inline const Aws::String& GetModelName() const{ return m_modelName; } /** *The name of the Amazon SageMaker Model entity.
*/ inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; } /** *The name of the Amazon SageMaker Model entity.
*/ inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; } /** *The name of the Amazon SageMaker Model entity.
*/ inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); } /** *The name of the Amazon SageMaker Model entity.
*/ inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); } /** *The name of the Amazon SageMaker Model entity.
*/ inline ModelVariantConfig& WithModelName(const Aws::String& value) { SetModelName(value); return *this;} /** *The name of the Amazon SageMaker Model entity.
*/ inline ModelVariantConfig& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;} /** *The name of the Amazon SageMaker Model entity.
*/ inline ModelVariantConfig& WithModelName(const char* value) { SetModelName(value); return *this;} /** *The name of the variant.
*/ inline const Aws::String& GetVariantName() const{ return m_variantName; } /** *The name of the variant.
*/ inline bool VariantNameHasBeenSet() const { return m_variantNameHasBeenSet; } /** *The name of the variant.
*/ inline void SetVariantName(const Aws::String& value) { m_variantNameHasBeenSet = true; m_variantName = value; } /** *The name of the variant.
*/ inline void SetVariantName(Aws::String&& value) { m_variantNameHasBeenSet = true; m_variantName = std::move(value); } /** *The name of the variant.
*/ inline void SetVariantName(const char* value) { m_variantNameHasBeenSet = true; m_variantName.assign(value); } /** *The name of the variant.
*/ inline ModelVariantConfig& WithVariantName(const Aws::String& value) { SetVariantName(value); return *this;} /** *The name of the variant.
*/ inline ModelVariantConfig& WithVariantName(Aws::String&& value) { SetVariantName(std::move(value)); return *this;} /** *The name of the variant.
*/ inline ModelVariantConfig& WithVariantName(const char* value) { SetVariantName(value); return *this;} /** *The configuration for the infrastructure that the model will be deployed * to.
*/ inline const ModelInfrastructureConfig& GetInfrastructureConfig() const{ return m_infrastructureConfig; } /** *The configuration for the infrastructure that the model will be deployed * to.
*/ inline bool InfrastructureConfigHasBeenSet() const { return m_infrastructureConfigHasBeenSet; } /** *The configuration for the infrastructure that the model will be deployed * to.
*/ inline void SetInfrastructureConfig(const ModelInfrastructureConfig& value) { m_infrastructureConfigHasBeenSet = true; m_infrastructureConfig = value; } /** *The configuration for the infrastructure that the model will be deployed * to.
*/ inline void SetInfrastructureConfig(ModelInfrastructureConfig&& value) { m_infrastructureConfigHasBeenSet = true; m_infrastructureConfig = std::move(value); } /** *The configuration for the infrastructure that the model will be deployed * to.
*/ inline ModelVariantConfig& WithInfrastructureConfig(const ModelInfrastructureConfig& value) { SetInfrastructureConfig(value); return *this;} /** *The configuration for the infrastructure that the model will be deployed * to.
*/ inline ModelVariantConfig& WithInfrastructureConfig(ModelInfrastructureConfig&& value) { SetInfrastructureConfig(std::move(value)); return *this;} private: Aws::String m_modelName; bool m_modelNameHasBeenSet = false; Aws::String m_variantName; bool m_variantNameHasBeenSet = false; ModelInfrastructureConfig m_infrastructureConfig; bool m_infrastructureConfigHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws