7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lightsail/model/InstancePlatform.h>
11#include <aws/lightsail/model/AppCategory.h>
48 inline double GetPrice()
const{
return m_price; }
50 inline void SetPrice(
double value) { m_priceHasBeenSet =
true; m_price = value; }
60 inline void SetCpuCount(
int value) { m_cpuCountHasBeenSet =
true; m_cpuCount = value; }
70 inline void SetDiskSizeInGb(
int value) { m_diskSizeInGbHasBeenSet =
true; m_diskSizeInGb = value; }
82 inline void SetBundleId(
const char* value) { m_bundleIdHasBeenSet =
true; m_bundleId.assign(value); }
96 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
108 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
120 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
136 inline void SetPower(
int value) { m_powerHasBeenSet =
true; m_power = value; }
146 inline void SetRamSizeInGb(
double value) { m_ramSizeInGbHasBeenSet =
true; m_ramSizeInGb = value; }
206 bool m_priceHasBeenSet =
false;
209 bool m_cpuCountHasBeenSet =
false;
212 bool m_diskSizeInGbHasBeenSet =
false;
215 bool m_bundleIdHasBeenSet =
false;
218 bool m_instanceTypeHasBeenSet =
false;
221 bool m_isActiveHasBeenSet =
false;
224 bool m_nameHasBeenSet =
false;
227 bool m_powerHasBeenSet =
false;
229 double m_ramSizeInGb;
230 bool m_ramSizeInGbHasBeenSet =
false;
232 int m_transferPerMonthInGb;
233 bool m_transferPerMonthInGbHasBeenSet =
false;
236 bool m_supportedPlatformsHasBeenSet =
false;
239 bool m_supportedAppCategoriesHasBeenSet =
false;
241 int m_publicIpv4AddressCount;
242 bool m_publicIpv4AddressCountHasBeenSet =
false;
Bundle & WithName(const Aws::String &value)
Bundle & AddSupportedAppCategories(const AppCategory &value)
Bundle & WithPrice(double value)
void SetBundleId(const Aws::String &value)
void SetBundleId(const char *value)
AWS_LIGHTSAIL_API Bundle()
const Aws::Vector< InstancePlatform > & GetSupportedPlatforms() const
bool NameHasBeenSet() const
void SetTransferPerMonthInGb(int value)
Bundle & WithInstanceType(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
Bundle & WithBundleId(const Aws::String &value)
AWS_LIGHTSAIL_API Bundle & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PublicIpv4AddressCountHasBeenSet() const
void SetRamSizeInGb(double value)
void SetDiskSizeInGb(int value)
void SetCpuCount(int value)
void SetName(const Aws::String &value)
Bundle & AddSupportedAppCategories(AppCategory &&value)
int GetPublicIpv4AddressCount() const
bool DiskSizeInGbHasBeenSet() const
AWS_LIGHTSAIL_API Bundle(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetInstanceType(const Aws::String &value)
int GetDiskSizeInGb() const
const Aws::Vector< AppCategory > & GetSupportedAppCategories() const
Bundle & WithSupportedPlatforms(Aws::Vector< InstancePlatform > &&value)
Bundle & WithInstanceType(const char *value)
void SetName(const char *value)
bool RamSizeInGbHasBeenSet() const
double GetRamSizeInGb() const
Bundle & WithIsActive(bool value)
bool IsActiveHasBeenSet() const
Bundle & AddSupportedPlatforms(const InstancePlatform &value)
void SetPublicIpv4AddressCount(int value)
void SetSupportedAppCategories(Aws::Vector< AppCategory > &&value)
void SetSupportedAppCategories(const Aws::Vector< AppCategory > &value)
bool TransferPerMonthInGbHasBeenSet() const
Bundle & WithInstanceType(Aws::String &&value)
bool CpuCountHasBeenSet() const
void SetInstanceType(Aws::String &&value)
bool InstanceTypeHasBeenSet() const
const Aws::String & GetInstanceType() const
Bundle & WithCpuCount(int value)
bool PowerHasBeenSet() const
Bundle & WithPublicIpv4AddressCount(int value)
bool SupportedAppCategoriesHasBeenSet() const
Bundle & WithSupportedAppCategories(Aws::Vector< AppCategory > &&value)
Bundle & WithRamSizeInGb(double value)
Bundle & WithPower(int value)
Bundle & WithBundleId(const char *value)
int GetTransferPerMonthInGb() const
bool SupportedPlatformsHasBeenSet() const
Bundle & WithBundleId(Aws::String &&value)
void SetSupportedPlatforms(Aws::Vector< InstancePlatform > &&value)
void SetPrice(double value)
Bundle & WithSupportedPlatforms(const Aws::Vector< InstancePlatform > &value)
Bundle & WithDiskSizeInGb(int value)
void SetBundleId(Aws::String &&value)
void SetIsActive(bool value)
bool PriceHasBeenSet() const
const Aws::String & GetBundleId() const
Bundle & WithSupportedAppCategories(const Aws::Vector< AppCategory > &value)
void SetName(Aws::String &&value)
Bundle & WithName(Aws::String &&value)
Bundle & AddSupportedPlatforms(InstancePlatform &&value)
void SetInstanceType(const char *value)
bool BundleIdHasBeenSet() const
Bundle & WithTransferPerMonthInGb(int value)
Bundle & WithName(const char *value)
void SetSupportedPlatforms(const Aws::Vector< InstancePlatform > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue