7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetBundleId(
const char* value) { m_bundleIdHasBeenSet =
true; m_bundleId.assign(value); }
63 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
73 inline double GetPrice()
const{
return m_price; }
75 inline void SetPrice(
double value) { m_priceHasBeenSet =
true; m_price = value; }
85 inline void SetTransferPerMonthInGb(
int value) { m_transferPerMonthInGbHasBeenSet =
true; m_transferPerMonthInGb = value; }
96 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
102 bool m_bundleIdHasBeenSet =
false;
105 bool m_nameHasBeenSet =
false;
108 bool m_priceHasBeenSet =
false;
110 int m_transferPerMonthInGb;
111 bool m_transferPerMonthInGbHasBeenSet =
false;
114 bool m_isActiveHasBeenSet =
false;
void SetIsActive(bool value)
void SetBundleId(const char *value)
DistributionBundle & WithBundleId(Aws::String &&value)
void SetName(const Aws::String &value)
DistributionBundle & WithName(const char *value)
DistributionBundle & WithName(Aws::String &&value)
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 SetBundleId(const Aws::String &value)
void SetBundleId(Aws::String &&value)
AWS_LIGHTSAIL_API DistributionBundle()
DistributionBundle & WithBundleId(const char *value)
DistributionBundle & WithBundleId(const Aws::String &value)
const Aws::String & GetName() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
DistributionBundle & WithName(const Aws::String &value)
bool IsActiveHasBeenSet() const
const Aws::String & GetBundleId() const
bool NameHasBeenSet() const
void SetName(const char *value)
DistributionBundle & WithTransferPerMonthInGb(int value)
bool PriceHasBeenSet() const
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