7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
52 template<
typename TypeT = Aws::String>
53 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
54 template<
typename TypeT = Aws::String>
63 inline int GetCount()
const {
return m_count; }
65 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
71 bool m_typeHasBeenSet =
false;
74 bool m_countHasBeenSet =
false;
bool CountHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetType(TypeT &&value)
ElasticInferenceAccelerator & WithType(TypeT &&value)
AWS_EC2_API ElasticInferenceAccelerator(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API ElasticInferenceAccelerator & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ElasticInferenceAccelerator & WithCount(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool TypeHasBeenSet() const
AWS_EC2_API ElasticInferenceAccelerator()=default
const Aws::String & GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream