/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace RDS { namespace Model { class ModifyCurrentDBClusterCapacityResult { public: AWS_RDS_API ModifyCurrentDBClusterCapacityResult(); AWS_RDS_API ModifyCurrentDBClusterCapacityResult(const Aws::AmazonWebServiceResult& result); AWS_RDS_API ModifyCurrentDBClusterCapacityResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A user-supplied DB cluster identifier. This identifier is the unique key that * identifies a DB cluster.

*/ inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; } /** *

A user-supplied DB cluster identifier. This identifier is the unique key that * identifies a DB cluster.

*/ inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifier = value; } /** *

A user-supplied DB cluster identifier. This identifier is the unique key that * identifies a DB cluster.

*/ inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifier = std::move(value); } /** *

A user-supplied DB cluster identifier. This identifier is the unique key that * identifies a DB cluster.

*/ inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifier.assign(value); } /** *

A user-supplied DB cluster identifier. This identifier is the unique key that * identifies a DB cluster.

*/ inline ModifyCurrentDBClusterCapacityResult& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;} /** *

A user-supplied DB cluster identifier. This identifier is the unique key that * identifies a DB cluster.

*/ inline ModifyCurrentDBClusterCapacityResult& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;} /** *

A user-supplied DB cluster identifier. This identifier is the unique key that * identifies a DB cluster.

*/ inline ModifyCurrentDBClusterCapacityResult& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;} /** *

A value that specifies the capacity that the DB cluster scales to next.

*/ inline int GetPendingCapacity() const{ return m_pendingCapacity; } /** *

A value that specifies the capacity that the DB cluster scales to next.

*/ inline void SetPendingCapacity(int value) { m_pendingCapacity = value; } /** *

A value that specifies the capacity that the DB cluster scales to next.

*/ inline ModifyCurrentDBClusterCapacityResult& WithPendingCapacity(int value) { SetPendingCapacity(value); return *this;} /** *

The current capacity of the DB cluster.

*/ inline int GetCurrentCapacity() const{ return m_currentCapacity; } /** *

The current capacity of the DB cluster.

*/ inline void SetCurrentCapacity(int value) { m_currentCapacity = value; } /** *

The current capacity of the DB cluster.

*/ inline ModifyCurrentDBClusterCapacityResult& WithCurrentCapacity(int value) { SetCurrentCapacity(value); return *this;} /** *

The number of seconds before a call to * ModifyCurrentDBClusterCapacity times out.

*/ inline int GetSecondsBeforeTimeout() const{ return m_secondsBeforeTimeout; } /** *

The number of seconds before a call to * ModifyCurrentDBClusterCapacity times out.

*/ inline void SetSecondsBeforeTimeout(int value) { m_secondsBeforeTimeout = value; } /** *

The number of seconds before a call to * ModifyCurrentDBClusterCapacity times out.

*/ inline ModifyCurrentDBClusterCapacityResult& WithSecondsBeforeTimeout(int value) { SetSecondsBeforeTimeout(value); return *this;} /** *

The timeout action of a call to ModifyCurrentDBClusterCapacity, * either ForceApplyCapacityChange or * RollbackCapacityChange.

*/ inline const Aws::String& GetTimeoutAction() const{ return m_timeoutAction; } /** *

The timeout action of a call to ModifyCurrentDBClusterCapacity, * either ForceApplyCapacityChange or * RollbackCapacityChange.

*/ inline void SetTimeoutAction(const Aws::String& value) { m_timeoutAction = value; } /** *

The timeout action of a call to ModifyCurrentDBClusterCapacity, * either ForceApplyCapacityChange or * RollbackCapacityChange.

*/ inline void SetTimeoutAction(Aws::String&& value) { m_timeoutAction = std::move(value); } /** *

The timeout action of a call to ModifyCurrentDBClusterCapacity, * either ForceApplyCapacityChange or * RollbackCapacityChange.

*/ inline void SetTimeoutAction(const char* value) { m_timeoutAction.assign(value); } /** *

The timeout action of a call to ModifyCurrentDBClusterCapacity, * either ForceApplyCapacityChange or * RollbackCapacityChange.

*/ inline ModifyCurrentDBClusterCapacityResult& WithTimeoutAction(const Aws::String& value) { SetTimeoutAction(value); return *this;} /** *

The timeout action of a call to ModifyCurrentDBClusterCapacity, * either ForceApplyCapacityChange or * RollbackCapacityChange.

*/ inline ModifyCurrentDBClusterCapacityResult& WithTimeoutAction(Aws::String&& value) { SetTimeoutAction(std::move(value)); return *this;} /** *

The timeout action of a call to ModifyCurrentDBClusterCapacity, * either ForceApplyCapacityChange or * RollbackCapacityChange.

*/ inline ModifyCurrentDBClusterCapacityResult& WithTimeoutAction(const char* value) { SetTimeoutAction(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline ModifyCurrentDBClusterCapacityResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ModifyCurrentDBClusterCapacityResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_dBClusterIdentifier; int m_pendingCapacity; int m_currentCapacity; int m_secondsBeforeTimeout; Aws::String m_timeoutAction; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace RDS } // namespace Aws