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/ec2/model/AssociatedNetworkType.h>
52 inline void SetNetworkId(
const char* value) { m_networkIdHasBeenSet =
true; m_networkId.assign(value); }
72 bool m_networkIdHasBeenSet =
false;
75 bool m_networkTypeHasBeenSet =
false;
AssociatedTargetNetwork & WithNetworkId(const Aws::String &value)
AssociatedTargetNetwork & WithNetworkType(const AssociatedNetworkType &value)
void SetNetworkId(Aws::String &&value)
AWS_EC2_API AssociatedTargetNetwork(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNetworkType(AssociatedNetworkType &&value)
AWS_EC2_API AssociatedTargetNetwork()
void SetNetworkId(const Aws::String &value)
AWS_EC2_API AssociatedTargetNetwork & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AssociatedTargetNetwork & WithNetworkId(Aws::String &&value)
void SetNetworkId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetNetworkId() const
AssociatedTargetNetwork & WithNetworkType(AssociatedNetworkType &&value)
const AssociatedNetworkType & GetNetworkType() const
AssociatedTargetNetwork & WithNetworkId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetNetworkType(const AssociatedNetworkType &value)
bool NetworkTypeHasBeenSet() const
bool NetworkIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream