/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines the details of a high availability configuration.See
* Also:
AWS
* API Reference
The number of instances in a high availability configuration. The minimum * possible value is 1 and the maximum is 100.
*/ inline int GetDesiredCapacity() const{ return m_desiredCapacity; } /** *The number of instances in a high availability configuration. The minimum * possible value is 1 and the maximum is 100.
*/ inline bool DesiredCapacityHasBeenSet() const { return m_desiredCapacityHasBeenSet; } /** *The number of instances in a high availability configuration. The minimum * possible value is 1 and the maximum is 100.
*/ inline void SetDesiredCapacity(int value) { m_desiredCapacityHasBeenSet = true; m_desiredCapacity = value; } /** *The number of instances in a high availability configuration. The minimum * possible value is 1 and the maximum is 100.
*/ inline HighAvailabilityConfig& WithDesiredCapacity(int value) { SetDesiredCapacity(value); return *this;} private: int m_desiredCapacity; bool m_desiredCapacityHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws