7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/FpgaDeviceInfo.h>
49 template<
typename FpgasT = Aws::Vector<FpgaDeviceInfo>>
50 void SetFpgas(FpgasT&& value) { m_fpgasHasBeenSet =
true; m_fpgas = std::forward<FpgasT>(value); }
51 template<
typename FpgasT = Aws::Vector<FpgaDeviceInfo>>
53 template<
typename FpgasT = FpgaDeviceInfo>
54 FpgaInfo&
AddFpgas(FpgasT&& value) { m_fpgasHasBeenSet =
true; m_fpgas.emplace_back(std::forward<FpgasT>(value));
return *
this; }
63 inline void SetTotalFpgaMemoryInMiB(
int value) { m_totalFpgaMemoryInMiBHasBeenSet =
true; m_totalFpgaMemoryInMiB = value; }
69 bool m_fpgasHasBeenSet =
false;
71 int m_totalFpgaMemoryInMiB{0};
72 bool m_totalFpgaMemoryInMiBHasBeenSet =
false;
AWS_EC2_API FpgaInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
bool FpgasHasBeenSet() const
FpgaInfo & WithTotalFpgaMemoryInMiB(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetFpgas(FpgasT &&value)
const Aws::Vector< FpgaDeviceInfo > & GetFpgas() const
bool TotalFpgaMemoryInMiBHasBeenSet() const
FpgaInfo & AddFpgas(FpgasT &&value)
void SetTotalFpgaMemoryInMiB(int value)
AWS_EC2_API FpgaInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FpgaInfo & WithFpgas(FpgasT &&value)
AWS_EC2_API FpgaInfo()=default
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
int GetTotalFpgaMemoryInMiB() const
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream