7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
10#include <aws/lightsail/model/AppCategory.h>
11#include <aws/lightsail/model/InstancePlatform.h>
33 AWS_LIGHTSAIL_API
Bundle() =
default;
42 inline double GetPrice()
const {
return m_price; }
45 m_priceHasBeenSet =
true;
61 m_cpuCountHasBeenSet =
true;
77 m_diskSizeInGbHasBeenSet =
true;
78 m_diskSizeInGb = value;
92 template <
typename BundleIdT = Aws::String>
94 m_bundleIdHasBeenSet =
true;
95 m_bundleId = std::forward<BundleIdT>(value);
97 template <
typename BundleIdT = Aws::String>
110 template <
typename InstanceTypeT = Aws::String>
112 m_instanceTypeHasBeenSet =
true;
113 m_instanceType = std::forward<InstanceTypeT>(value);
115 template <
typename InstanceTypeT = Aws::String>
129 m_isActiveHasBeenSet =
true;
144 template <
typename NameT = Aws::String>
146 m_nameHasBeenSet =
true;
147 m_name = std::forward<NameT>(value);
149 template <
typename NameT = Aws::String>
151 SetName(std::forward<NameT>(value));
167 m_powerHasBeenSet =
true;
183 m_ramSizeInGbHasBeenSet =
true;
184 m_ramSizeInGb = value;
199 m_transferPerMonthInGbHasBeenSet =
true;
200 m_transferPerMonthInGb = value;
217 template <
typename SupportedPlatformsT = Aws::Vector<InstancePlatform>>
219 m_supportedPlatformsHasBeenSet =
true;
220 m_supportedPlatforms = std::forward<SupportedPlatformsT>(value);
222 template <
typename SupportedPlatformsT = Aws::Vector<InstancePlatform>>
228 m_supportedPlatformsHasBeenSet =
true;
229 m_supportedPlatforms.push_back(value);
242 template <
typename SupportedAppCategoriesT = Aws::Vector<AppCategory>>
244 m_supportedAppCategoriesHasBeenSet =
true;
245 m_supportedAppCategories = std::forward<SupportedAppCategoriesT>(value);
247 template <
typename SupportedAppCategoriesT = Aws::Vector<AppCategory>>
253 m_supportedAppCategoriesHasBeenSet =
true;
254 m_supportedAppCategories.push_back(value);
267 m_publicIpv4AddressCountHasBeenSet =
true;
268 m_publicIpv4AddressCount = value;
280 int m_diskSizeInGb{0};
286 bool m_isActive{
false};
292 double m_ramSizeInGb{0.0};
294 int m_transferPerMonthInGb{0};
300 int m_publicIpv4AddressCount{0};
301 bool m_priceHasBeenSet =
false;
302 bool m_cpuCountHasBeenSet =
false;
303 bool m_diskSizeInGbHasBeenSet =
false;
304 bool m_bundleIdHasBeenSet =
false;
305 bool m_instanceTypeHasBeenSet =
false;
306 bool m_isActiveHasBeenSet =
false;
307 bool m_nameHasBeenSet =
false;
308 bool m_powerHasBeenSet =
false;
309 bool m_ramSizeInGbHasBeenSet =
false;
310 bool m_transferPerMonthInGbHasBeenSet =
false;
311 bool m_supportedPlatformsHasBeenSet =
false;
312 bool m_supportedAppCategoriesHasBeenSet =
false;
313 bool m_publicIpv4AddressCountHasBeenSet =
false;
Bundle & AddSupportedPlatforms(InstancePlatform value)
Bundle & WithPrice(double value)
const Aws::Vector< InstancePlatform > & GetSupportedPlatforms() const
bool NameHasBeenSet() const
void SetTransferPerMonthInGb(int value)
Bundle & WithSupportedAppCategories(SupportedAppCategoriesT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API Bundle & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PublicIpv4AddressCountHasBeenSet() const
Bundle & WithBundleId(BundleIdT &&value)
void SetRamSizeInGb(double value)
void SetDiskSizeInGb(int value)
Bundle & WithName(NameT &&value)
void SetCpuCount(int value)
void SetSupportedPlatforms(SupportedPlatformsT &&value)
int GetPublicIpv4AddressCount() const
bool DiskSizeInGbHasBeenSet() const
AWS_LIGHTSAIL_API Bundle(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Bundle & WithSupportedPlatforms(SupportedPlatformsT &&value)
AWS_LIGHTSAIL_API Bundle()=default
int GetDiskSizeInGb() const
const Aws::Vector< AppCategory > & GetSupportedAppCategories() const
bool RamSizeInGbHasBeenSet() const
double GetRamSizeInGb() const
Bundle & WithIsActive(bool value)
bool IsActiveHasBeenSet() const
void SetPublicIpv4AddressCount(int value)
bool TransferPerMonthInGbHasBeenSet() const
bool CpuCountHasBeenSet() const
bool InstanceTypeHasBeenSet() const
const Aws::String & GetInstanceType() const
Bundle & WithCpuCount(int value)
bool PowerHasBeenSet() const
Bundle & WithPublicIpv4AddressCount(int value)
bool SupportedAppCategoriesHasBeenSet() const
Bundle & WithRamSizeInGb(double value)
Bundle & AddSupportedAppCategories(AppCategory value)
Bundle & WithPower(int value)
void SetSupportedAppCategories(SupportedAppCategoriesT &&value)
int GetTransferPerMonthInGb() const
bool SupportedPlatformsHasBeenSet() const
void SetInstanceType(InstanceTypeT &&value)
void SetPrice(double value)
Bundle & WithDiskSizeInGb(int value)
void SetIsActive(bool value)
void SetBundleId(BundleIdT &&value)
void SetName(NameT &&value)
bool PriceHasBeenSet() const
const Aws::String & GetBundleId() const
bool BundleIdHasBeenSet() const
Bundle & WithTransferPerMonthInGb(int value)
Bundle & WithInstanceType(InstanceTypeT &&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