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/ScheduledInstancesIpv6Address.h>
12#include <aws/ec2/model/ScheduledInstancesPrivateIpAddressConfig.h>
71 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
83 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
95 inline void SetDeviceIndex(
int value) { m_deviceIndexHasBeenSet =
true; m_deviceIndex = value; }
121 inline void SetIpv6AddressCount(
int value) { m_ipv6AddressCountHasBeenSet =
true; m_ipv6AddressCount = value; }
147 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
161 inline void SetPrivateIpAddress(
const char* value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress.assign(value); }
199 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
206 bool m_associatePublicIpAddress;
207 bool m_associatePublicIpAddressHasBeenSet =
false;
209 bool m_deleteOnTermination;
210 bool m_deleteOnTerminationHasBeenSet =
false;
213 bool m_descriptionHasBeenSet =
false;
216 bool m_deviceIndexHasBeenSet =
false;
219 bool m_groupsHasBeenSet =
false;
221 int m_ipv6AddressCount;
222 bool m_ipv6AddressCountHasBeenSet =
false;
225 bool m_ipv6AddressesHasBeenSet =
false;
228 bool m_networkInterfaceIdHasBeenSet =
false;
231 bool m_privateIpAddressHasBeenSet =
false;
234 bool m_privateIpAddressConfigsHasBeenSet =
false;
236 int m_secondaryPrivateIpAddressCount;
237 bool m_secondaryPrivateIpAddressCountHasBeenSet =
false;
240 bool m_subnetIdHasBeenSet =
false;
ScheduledInstancesNetworkInterface & WithIpv6Addresses(Aws::Vector< ScheduledInstancesIpv6Address > &&value)
bool AssociatePublicIpAddressHasBeenSet() const
void SetIpv6Addresses(Aws::Vector< ScheduledInstancesIpv6Address > &&value)
void SetNetworkInterfaceId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetGroups() const
ScheduledInstancesNetworkInterface & WithDeleteOnTermination(bool value)
bool NetworkInterfaceIdHasBeenSet() const
ScheduledInstancesNetworkInterface & WithPrivateIpAddress(const Aws::String &value)
void SetPrivateIpAddress(Aws::String &&value)
void SetGroups(const Aws::Vector< Aws::String > &value)
ScheduledInstancesNetworkInterface & WithAssociatePublicIpAddress(bool value)
ScheduledInstancesNetworkInterface & WithGroups(const Aws::Vector< Aws::String > &value)
ScheduledInstancesNetworkInterface & AddIpv6Addresses(const ScheduledInstancesIpv6Address &value)
void SetSubnetId(const Aws::String &value)
ScheduledInstancesNetworkInterface & WithPrivateIpAddress(const char *value)
ScheduledInstancesNetworkInterface & WithDescription(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ScheduledInstancesNetworkInterface & WithSubnetId(const char *value)
ScheduledInstancesNetworkInterface & WithDescription(Aws::String &&value)
AWS_EC2_API ScheduledInstancesNetworkInterface()
bool GroupsHasBeenSet() const
ScheduledInstancesNetworkInterface & WithIpv6Addresses(const Aws::Vector< ScheduledInstancesIpv6Address > &value)
ScheduledInstancesNetworkInterface & WithNetworkInterfaceId(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetDescription(const char *value)
ScheduledInstancesNetworkInterface & AddPrivateIpAddressConfigs(ScheduledInstancesPrivateIpAddressConfig &&value)
bool PrivateIpAddressHasBeenSet() const
AWS_EC2_API ScheduledInstancesNetworkInterface & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDescription(const Aws::String &value)
ScheduledInstancesNetworkInterface & WithNetworkInterfaceId(const char *value)
ScheduledInstancesNetworkInterface & AddGroups(const char *value)
void SetSubnetId(const char *value)
void SetPrivateIpAddressConfigs(Aws::Vector< ScheduledInstancesPrivateIpAddressConfig > &&value)
void SetDeleteOnTermination(bool value)
ScheduledInstancesNetworkInterface & WithDeviceIndex(int value)
ScheduledInstancesNetworkInterface & WithSecondaryPrivateIpAddressCount(int value)
ScheduledInstancesNetworkInterface & WithPrivateIpAddressConfigs(Aws::Vector< ScheduledInstancesPrivateIpAddressConfig > &&value)
ScheduledInstancesNetworkInterface & AddGroups(Aws::String &&value)
const Aws::Vector< ScheduledInstancesIpv6Address > & GetIpv6Addresses() const
const Aws::Vector< ScheduledInstancesPrivateIpAddressConfig > & GetPrivateIpAddressConfigs() const
ScheduledInstancesNetworkInterface & WithDescription(const Aws::String &value)
ScheduledInstancesNetworkInterface & WithPrivateIpAddressConfigs(const Aws::Vector< ScheduledInstancesPrivateIpAddressConfig > &value)
void SetPrivateIpAddressConfigs(const Aws::Vector< ScheduledInstancesPrivateIpAddressConfig > &value)
void SetSecondaryPrivateIpAddressCount(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool Ipv6AddressCountHasBeenSet() const
bool Ipv6AddressesHasBeenSet() const
const Aws::String & GetDescription() const
ScheduledInstancesNetworkInterface & AddGroups(const Aws::String &value)
void SetSubnetId(Aws::String &&value)
bool SecondaryPrivateIpAddressCountHasBeenSet() const
AWS_EC2_API ScheduledInstancesNetworkInterface(const Aws::Utils::Xml::XmlNode &xmlNode)
ScheduledInstancesNetworkInterface & WithIpv6AddressCount(int value)
void SetIpv6AddressCount(int value)
int GetDeviceIndex() const
ScheduledInstancesNetworkInterface & WithSubnetId(Aws::String &&value)
const Aws::String & GetSubnetId() const
ScheduledInstancesNetworkInterface & WithGroups(Aws::Vector< Aws::String > &&value)
bool GetAssociatePublicIpAddress() const
bool DeviceIndexHasBeenSet() const
int GetSecondaryPrivateIpAddressCount() const
const Aws::String & GetNetworkInterfaceId() const
void SetDeviceIndex(int value)
ScheduledInstancesNetworkInterface & AddPrivateIpAddressConfigs(const ScheduledInstancesPrivateIpAddressConfig &value)
int GetIpv6AddressCount() const
bool DeleteOnTerminationHasBeenSet() const
void SetGroups(Aws::Vector< Aws::String > &&value)
bool DescriptionHasBeenSet() const
ScheduledInstancesNetworkInterface & WithSubnetId(const Aws::String &value)
ScheduledInstancesNetworkInterface & AddIpv6Addresses(ScheduledInstancesIpv6Address &&value)
ScheduledInstancesNetworkInterface & WithNetworkInterfaceId(const Aws::String &value)
void SetNetworkInterfaceId(const char *value)
bool PrivateIpAddressConfigsHasBeenSet() const
bool GetDeleteOnTermination() const
void SetNetworkInterfaceId(const Aws::String &value)
void SetAssociatePublicIpAddress(bool value)
ScheduledInstancesNetworkInterface & WithPrivateIpAddress(Aws::String &&value)
void SetPrivateIpAddress(const char *value)
void SetPrivateIpAddress(const Aws::String &value)
bool SubnetIdHasBeenSet() const
void SetIpv6Addresses(const Aws::Vector< ScheduledInstancesIpv6Address > &value)
const Aws::String & GetPrivateIpAddress() const
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