/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The name and sampling percentage of a shadow variant.See
* Also:
AWS
* API Reference
The name of the shadow variant.
*/ inline const Aws::String& GetShadowModelVariantName() const{ return m_shadowModelVariantName; } /** *The name of the shadow variant.
*/ inline bool ShadowModelVariantNameHasBeenSet() const { return m_shadowModelVariantNameHasBeenSet; } /** *The name of the shadow variant.
*/ inline void SetShadowModelVariantName(const Aws::String& value) { m_shadowModelVariantNameHasBeenSet = true; m_shadowModelVariantName = value; } /** *The name of the shadow variant.
*/ inline void SetShadowModelVariantName(Aws::String&& value) { m_shadowModelVariantNameHasBeenSet = true; m_shadowModelVariantName = std::move(value); } /** *The name of the shadow variant.
*/ inline void SetShadowModelVariantName(const char* value) { m_shadowModelVariantNameHasBeenSet = true; m_shadowModelVariantName.assign(value); } /** *The name of the shadow variant.
*/ inline ShadowModelVariantConfig& WithShadowModelVariantName(const Aws::String& value) { SetShadowModelVariantName(value); return *this;} /** *The name of the shadow variant.
*/ inline ShadowModelVariantConfig& WithShadowModelVariantName(Aws::String&& value) { SetShadowModelVariantName(std::move(value)); return *this;} /** *The name of the shadow variant.
*/ inline ShadowModelVariantConfig& WithShadowModelVariantName(const char* value) { SetShadowModelVariantName(value); return *this;} /** *The percentage of inference requests that Amazon SageMaker replicates from * the production variant to the shadow variant.
*/ inline int GetSamplingPercentage() const{ return m_samplingPercentage; } /** *The percentage of inference requests that Amazon SageMaker replicates from * the production variant to the shadow variant.
*/ inline bool SamplingPercentageHasBeenSet() const { return m_samplingPercentageHasBeenSet; } /** *The percentage of inference requests that Amazon SageMaker replicates from * the production variant to the shadow variant.
*/ inline void SetSamplingPercentage(int value) { m_samplingPercentageHasBeenSet = true; m_samplingPercentage = value; } /** *The percentage of inference requests that Amazon SageMaker replicates from * the production variant to the shadow variant.
*/ inline ShadowModelVariantConfig& WithSamplingPercentage(int value) { SetSamplingPercentage(value); return *this;} private: Aws::String m_shadowModelVariantName; bool m_shadowModelVariantNameHasBeenSet = false; int m_samplingPercentage; bool m_samplingPercentageHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws