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>
50 template<
typename NetworkIdT = Aws::String>
51 void SetNetworkId(NetworkIdT&& value) { m_networkIdHasBeenSet =
true; m_networkId = std::forward<NetworkIdT>(value); }
52 template<
typename NetworkIdT = Aws::String>
68 bool m_networkIdHasBeenSet =
false;
71 bool m_networkTypeHasBeenSet =
false;
void SetNetworkId(NetworkIdT &&value)
AWS_EC2_API AssociatedTargetNetwork(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API AssociatedTargetNetwork & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNetworkType(AssociatedNetworkType value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetNetworkId() const
AssociatedNetworkType GetNetworkType() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AssociatedTargetNetwork & WithNetworkType(AssociatedNetworkType value)
AssociatedTargetNetwork & WithNetworkId(NetworkIdT &&value)
AWS_EC2_API AssociatedTargetNetwork()=default
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