/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing the attributes of a compute environment that can be
* updated.See Also:
AWS
* API Reference
The minimum number of Amazon EC2 vCPUs that an environment should * maintain.
*/ inline int GetMinvCpus() const{ return m_minvCpus; } /** *The minimum number of Amazon EC2 vCPUs that an environment should * maintain.
*/ inline bool MinvCpusHasBeenSet() const { return m_minvCpusHasBeenSet; } /** *The minimum number of Amazon EC2 vCPUs that an environment should * maintain.
*/ inline void SetMinvCpus(int value) { m_minvCpusHasBeenSet = true; m_minvCpus = value; } /** *The minimum number of Amazon EC2 vCPUs that an environment should * maintain.
*/ inline ComputeResourceUpdate& WithMinvCpus(int value) { SetMinvCpus(value); return *this;} /** *The maximum number of Amazon EC2 vCPUs that an environment can reach.
*/ inline int GetMaxvCpus() const{ return m_maxvCpus; } /** *The maximum number of Amazon EC2 vCPUs that an environment can reach.
*/ inline bool MaxvCpusHasBeenSet() const { return m_maxvCpusHasBeenSet; } /** *The maximum number of Amazon EC2 vCPUs that an environment can reach.
*/ inline void SetMaxvCpus(int value) { m_maxvCpusHasBeenSet = true; m_maxvCpus = value; } /** *The maximum number of Amazon EC2 vCPUs that an environment can reach.
*/ inline ComputeResourceUpdate& WithMaxvCpus(int value) { SetMaxvCpus(value); return *this;} /** *The desired number of Amazon EC2 vCPUS in the compute environment.
*/ inline int GetDesiredvCpus() const{ return m_desiredvCpus; } /** *The desired number of Amazon EC2 vCPUS in the compute environment.
*/ inline bool DesiredvCpusHasBeenSet() const { return m_desiredvCpusHasBeenSet; } /** *The desired number of Amazon EC2 vCPUS in the compute environment.
*/ inline void SetDesiredvCpus(int value) { m_desiredvCpusHasBeenSet = true; m_desiredvCpus = value; } /** *The desired number of Amazon EC2 vCPUS in the compute environment.
*/ inline ComputeResourceUpdate& WithDesiredvCpus(int value) { SetDesiredvCpus(value); return *this;} private: int m_minvCpus; bool m_minvCpusHasBeenSet; int m_maxvCpus; bool m_maxvCpusHasBeenSet; int m_desiredvCpus; bool m_desiredvCpusHasBeenSet; }; } // namespace Model } // namespace Batch } // namespace Aws