/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies weight and capacity values for a production variant.See
* Also:
AWS
* API Reference
The name of the variant to update.
*/ inline const Aws::String& GetVariantName() const{ return m_variantName; } /** *The name of the variant to update.
*/ inline bool VariantNameHasBeenSet() const { return m_variantNameHasBeenSet; } /** *The name of the variant to update.
*/ inline void SetVariantName(const Aws::String& value) { m_variantNameHasBeenSet = true; m_variantName = value; } /** *The name of the variant to update.
*/ inline void SetVariantName(Aws::String&& value) { m_variantNameHasBeenSet = true; m_variantName = std::move(value); } /** *The name of the variant to update.
*/ inline void SetVariantName(const char* value) { m_variantNameHasBeenSet = true; m_variantName.assign(value); } /** *The name of the variant to update.
*/ inline DesiredWeightAndCapacity& WithVariantName(const Aws::String& value) { SetVariantName(value); return *this;} /** *The name of the variant to update.
*/ inline DesiredWeightAndCapacity& WithVariantName(Aws::String&& value) { SetVariantName(std::move(value)); return *this;} /** *The name of the variant to update.
*/ inline DesiredWeightAndCapacity& WithVariantName(const char* value) { SetVariantName(value); return *this;} /** *The variant's weight.
*/ inline double GetDesiredWeight() const{ return m_desiredWeight; } /** *The variant's weight.
*/ inline bool DesiredWeightHasBeenSet() const { return m_desiredWeightHasBeenSet; } /** *The variant's weight.
*/ inline void SetDesiredWeight(double value) { m_desiredWeightHasBeenSet = true; m_desiredWeight = value; } /** *The variant's weight.
*/ inline DesiredWeightAndCapacity& WithDesiredWeight(double value) { SetDesiredWeight(value); return *this;} /** *The variant's capacity.
*/ inline int GetDesiredInstanceCount() const{ return m_desiredInstanceCount; } /** *The variant's capacity.
*/ inline bool DesiredInstanceCountHasBeenSet() const { return m_desiredInstanceCountHasBeenSet; } /** *The variant's capacity.
*/ inline void SetDesiredInstanceCount(int value) { m_desiredInstanceCountHasBeenSet = true; m_desiredInstanceCount = value; } /** *The variant's capacity.
*/ inline DesiredWeightAndCapacity& WithDesiredInstanceCount(int value) { SetDesiredInstanceCount(value); return *this;} private: Aws::String m_variantName; bool m_variantNameHasBeenSet; double m_desiredWeight; bool m_desiredWeightHasBeenSet; int m_desiredInstanceCount; bool m_desiredInstanceCountHasBeenSet; }; } // namespace Model } // namespace SageMaker } // namespace Aws