7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/outposts/model/CatalogItemStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/outposts/model/EC2Capacity.h>
12#include <aws/outposts/model/SupportedStorageEnum.h>
50 template<
typename CatalogItemIdT = Aws::String>
51 void SetCatalogItemId(CatalogItemIdT&& value) { m_catalogItemIdHasBeenSet =
true; m_catalogItemId = std::forward<CatalogItemIdT>(value); }
52 template<
typename CatalogItemIdT = Aws::String>
72 template<
typename EC2CapacitiesT = Aws::Vector<EC2Capacity>>
73 void SetEC2Capacities(EC2CapacitiesT&& value) { m_eC2CapacitiesHasBeenSet =
true; m_eC2Capacities = std::forward<EC2CapacitiesT>(value); }
74 template<
typename EC2CapacitiesT = Aws::Vector<EC2Capacity>>
76 template<
typename EC2CapacitiesT = EC2Capacity>
77 CatalogItem&
AddEC2Capacities(EC2CapacitiesT&& value) { m_eC2CapacitiesHasBeenSet =
true; m_eC2Capacities.emplace_back(std::forward<EC2CapacitiesT>(value));
return *
this; }
86 inline void SetPowerKva(
double value) { m_powerKvaHasBeenSet =
true; m_powerKva = value; }
96 inline void SetWeightLbs(
int value) { m_weightLbsHasBeenSet =
true; m_weightLbs = value; }
107 template<
typename SupportedUplinkGbpsT = Aws::Vector<
int>>
108 void SetSupportedUplinkGbps(SupportedUplinkGbpsT&& value) { m_supportedUplinkGbpsHasBeenSet =
true; m_supportedUplinkGbps = std::forward<SupportedUplinkGbpsT>(value); }
109 template<
typename SupportedUplinkGbpsT = Aws::Vector<
int>>
120 template<
typename SupportedStorageT = Aws::Vector<SupportedStorageEnum>>
121 void SetSupportedStorage(SupportedStorageT&& value) { m_supportedStorageHasBeenSet =
true; m_supportedStorage = std::forward<SupportedStorageT>(value); }
122 template<
typename SupportedStorageT = Aws::Vector<SupportedStorageEnum>>
129 bool m_catalogItemIdHasBeenSet =
false;
132 bool m_itemStatusHasBeenSet =
false;
135 bool m_eC2CapacitiesHasBeenSet =
false;
137 double m_powerKva{0.0};
138 bool m_powerKvaHasBeenSet =
false;
141 bool m_weightLbsHasBeenSet =
false;
144 bool m_supportedUplinkGbpsHasBeenSet =
false;
147 bool m_supportedStorageHasBeenSet =
false;
bool WeightLbsHasBeenSet() const
bool ItemStatusHasBeenSet() const
void SetEC2Capacities(EC2CapacitiesT &&value)
CatalogItem & WithEC2Capacities(EC2CapacitiesT &&value)
AWS_OUTPOSTS_API CatalogItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCatalogItemId(CatalogItemIdT &&value)
void SetSupportedStorage(SupportedStorageT &&value)
AWS_OUTPOSTS_API CatalogItem()=default
CatalogItem & AddEC2Capacities(EC2CapacitiesT &&value)
CatalogItem & WithSupportedUplinkGbps(SupportedUplinkGbpsT &&value)
void SetPowerKva(double value)
CatalogItem & AddSupportedStorage(SupportedStorageEnum value)
CatalogItemStatus GetItemStatus() const
const Aws::Vector< int > & GetSupportedUplinkGbps() const
AWS_OUTPOSTS_API CatalogItem(Aws::Utils::Json::JsonView jsonValue)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< SupportedStorageEnum > & GetSupportedStorage() const
void SetWeightLbs(int value)
const Aws::String & GetCatalogItemId() const
CatalogItem & WithPowerKva(double value)
const Aws::Vector< EC2Capacity > & GetEC2Capacities() const
CatalogItem & WithSupportedStorage(SupportedStorageT &&value)
void SetItemStatus(CatalogItemStatus value)
CatalogItem & WithCatalogItemId(CatalogItemIdT &&value)
CatalogItem & AddSupportedUplinkGbps(int value)
bool SupportedUplinkGbpsHasBeenSet() const
CatalogItem & WithWeightLbs(int value)
bool CatalogItemIdHasBeenSet() const
void SetSupportedUplinkGbps(SupportedUplinkGbpsT &&value)
CatalogItem & WithItemStatus(CatalogItemStatus value)
bool SupportedStorageHasBeenSet() const
double GetPowerKva() const
bool EC2CapacitiesHasBeenSet() const
bool PowerKvaHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue