/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Instance-related attributes that are available for a given instance
* type.See Also:
AWS
* API Reference
Limits on the number of instances that can be created for a given instance * type.
*/ inline const InstanceCountLimits& GetInstanceCountLimits() const{ return m_instanceCountLimits; } /** *Limits on the number of instances that can be created for a given instance * type.
*/ inline bool InstanceCountLimitsHasBeenSet() const { return m_instanceCountLimitsHasBeenSet; } /** *Limits on the number of instances that can be created for a given instance * type.
*/ inline void SetInstanceCountLimits(const InstanceCountLimits& value) { m_instanceCountLimitsHasBeenSet = true; m_instanceCountLimits = value; } /** *Limits on the number of instances that can be created for a given instance * type.
*/ inline void SetInstanceCountLimits(InstanceCountLimits&& value) { m_instanceCountLimitsHasBeenSet = true; m_instanceCountLimits = std::move(value); } /** *Limits on the number of instances that can be created for a given instance * type.
*/ inline InstanceLimits& WithInstanceCountLimits(const InstanceCountLimits& value) { SetInstanceCountLimits(value); return *this;} /** *Limits on the number of instances that can be created for a given instance * type.
*/ inline InstanceLimits& WithInstanceCountLimits(InstanceCountLimits&& value) { SetInstanceCountLimits(std::move(value)); return *this;} private: InstanceCountLimits m_instanceCountLimits; bool m_instanceCountLimitsHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws