7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetBundleId(
const char* value) { m_bundleIdHasBeenSet =
true; m_bundleId.assign(value); }
64 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline double GetPrice()
const{
return m_price; }
76 inline void SetPrice(
double value) { m_priceHasBeenSet =
true; m_price = value; }
86 inline void SetStoragePerMonthInGb(
int value) { m_storagePerMonthInGbHasBeenSet =
true; m_storagePerMonthInGb = value; }
96 inline void SetTransferPerMonthInGb(
int value) { m_transferPerMonthInGbHasBeenSet =
true; m_transferPerMonthInGb = value; }
106 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
112 bool m_bundleIdHasBeenSet =
false;
115 bool m_nameHasBeenSet =
false;
118 bool m_priceHasBeenSet =
false;
120 int m_storagePerMonthInGb;
121 bool m_storagePerMonthInGbHasBeenSet =
false;
123 int m_transferPerMonthInGb;
124 bool m_transferPerMonthInGbHasBeenSet =
false;
127 bool m_isActiveHasBeenSet =
false;
const Aws::String & GetName() const
void SetBundleId(const char *value)
BucketBundle & WithPrice(double value)
int GetStoragePerMonthInGb() const
BucketBundle & WithName(const Aws::String &value)
void SetBundleId(const Aws::String &value)
AWS_LIGHTSAIL_API BucketBundle(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool PriceHasBeenSet() const
void SetStoragePerMonthInGb(int value)
AWS_LIGHTSAIL_API BucketBundle & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBundleId(Aws::String &&value)
bool StoragePerMonthInGbHasBeenSet() const
bool BundleIdHasBeenSet() const
BucketBundle & WithBundleId(const char *value)
void SetIsActive(bool value)
bool TransferPerMonthInGbHasBeenSet() const
const Aws::String & GetBundleId() const
BucketBundle & WithBundleId(const Aws::String &value)
void SetName(const Aws::String &value)
void SetName(const char *value)
BucketBundle & WithName(const char *value)
BucketBundle & WithIsActive(bool value)
AWS_LIGHTSAIL_API BucketBundle()
void SetName(Aws::String &&value)
int GetTransferPerMonthInGb() const
BucketBundle & WithBundleId(Aws::String &&value)
BucketBundle & WithStoragePerMonthInGb(int value)
void SetPrice(double value)
bool NameHasBeenSet() const
bool IsActiveHasBeenSet() const
BucketBundle & WithName(Aws::String &&value)
BucketBundle & WithTransferPerMonthInGb(int value)
void SetTransferPerMonthInGb(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue