/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the specifications of a distribution bundle.See
* Also:
AWS
* API Reference
The ID of the bundle.
*/ inline const Aws::String& GetBundleId() const{ return m_bundleId; } /** *The ID of the bundle.
*/ inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; } /** *The ID of the bundle.
*/ inline void SetBundleId(const Aws::String& value) { m_bundleIdHasBeenSet = true; m_bundleId = value; } /** *The ID of the bundle.
*/ inline void SetBundleId(Aws::String&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::move(value); } /** *The ID of the bundle.
*/ inline void SetBundleId(const char* value) { m_bundleIdHasBeenSet = true; m_bundleId.assign(value); } /** *The ID of the bundle.
*/ inline DistributionBundle& WithBundleId(const Aws::String& value) { SetBundleId(value); return *this;} /** *The ID of the bundle.
*/ inline DistributionBundle& WithBundleId(Aws::String&& value) { SetBundleId(std::move(value)); return *this;} /** *The ID of the bundle.
*/ inline DistributionBundle& WithBundleId(const char* value) { SetBundleId(value); return *this;} /** *The name of the distribution bundle.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the distribution bundle.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the distribution bundle.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the distribution bundle.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the distribution bundle.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the distribution bundle.
*/ inline DistributionBundle& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the distribution bundle.
*/ inline DistributionBundle& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the distribution bundle.
*/ inline DistributionBundle& WithName(const char* value) { SetName(value); return *this;} /** *The monthly price, in US dollars, of the bundle.
*/ inline double GetPrice() const{ return m_price; } /** *The monthly price, in US dollars, of the bundle.
*/ inline bool PriceHasBeenSet() const { return m_priceHasBeenSet; } /** *The monthly price, in US dollars, of the bundle.
*/ inline void SetPrice(double value) { m_priceHasBeenSet = true; m_price = value; } /** *The monthly price, in US dollars, of the bundle.
*/ inline DistributionBundle& WithPrice(double value) { SetPrice(value); return *this;} /** *The monthly network transfer quota of the bundle.
*/ inline int GetTransferPerMonthInGb() const{ return m_transferPerMonthInGb; } /** *The monthly network transfer quota of the bundle.
*/ inline bool TransferPerMonthInGbHasBeenSet() const { return m_transferPerMonthInGbHasBeenSet; } /** *The monthly network transfer quota of the bundle.
*/ inline void SetTransferPerMonthInGb(int value) { m_transferPerMonthInGbHasBeenSet = true; m_transferPerMonthInGb = value; } /** *The monthly network transfer quota of the bundle.
*/ inline DistributionBundle& WithTransferPerMonthInGb(int value) { SetTransferPerMonthInGb(value); return *this;} /** *Indicates whether the bundle is active, and can be specified for a new or * existing distribution.
*/ inline bool GetIsActive() const{ return m_isActive; } /** *Indicates whether the bundle is active, and can be specified for a new or * existing distribution.
*/ inline bool IsActiveHasBeenSet() const { return m_isActiveHasBeenSet; } /** *Indicates whether the bundle is active, and can be specified for a new or * existing distribution.
*/ inline void SetIsActive(bool value) { m_isActiveHasBeenSet = true; m_isActive = value; } /** *Indicates whether the bundle is active, and can be specified for a new or * existing distribution.
*/ inline DistributionBundle& 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; int m_transferPerMonthInGb; bool m_transferPerMonthInGbHasBeenSet = false; bool m_isActive; bool m_isActiveHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws