7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
46 template <
typename TypeT = Aws::String>
48 m_typeHasBeenSet =
true;
49 m_type = std::forward<TypeT>(value);
51 template <
typename TypeT = Aws::String>
53 SetType(std::forward<TypeT>(value));
63 inline int GetCount()
const {
return m_count; }
66 m_countHasBeenSet =
true;
78 bool m_typeHasBeenSet =
false;
79 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