7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/AllocationType.h>
64 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
70 bool m_allocationTypeHasBeenSet =
false;
73 bool m_countHasBeenSet =
false;
CapacityAllocation & WithCount(int value)
AWS_EC2_API CapacityAllocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API CapacityAllocation()
CapacityAllocation & WithAllocationType(AllocationType &&value)
bool CountHasBeenSet() const
bool AllocationTypeHasBeenSet() const
const AllocationType & GetAllocationType() const
CapacityAllocation & WithAllocationType(const AllocationType &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API CapacityAllocation(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetAllocationType(const AllocationType &value)
void SetAllocationType(AllocationType &&value)
std::basic_ostream< char, std::char_traits< char > > OStream