7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
41 template <
typename BundleIdT = Aws::String>
43 m_bundleIdHasBeenSet =
true;
44 m_bundleId = std::forward<BundleIdT>(value);
46 template <
typename BundleIdT = Aws::String>
59 template <
typename NameT = Aws::String>
61 m_nameHasBeenSet =
true;
62 m_name = std::forward<NameT>(value);
64 template <
typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
75 inline double GetPrice()
const {
return m_price; }
78 m_priceHasBeenSet =
true;
94 m_transferPerMonthInGbHasBeenSet =
true;
95 m_transferPerMonthInGb = value;
111 m_isActiveHasBeenSet =
true;
126 int m_transferPerMonthInGb{0};
128 bool m_isActive{
false};
129 bool m_bundleIdHasBeenSet =
false;
130 bool m_nameHasBeenSet =
false;
131 bool m_priceHasBeenSet =
false;
132 bool m_transferPerMonthInGbHasBeenSet =
false;
133 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