void ExpressionStatus::OutputToStream(Aws::OStream& oStream, const char* location) const { if(m_optionsHasBeenSet) { Aws::String optionsLocationAndMember(location); optionsLocationAndMember += ".Options"; m_options.OutputToStream(oStream, optionsLocationAndMember.c_str()); } if(m_statusHasBeenSet) { Aws::String statusLocationAndMember(location); statusLocationAndMember += ".Status"; m_status.OutputToStream(oStream, statusLocationAndMember.c_str()); } }
void VpnConnection::OutputToStream(Aws::OStream& oStream, const char* location) const { if(m_customerGatewayConfigurationHasBeenSet) { oStream << location << ".CustomerGatewayConfiguration=" << StringUtils::URLEncode(m_customerGatewayConfiguration.c_str()) << "&"; } if(m_customerGatewayIdHasBeenSet) { oStream << location << ".CustomerGatewayId=" << StringUtils::URLEncode(m_customerGatewayId.c_str()) << "&"; } if(m_stateHasBeenSet) { oStream << location << ".State=" << VpnStateMapper::GetNameForVpnState(m_state) << "&"; } if(m_typeHasBeenSet) { oStream << location << ".Type=" << GatewayTypeMapper::GetNameForGatewayType(m_type) << "&"; } if(m_vpnConnectionIdHasBeenSet) { oStream << location << ".VpnConnectionId=" << StringUtils::URLEncode(m_vpnConnectionId.c_str()) << "&"; } if(m_vpnGatewayIdHasBeenSet) { oStream << location << ".VpnGatewayId=" << StringUtils::URLEncode(m_vpnGatewayId.c_str()) << "&"; } if(m_optionsHasBeenSet) { Aws::String optionsLocationAndMember(location); optionsLocationAndMember += ".Options"; m_options.OutputToStream(oStream, optionsLocationAndMember.c_str()); } if(m_routesHasBeenSet) { unsigned routesIdx = 1; for(auto& item : m_routes) { Aws::StringStream routesSs; routesSs << location << ".Routes." << routesIdx++; item.OutputToStream(oStream, routesSs.str().c_str()); } } if(m_tagsHasBeenSet) { unsigned tagsIdx = 1; for(auto& item : m_tags) { Aws::StringStream tagsSs; tagsSs << location << ".TagSet." << tagsIdx++; item.OutputToStream(oStream, tagsSs.str().c_str()); } } if(m_vgwTelemetryHasBeenSet) { unsigned vgwTelemetryIdx = 1; for(auto& item : m_vgwTelemetry) { Aws::StringStream vgwTelemetrySs; vgwTelemetrySs << location << ".VgwTelemetry." << vgwTelemetryIdx++; item.OutputToStream(oStream, vgwTelemetrySs.str().c_str()); } } }