/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a database bundle. A bundle describes the performance
* specifications of the database.See Also:
AWS
* API Reference
The ID for the database bundle.
*/ inline const Aws::String& GetBundleId() const{ return m_bundleId; } /** *The ID for the database bundle.
*/ inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; } /** *The ID for the database bundle.
*/ inline void SetBundleId(const Aws::String& value) { m_bundleIdHasBeenSet = true; m_bundleId = value; } /** *The ID for the database bundle.
*/ inline void SetBundleId(Aws::String&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::move(value); } /** *The ID for the database bundle.
*/ inline void SetBundleId(const char* value) { m_bundleIdHasBeenSet = true; m_bundleId.assign(value); } /** *The ID for the database bundle.
*/ inline RelationalDatabaseBundle& WithBundleId(const Aws::String& value) { SetBundleId(value); return *this;} /** *The ID for the database bundle.
*/ inline RelationalDatabaseBundle& WithBundleId(Aws::String&& value) { SetBundleId(std::move(value)); return *this;} /** *The ID for the database bundle.
*/ inline RelationalDatabaseBundle& WithBundleId(const char* value) { SetBundleId(value); return *this;} /** *The name for the database bundle.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name for the database bundle.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name for the database bundle.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name for the database bundle.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name for the database bundle.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name for the database bundle.
*/ inline RelationalDatabaseBundle& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name for the database bundle.
*/ inline RelationalDatabaseBundle& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name for the database bundle.
*/ inline RelationalDatabaseBundle& WithName(const char* value) { SetName(value); return *this;} /** *The cost of the database bundle in US currency.
*/ inline double GetPrice() const{ return m_price; } /** *The cost of the database bundle in US currency.
*/ inline bool PriceHasBeenSet() const { return m_priceHasBeenSet; } /** *The cost of the database bundle in US currency.
*/ inline void SetPrice(double value) { m_priceHasBeenSet = true; m_price = value; } /** *The cost of the database bundle in US currency.
*/ inline RelationalDatabaseBundle& WithPrice(double value) { SetPrice(value); return *this;} /** *The amount of RAM in GB (for example, 2.0
) for the database
* bundle.
The amount of RAM in GB (for example, 2.0
) for the database
* bundle.
The amount of RAM in GB (for example, 2.0
) for the database
* bundle.
The amount of RAM in GB (for example, 2.0
) for the database
* bundle.
The size of the disk for the database bundle.
*/ inline int GetDiskSizeInGb() const{ return m_diskSizeInGb; } /** *The size of the disk for the database bundle.
*/ inline bool DiskSizeInGbHasBeenSet() const { return m_diskSizeInGbHasBeenSet; } /** *The size of the disk for the database bundle.
*/ inline void SetDiskSizeInGb(int value) { m_diskSizeInGbHasBeenSet = true; m_diskSizeInGb = value; } /** *The size of the disk for the database bundle.
*/ inline RelationalDatabaseBundle& WithDiskSizeInGb(int value) { SetDiskSizeInGb(value); return *this;} /** *The data transfer rate per month in GB for the database bundle.
*/ inline int GetTransferPerMonthInGb() const{ return m_transferPerMonthInGb; } /** *The data transfer rate per month in GB for the database bundle.
*/ inline bool TransferPerMonthInGbHasBeenSet() const { return m_transferPerMonthInGbHasBeenSet; } /** *The data transfer rate per month in GB for the database bundle.
*/ inline void SetTransferPerMonthInGb(int value) { m_transferPerMonthInGbHasBeenSet = true; m_transferPerMonthInGb = value; } /** *The data transfer rate per month in GB for the database bundle.
*/ inline RelationalDatabaseBundle& WithTransferPerMonthInGb(int value) { SetTransferPerMonthInGb(value); return *this;} /** *The number of virtual CPUs (vCPUs) for the database bundle.
*/ inline int GetCpuCount() const{ return m_cpuCount; } /** *The number of virtual CPUs (vCPUs) for the database bundle.
*/ inline bool CpuCountHasBeenSet() const { return m_cpuCountHasBeenSet; } /** *The number of virtual CPUs (vCPUs) for the database bundle.
*/ inline void SetCpuCount(int value) { m_cpuCountHasBeenSet = true; m_cpuCount = value; } /** *The number of virtual CPUs (vCPUs) for the database bundle.
*/ inline RelationalDatabaseBundle& WithCpuCount(int value) { SetCpuCount(value); return *this;} /** *A Boolean value indicating whether the database bundle is encrypted.
*/ inline bool GetIsEncrypted() const{ return m_isEncrypted; } /** *A Boolean value indicating whether the database bundle is encrypted.
*/ inline bool IsEncryptedHasBeenSet() const { return m_isEncryptedHasBeenSet; } /** *A Boolean value indicating whether the database bundle is encrypted.
*/ inline void SetIsEncrypted(bool value) { m_isEncryptedHasBeenSet = true; m_isEncrypted = value; } /** *A Boolean value indicating whether the database bundle is encrypted.
*/ inline RelationalDatabaseBundle& WithIsEncrypted(bool value) { SetIsEncrypted(value); return *this;} /** *A Boolean value indicating whether the database bundle is active.
*/ inline bool GetIsActive() const{ return m_isActive; } /** *A Boolean value indicating whether the database bundle is active.
*/ inline bool IsActiveHasBeenSet() const { return m_isActiveHasBeenSet; } /** *A Boolean value indicating whether the database bundle is active.
*/ inline void SetIsActive(bool value) { m_isActiveHasBeenSet = true; m_isActive = value; } /** *A Boolean value indicating whether the database bundle is active.
*/ inline RelationalDatabaseBundle& WithIsActive(bool value) { SetIsActive(value); return *this;} private: Aws::String m_bundleId; bool m_bundleIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; double m_price; bool m_priceHasBeenSet = false; double m_ramSizeInGb; bool m_ramSizeInGbHasBeenSet = false; int m_diskSizeInGb; bool m_diskSizeInGbHasBeenSet = false; int m_transferPerMonthInGb; bool m_transferPerMonthInGbHasBeenSet = false; int m_cpuCount; bool m_cpuCountHasBeenSet = false; bool m_isEncrypted; bool m_isEncryptedHasBeenSet = false; bool m_isActive; bool m_isActiveHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws