7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/FpgaDeviceInfo.h>
43 template <
typename FpgasT = Aws::Vector<FpgaDeviceInfo>>
45 m_fpgasHasBeenSet =
true;
46 m_fpgas = std::forward<FpgasT>(value);
48 template <
typename FpgasT = Aws::Vector<FpgaDeviceInfo>>
50 SetFpgas(std::forward<FpgasT>(value));
53 template <
typename FpgasT = FpgaDeviceInfo>
55 m_fpgasHasBeenSet =
true;
56 m_fpgas.emplace_back(std::forward<FpgasT>(value));
68 m_totalFpgaMemoryInMiBHasBeenSet =
true;
69 m_totalFpgaMemoryInMiB = value;
79 int m_totalFpgaMemoryInMiB{0};
80 bool m_fpgasHasBeenSet =
false;
81 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