7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
42 template <
typename BundleIdT = Aws::String>
44 m_bundleIdHasBeenSet =
true;
45 m_bundleId = std::forward<BundleIdT>(value);
47 template <
typename BundleIdT = Aws::String>
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
76 inline double GetPrice()
const {
return m_price; }
79 m_priceHasBeenSet =
true;
95 m_storagePerMonthInGbHasBeenSet =
true;
96 m_storagePerMonthInGb = value;
111 m_transferPerMonthInGbHasBeenSet =
true;
112 m_transferPerMonthInGb = value;
127 m_isActiveHasBeenSet =
true;
142 int m_storagePerMonthInGb{0};
144 int m_transferPerMonthInGb{0};
146 bool m_isActive{
false};
147 bool m_bundleIdHasBeenSet =
false;
148 bool m_nameHasBeenSet =
false;
149 bool m_priceHasBeenSet =
false;
150 bool m_storagePerMonthInGbHasBeenSet =
false;
151 bool m_transferPerMonthInGbHasBeenSet =
false;
152 bool m_isActiveHasBeenSet =
false;
const Aws::String & GetName() const
BucketBundle & WithPrice(double value)
int GetStoragePerMonthInGb() const
void SetBundleId(BundleIdT &&value)
void SetName(NameT &&value)
BucketBundle & WithBundleId(BundleIdT &&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)
BucketBundle & WithName(NameT &&value)
AWS_LIGHTSAIL_API BucketBundle & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StoragePerMonthInGbHasBeenSet() const
bool BundleIdHasBeenSet() const
void SetIsActive(bool value)
bool TransferPerMonthInGbHasBeenSet() const
const Aws::String & GetBundleId() const
AWS_LIGHTSAIL_API BucketBundle()=default
BucketBundle & WithIsActive(bool value)
int GetTransferPerMonthInGb() const
BucketBundle & WithStoragePerMonthInGb(int value)
void SetPrice(double value)
bool NameHasBeenSet() const
bool IsActiveHasBeenSet() const
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