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

The total amount of storage currently used for snapshots.

*/ inline double GetTotalBackupSizeInMegaBytes() const{ return m_totalBackupSizeInMegaBytes; } /** *

The total amount of storage currently used for snapshots.

*/ inline void SetTotalBackupSizeInMegaBytes(double value) { m_totalBackupSizeInMegaBytes = value; } /** *

The total amount of storage currently used for snapshots.

*/ inline DescribeStorageResult& WithTotalBackupSizeInMegaBytes(double value) { SetTotalBackupSizeInMegaBytes(value); return *this;} /** *

The total amount of storage currently provisioned.

*/ inline double GetTotalProvisionedStorageInMegaBytes() const{ return m_totalProvisionedStorageInMegaBytes; } /** *

The total amount of storage currently provisioned.

*/ inline void SetTotalProvisionedStorageInMegaBytes(double value) { m_totalProvisionedStorageInMegaBytes = value; } /** *

The total amount of storage currently provisioned.

*/ inline DescribeStorageResult& WithTotalProvisionedStorageInMegaBytes(double value) { SetTotalProvisionedStorageInMegaBytes(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 DescribeStorageResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeStorageResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: double m_totalBackupSizeInMegaBytes; double m_totalProvisionedStorageInMegaBytes; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace Redshift } // namespace Aws