7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename FamilyT = Aws::String>
47 void SetFamily(FamilyT&& value) { m_familyHasBeenSet =
true; m_family = std::forward<FamilyT>(value); }
48 template<
typename FamilyT = Aws::String>
58 template<
typename MaxSizeT = Aws::String>
59 void SetMaxSize(MaxSizeT&& value) { m_maxSizeHasBeenSet =
true; m_maxSize = std::forward<MaxSizeT>(value); }
60 template<
typename MaxSizeT = Aws::String>
70 template<
typename QuantityT = Aws::String>
71 void SetQuantity(QuantityT&& value) { m_quantityHasBeenSet =
true; m_quantity = std::forward<QuantityT>(value); }
72 template<
typename QuantityT = Aws::String>
78 bool m_familyHasBeenSet =
false;
81 bool m_maxSizeHasBeenSet =
false;
84 bool m_quantityHasBeenSet =
false;
EC2Capacity & WithMaxSize(MaxSizeT &&value)
void SetQuantity(QuantityT &&value)
bool FamilyHasBeenSet() const
const Aws::String & GetFamily() const
AWS_OUTPOSTS_API EC2Capacity()=default
bool MaxSizeHasBeenSet() const
AWS_OUTPOSTS_API EC2Capacity(Aws::Utils::Json::JsonView jsonValue)
AWS_OUTPOSTS_API EC2Capacity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
EC2Capacity & WithQuantity(QuantityT &&value)
void SetMaxSize(MaxSizeT &&value)
bool QuantityHasBeenSet() const
const Aws::String & GetMaxSize() const
EC2Capacity & WithFamily(FamilyT &&value)
void SetFamily(FamilyT &&value)
const Aws::String & GetQuantity() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue