7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename BundleIdT = Aws::String>
48 void SetBundleId(BundleIdT&& value) { m_bundleIdHasBeenSet =
true; m_bundleId = std::forward<BundleIdT>(value); }
49 template<
typename BundleIdT = Aws::String>
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
69 inline double GetPrice()
const {
return m_price; }
71 inline void SetPrice(
double value) { m_priceHasBeenSet =
true; m_price = value; }
81 inline void SetTransferPerMonthInGb(
int value) { m_transferPerMonthInGbHasBeenSet =
true; m_transferPerMonthInGb = value; }
92 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
98 bool m_bundleIdHasBeenSet =
false;
101 bool m_nameHasBeenSet =
false;
104 bool m_priceHasBeenSet =
false;
106 int m_transferPerMonthInGb{0};
107 bool m_transferPerMonthInGbHasBeenSet =
false;
109 bool m_isActive{
false};
110 bool m_isActiveHasBeenSet =
false;
void SetIsActive(bool value)
DistributionBundle & WithName(NameT &&value)
void SetBundleId(BundleIdT &&value)
AWS_LIGHTSAIL_API DistributionBundle()=default
AWS_LIGHTSAIL_API DistributionBundle(Aws::Utils::Json::JsonView jsonValue)
DistributionBundle & WithIsActive(bool value)
DistributionBundle & WithPrice(double value)
bool BundleIdHasBeenSet() const
void SetTransferPerMonthInGb(int value)
int GetTransferPerMonthInGb() const
bool TransferPerMonthInGbHasBeenSet() const
void SetPrice(double value)
void SetName(NameT &&value)
const Aws::String & GetName() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool IsActiveHasBeenSet() const
const Aws::String & GetBundleId() const
bool NameHasBeenSet() const
DistributionBundle & WithTransferPerMonthInGb(int value)
bool PriceHasBeenSet() const
DistributionBundle & WithBundleId(BundleIdT &&value)
AWS_LIGHTSAIL_API DistributionBundle & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue