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>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/EnaSupport.h>
12#include <aws/ec2/model/EfaInfo.h>
13#include <aws/ec2/model/NetworkCardInfo.h>
55 inline void SetNetworkPerformance(
const char* value) { m_networkPerformanceHasBeenSet =
true; m_networkPerformance.assign(value); }
78 inline void SetMaximumNetworkCards(
int value) { m_maximumNetworkCardsHasBeenSet =
true; m_maximumNetworkCards = value; }
132 inline void SetIpv6Supported(
bool value) { m_ipv6SupportedHasBeenSet =
true; m_ipv6Supported = value; }
154 inline void SetEfaSupported(
bool value) { m_efaSupportedHasBeenSet =
true; m_efaSupported = value; }
165 inline void SetEfaInfo(
EfaInfo&& value) { m_efaInfoHasBeenSet =
true; m_efaInfo = std::move(value); }
190 inline void SetEnaSrdSupported(
bool value) { m_enaSrdSupportedHasBeenSet =
true; m_enaSrdSupported = value; }
196 bool m_networkPerformanceHasBeenSet =
false;
198 int m_maximumNetworkInterfaces;
199 bool m_maximumNetworkInterfacesHasBeenSet =
false;
201 int m_maximumNetworkCards;
202 bool m_maximumNetworkCardsHasBeenSet =
false;
204 int m_defaultNetworkCardIndex;
205 bool m_defaultNetworkCardIndexHasBeenSet =
false;
208 bool m_networkCardsHasBeenSet =
false;
210 int m_ipv4AddressesPerInterface;
211 bool m_ipv4AddressesPerInterfaceHasBeenSet =
false;
213 int m_ipv6AddressesPerInterface;
214 bool m_ipv6AddressesPerInterfaceHasBeenSet =
false;
216 bool m_ipv6Supported;
217 bool m_ipv6SupportedHasBeenSet =
false;
220 bool m_enaSupportHasBeenSet =
false;
223 bool m_efaSupportedHasBeenSet =
false;
226 bool m_efaInfoHasBeenSet =
false;
228 bool m_encryptionInTransitSupported;
229 bool m_encryptionInTransitSupportedHasBeenSet =
false;
231 bool m_enaSrdSupported;
232 bool m_enaSrdSupportedHasBeenSet =
false;
NetworkInfo & WithNetworkPerformance(const char *value)
NetworkInfo & WithIpv6AddressesPerInterface(int value)
NetworkInfo & WithEfaSupported(bool value)
void SetEfaSupported(bool value)
bool MaximumNetworkInterfacesHasBeenSet() const
void SetMaximumNetworkCards(int value)
bool MaximumNetworkCardsHasBeenSet() const
int GetMaximumNetworkInterfaces() const
bool EfaSupportedHasBeenSet() const
int GetDefaultNetworkCardIndex() const
AWS_EC2_API NetworkInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEfaInfo(EfaInfo &&value)
NetworkInfo & WithNetworkCards(Aws::Vector< NetworkCardInfo > &&value)
bool NetworkPerformanceHasBeenSet() const
int GetIpv6AddressesPerInterface() const
void SetNetworkPerformance(Aws::String &&value)
NetworkInfo & WithIpv6Supported(bool value)
NetworkInfo & WithNetworkCards(const Aws::Vector< NetworkCardInfo > &value)
bool NetworkCardsHasBeenSet() const
NetworkInfo & WithEnaSupport(EnaSupport &&value)
int GetMaximumNetworkCards() const
bool GetEfaSupported() const
bool GetIpv6Supported() const
void SetEncryptionInTransitSupported(bool value)
void SetNetworkPerformance(const Aws::String &value)
bool Ipv4AddressesPerInterfaceHasBeenSet() const
bool Ipv6AddressesPerInterfaceHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetIpv4AddressesPerInterface(int value)
NetworkInfo & AddNetworkCards(const NetworkCardInfo &value)
AWS_EC2_API NetworkInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkInfo & WithMaximumNetworkInterfaces(int value)
bool DefaultNetworkCardIndexHasBeenSet() const
NetworkInfo & WithMaximumNetworkCards(int value)
void SetIpv6AddressesPerInterface(int value)
bool EncryptionInTransitSupportedHasBeenSet() const
bool EfaInfoHasBeenSet() const
NetworkInfo & WithEfaInfo(const EfaInfo &value)
NetworkInfo & WithEfaInfo(EfaInfo &&value)
NetworkInfo & WithEnaSrdSupported(bool value)
void SetMaximumNetworkInterfaces(int value)
NetworkInfo & AddNetworkCards(NetworkCardInfo &&value)
NetworkInfo & WithEnaSupport(const EnaSupport &value)
bool GetEncryptionInTransitSupported() const
void SetEfaInfo(const EfaInfo &value)
NetworkInfo & WithIpv4AddressesPerInterface(int value)
NetworkInfo & WithDefaultNetworkCardIndex(int value)
void SetNetworkPerformance(const char *value)
const EnaSupport & GetEnaSupport() const
void SetEnaSrdSupported(bool value)
void SetEnaSupport(const EnaSupport &value)
bool Ipv6SupportedHasBeenSet() const
bool EnaSupportHasBeenSet() const
const EfaInfo & GetEfaInfo() const
const Aws::Vector< NetworkCardInfo > & GetNetworkCards() const
void SetDefaultNetworkCardIndex(int value)
bool EnaSrdSupportedHasBeenSet() const
bool GetEnaSrdSupported() const
const Aws::String & GetNetworkPerformance() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
int GetIpv4AddressesPerInterface() const
void SetIpv6Supported(bool value)
void SetNetworkCards(Aws::Vector< NetworkCardInfo > &&value)
NetworkInfo & WithNetworkPerformance(const Aws::String &value)
NetworkInfo & WithEncryptionInTransitSupported(bool value)
void SetEnaSupport(EnaSupport &&value)
NetworkInfo & WithNetworkPerformance(Aws::String &&value)
AWS_EC2_API NetworkInfo()
void SetNetworkCards(const Aws::Vector< NetworkCardInfo > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream