7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/outposts/Outposts_EXPORTS.h>
10#include <aws/outposts/model/CatalogItemStatus.h>
11#include <aws/outposts/model/EC2Capacity.h>
12#include <aws/outposts/model/SupportedStorageEnum.h>
44 template <
typename CatalogItemIdT = Aws::String>
46 m_catalogItemIdHasBeenSet =
true;
47 m_catalogItemId = std::forward<CatalogItemIdT>(value);
49 template <
typename CatalogItemIdT = Aws::String>
63 m_itemStatusHasBeenSet =
true;
78 template <
typename EC2CapacitiesT = Aws::Vector<EC2Capacity>>
80 m_eC2CapacitiesHasBeenSet =
true;
81 m_eC2Capacities = std::forward<EC2CapacitiesT>(value);
83 template <
typename EC2CapacitiesT = Aws::Vector<EC2Capacity>>
88 template <
typename EC2CapacitiesT = EC2Capacity>
90 m_eC2CapacitiesHasBeenSet =
true;
91 m_eC2Capacities.emplace_back(std::forward<EC2CapacitiesT>(value));
103 m_powerKvaHasBeenSet =
true;
119 m_weightLbsHasBeenSet =
true;
135 template <
typename SupportedUplinkGbpsT = Aws::Vector<
int>>
137 m_supportedUplinkGbpsHasBeenSet =
true;
138 m_supportedUplinkGbps = std::forward<SupportedUplinkGbpsT>(value);
140 template <
typename SupportedUplinkGbpsT = Aws::Vector<
int>>
146 m_supportedUplinkGbpsHasBeenSet =
true;
147 m_supportedUplinkGbps.push_back(value);
158 template <
typename SupportedStorageT = Aws::Vector<SupportedStorageEnum>>
160 m_supportedStorageHasBeenSet =
true;
161 m_supportedStorage = std::forward<SupportedStorageT>(value);
163 template <
typename SupportedStorageT = Aws::Vector<SupportedStorageEnum>>
169 m_supportedStorageHasBeenSet =
true;
170 m_supportedStorage.push_back(value);
181 double m_powerKva{0.0};
188 bool m_catalogItemIdHasBeenSet =
false;
189 bool m_itemStatusHasBeenSet =
false;
190 bool m_eC2CapacitiesHasBeenSet =
false;
191 bool m_powerKvaHasBeenSet =
false;
192 bool m_weightLbsHasBeenSet =
false;
193 bool m_supportedUplinkGbpsHasBeenSet =
false;
194 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