7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/AllocationType.h>
60 inline int GetCount()
const {
return m_count; }
62 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
68 bool m_allocationTypeHasBeenSet =
false;
71 bool m_countHasBeenSet =
false;
CapacityAllocation & WithCount(int value)
AWS_EC2_API CapacityAllocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API CapacityAllocation()=default
bool CountHasBeenSet() const
AllocationType GetAllocationType() const
bool AllocationTypeHasBeenSet() const
void SetAllocationType(AllocationType value)
CapacityAllocation & WithAllocationType(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
std::basic_ostream< char, std::char_traits< char > > OStream