/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the auto scaling settings for a global table or global secondary
* index.See Also:
AWS
* API Reference
The minimum capacity units that a global table or global secondary index * should be scaled down to.
*/ inline long long GetMinimumUnits() const{ return m_minimumUnits; } /** *The minimum capacity units that a global table or global secondary index * should be scaled down to.
*/ inline bool MinimumUnitsHasBeenSet() const { return m_minimumUnitsHasBeenSet; } /** *The minimum capacity units that a global table or global secondary index * should be scaled down to.
*/ inline void SetMinimumUnits(long long value) { m_minimumUnitsHasBeenSet = true; m_minimumUnits = value; } /** *The minimum capacity units that a global table or global secondary index * should be scaled down to.
*/ inline AutoScalingSettingsDescription& WithMinimumUnits(long long value) { SetMinimumUnits(value); return *this;} /** *The maximum capacity units that a global table or global secondary index * should be scaled up to.
*/ inline long long GetMaximumUnits() const{ return m_maximumUnits; } /** *The maximum capacity units that a global table or global secondary index * should be scaled up to.
*/ inline bool MaximumUnitsHasBeenSet() const { return m_maximumUnitsHasBeenSet; } /** *The maximum capacity units that a global table or global secondary index * should be scaled up to.
*/ inline void SetMaximumUnits(long long value) { m_maximumUnitsHasBeenSet = true; m_maximumUnits = value; } /** *The maximum capacity units that a global table or global secondary index * should be scaled up to.
*/ inline AutoScalingSettingsDescription& WithMaximumUnits(long long value) { SetMaximumUnits(value); return *this;} /** *Disabled auto scaling for this global table or global secondary index.
*/ inline bool GetAutoScalingDisabled() const{ return m_autoScalingDisabled; } /** *Disabled auto scaling for this global table or global secondary index.
*/ inline bool AutoScalingDisabledHasBeenSet() const { return m_autoScalingDisabledHasBeenSet; } /** *Disabled auto scaling for this global table or global secondary index.
*/ inline void SetAutoScalingDisabled(bool value) { m_autoScalingDisabledHasBeenSet = true; m_autoScalingDisabled = value; } /** *Disabled auto scaling for this global table or global secondary index.
*/ inline AutoScalingSettingsDescription& WithAutoScalingDisabled(bool value) { SetAutoScalingDisabled(value); return *this;} /** *Role ARN used for configuring the auto scaling policy.
*/ inline const Aws::String& GetAutoScalingRoleArn() const{ return m_autoScalingRoleArn; } /** *Role ARN used for configuring the auto scaling policy.
*/ inline bool AutoScalingRoleArnHasBeenSet() const { return m_autoScalingRoleArnHasBeenSet; } /** *Role ARN used for configuring the auto scaling policy.
*/ inline void SetAutoScalingRoleArn(const Aws::String& value) { m_autoScalingRoleArnHasBeenSet = true; m_autoScalingRoleArn = value; } /** *Role ARN used for configuring the auto scaling policy.
*/ inline void SetAutoScalingRoleArn(Aws::String&& value) { m_autoScalingRoleArnHasBeenSet = true; m_autoScalingRoleArn = std::move(value); } /** *Role ARN used for configuring the auto scaling policy.
*/ inline void SetAutoScalingRoleArn(const char* value) { m_autoScalingRoleArnHasBeenSet = true; m_autoScalingRoleArn.assign(value); } /** *Role ARN used for configuring the auto scaling policy.
*/ inline AutoScalingSettingsDescription& WithAutoScalingRoleArn(const Aws::String& value) { SetAutoScalingRoleArn(value); return *this;} /** *Role ARN used for configuring the auto scaling policy.
*/ inline AutoScalingSettingsDescription& WithAutoScalingRoleArn(Aws::String&& value) { SetAutoScalingRoleArn(std::move(value)); return *this;} /** *Role ARN used for configuring the auto scaling policy.
*/ inline AutoScalingSettingsDescription& WithAutoScalingRoleArn(const char* value) { SetAutoScalingRoleArn(value); return *this;} /** *Information about the scaling policies.
*/ inline const Aws::VectorInformation about the scaling policies.
*/ inline bool ScalingPoliciesHasBeenSet() const { return m_scalingPoliciesHasBeenSet; } /** *Information about the scaling policies.
*/ inline void SetScalingPolicies(const Aws::VectorInformation about the scaling policies.
*/ inline void SetScalingPolicies(Aws::VectorInformation about the scaling policies.
*/ inline AutoScalingSettingsDescription& WithScalingPolicies(const Aws::VectorInformation about the scaling policies.
*/ inline AutoScalingSettingsDescription& WithScalingPolicies(Aws::VectorInformation about the scaling policies.
*/ inline AutoScalingSettingsDescription& AddScalingPolicies(const AutoScalingPolicyDescription& value) { m_scalingPoliciesHasBeenSet = true; m_scalingPolicies.push_back(value); return *this; } /** *Information about the scaling policies.
*/ inline AutoScalingSettingsDescription& AddScalingPolicies(AutoScalingPolicyDescription&& value) { m_scalingPoliciesHasBeenSet = true; m_scalingPolicies.push_back(std::move(value)); return *this; } private: long long m_minimumUnits; bool m_minimumUnitsHasBeenSet = false; long long m_maximumUnits; bool m_maximumUnitsHasBeenSet = false; bool m_autoScalingDisabled; bool m_autoScalingDisabledHasBeenSet = false; Aws::String m_autoScalingRoleArn; bool m_autoScalingRoleArnHasBeenSet = false; Aws::Vector