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/RackScalingType.h>
13#include <aws/outposts/model/SupportedStorageEnum.h>
45 template <
typename CatalogItemIdT = Aws::String>
47 m_catalogItemIdHasBeenSet =
true;
48 m_catalogItemId = std::forward<CatalogItemIdT>(value);
50 template <
typename CatalogItemIdT = Aws::String>
64 m_itemStatusHasBeenSet =
true;
79 template <
typename EC2CapacitiesT = Aws::Vector<EC2Capacity>>
81 m_eC2CapacitiesHasBeenSet =
true;
82 m_eC2Capacities = std::forward<EC2CapacitiesT>(value);
84 template <
typename EC2CapacitiesT = Aws::Vector<EC2Capacity>>
89 template <
typename EC2CapacitiesT = EC2Capacity>
91 m_eC2CapacitiesHasBeenSet =
true;
92 m_eC2Capacities.emplace_back(std::forward<EC2CapacitiesT>(value));
104 m_powerKvaHasBeenSet =
true;
120 m_weightLbsHasBeenSet =
true;
136 template <
typename SupportedUplinkGbpsT = Aws::Vector<
int>>
138 m_supportedUplinkGbpsHasBeenSet =
true;
139 m_supportedUplinkGbps = std::forward<SupportedUplinkGbpsT>(value);
141 template <
typename SupportedUplinkGbpsT = Aws::Vector<
int>>
147 m_supportedUplinkGbpsHasBeenSet =
true;
148 m_supportedUplinkGbps.push_back(value);
159 template <
typename SupportedStorageT = Aws::Vector<SupportedStorageEnum>>
161 m_supportedStorageHasBeenSet =
true;
162 m_supportedStorage = std::forward<SupportedStorageT>(value);
164 template <
typename SupportedStorageT = Aws::Vector<SupportedStorageEnum>>
170 m_supportedStorageHasBeenSet =
true;
171 m_supportedStorage.push_back(value);
184 m_rackScalingTypeHasBeenSet =
true;
185 m_rackScalingType = value;
199 double m_powerKva{0.0};
208 bool m_catalogItemIdHasBeenSet =
false;
209 bool m_itemStatusHasBeenSet =
false;
210 bool m_eC2CapacitiesHasBeenSet =
false;
211 bool m_powerKvaHasBeenSet =
false;
212 bool m_weightLbsHasBeenSet =
false;
213 bool m_supportedUplinkGbpsHasBeenSet =
false;
214 bool m_supportedStorageHasBeenSet =
false;
215 bool m_rackScalingTypeHasBeenSet =
false;
bool RackScalingTypeHasBeenSet() const
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)
RackScalingType GetRackScalingType() const
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)
CatalogItem & WithRackScalingType(RackScalingType value)
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
void SetRackScalingType(RackScalingType 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