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>
49 inline void SetNetworkCardIndex(
int value) { m_networkCardIndexHasBeenSet =
true; m_networkCardIndex = value; }
61 inline void SetNetworkPerformance(
const char* value) { m_networkPerformanceHasBeenSet =
true; m_networkPerformance.assign(value); }
93 inline void SetPeakBandwidthInGbps(
double value) { m_peakBandwidthInGbpsHasBeenSet =
true; m_peakBandwidthInGbps = value; }
98 int m_networkCardIndex;
99 bool m_networkCardIndexHasBeenSet =
false;
102 bool m_networkPerformanceHasBeenSet =
false;
104 int m_maximumNetworkInterfaces;
105 bool m_maximumNetworkInterfacesHasBeenSet =
false;
107 double m_baselineBandwidthInGbps;
108 bool m_baselineBandwidthInGbpsHasBeenSet =
false;
110 double m_peakBandwidthInGbps;
111 bool m_peakBandwidthInGbpsHasBeenSet =
false;
NetworkCardInfo & WithNetworkCardIndex(int value)
NetworkCardInfo & WithMaximumNetworkInterfaces(int value)
NetworkCardInfo & WithNetworkPerformance(const char *value)
NetworkCardInfo & WithPeakBandwidthInGbps(double value)
AWS_EC2_API NetworkCardInfo()
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool NetworkCardIndexHasBeenSet() const
double GetPeakBandwidthInGbps() const
void SetNetworkPerformance(const char *value)
bool PeakBandwidthInGbpsHasBeenSet() const
int GetNetworkCardIndex() const
bool NetworkPerformanceHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
double GetBaselineBandwidthInGbps() const
AWS_EC2_API NetworkCardInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNetworkPerformance(Aws::String &&value)
void SetNetworkCardIndex(int value)
void SetPeakBandwidthInGbps(double value)
void SetMaximumNetworkInterfaces(int value)
void SetBaselineBandwidthInGbps(double value)
NetworkCardInfo & WithNetworkPerformance(const Aws::String &value)
AWS_EC2_API NetworkCardInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
int GetMaximumNetworkInterfaces() const
bool MaximumNetworkInterfacesHasBeenSet() const
bool BaselineBandwidthInGbpsHasBeenSet() const
const Aws::String & GetNetworkPerformance() const
NetworkCardInfo & WithBaselineBandwidthInGbps(double value)
NetworkCardInfo & WithNetworkPerformance(Aws::String &&value)
void SetNetworkPerformance(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream